From 2b94e9bc9d71624bea89150ee5867ad7fbc8b5e9 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 20 Jan 2012 21:47:02 +0100 Subject: clean up WebView variables names Smooth, auto, normal scrolling... Too much things to manage without a clear policy. --- src/webview.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/webview.h') diff --git a/src/webview.h b/src/webview.h index 08e5e522..ef44681b 100644 --- a/src/webview.h +++ b/src/webview.h @@ -100,7 +100,7 @@ private Q_SLOTS: void setupSmoothScrolling(int posY); - void stopScrolling(); + void stopSmoothScrolling(); void changeWindowIcon(); void accessKeyShortcut(); @@ -124,8 +124,8 @@ private: // Auto Scroll QTimer *const m_autoScrollTimer; - int m_vScrollSpeed; - int m_hScrollSpeed; + int m_verticalAutoScrollSpeed; + int m_horizontalAutoScrollSpeed; bool m_canEnableAutoScroll; bool m_isViewAutoScrolling; QPixmap m_autoScrollIndicator; @@ -133,10 +133,10 @@ private: // Smooth Scroll QTimer *const m_smoothScrollTimer; QTime m_smoothScrollTime; - bool m_scrollBottom; - bool m_smoothScrolling; + bool m_smoothScrollBottomReached; int m_dy; int m_smoothScrollSteps; + bool m_isViewSmoothScrolling; // Access Keys QList m_accessKeyLabels; -- cgit v1.2.1