diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-15 23:55:38 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-15 23:55:38 +0200 |
commit | 5abfd807fcadc72235872ee874bef85246001a88 (patch) | |
tree | 0b82a45523c3b4d7aa11c0846d271cf186ec4115 /src/webview.h | |
parent | moc fixes (diff) | |
download | rekonq-5abfd807fcadc72235872ee874bef85246001a88.tar.xz |
Mouse move autoscroll implementation
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webview.h b/src/webview.h index 0fe83ae4..c6ca2688 100644 --- a/src/webview.h +++ b/src/webview.h @@ -52,7 +52,7 @@ public: protected: void contextMenuEvent(QContextMenuEvent *event); - void mousePressEvent(QMouseEvent *event); // need to be ported + void mousePressEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); void keyPressEvent(QKeyEvent *event); @@ -75,11 +75,13 @@ signals: private: QPoint _mousePos; + QPoint _clickPos; QTimer *_scrollTimer; int _VScrollSpeed; int _HScrollSpeed; - bool _disableAutoScroll; + bool _canEnableAutoScroll; + bool _isAutoScrollEnabled; }; #endif |