diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-07-02 16:34:34 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-08-08 21:08:45 +0200 |
commit | 79eed28893b39a1db2b170e414382822bc5bda9a (patch) | |
tree | 2449861ac650185938184673b0235b86bd1dce12 /src/webview.h | |
parent | Implement KHTML smooth scrolling for rekonq (diff) | |
download | rekonq-79eed28893b39a1db2b170e414382822bc5bda9a.tar.xz |
Code cleanup
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/webview.h b/src/webview.h index cc5508cb..b17940c7 100644 --- a/src/webview.h +++ b/src/webview.h @@ -32,7 +32,8 @@ // Rekonq Includes #include "rekonq_defines.h" -#include <QTimeLine> +//Qt Includes +#include <QTime> // KDE Includes #include <KWebView> @@ -87,21 +88,20 @@ private: QPoint _mousePos; QPoint _clickPos; - QTimer *_scrollTimer; + // Auto Scroll + QTimer *_autoScrollTimer; int _VScrollSpeed; int _HScrollSpeed; bool _canEnableAutoScroll; bool _isAutoScrollEnabled; - QTimeLine *smoothScroller; - QTimer *timer; - int nbSteps; - int nbTicks; - bool bas; - QTime *time; - bool smoothScrolling; - int dy; - int steps; + // Smooth Scroll + QTimer *_smoothScrollTimer; + QTime _smoothScrollTime; + bool _scrollBottom; + bool _smoothScrolling; + int _dy; + int _smoothScrollSteps; }; #endif |