summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2011-04-11 20:03:58 +0200
committerFelix Rohrbach <fxrh@gmx.de>2011-04-11 20:03:58 +0200
commitb5345a5be80a29616d3433ccbda034de80a47734 (patch)
treef4c12bcc21546311dc38887cb77124357474a3f0 /src/webview.h
parentMake rekonq desktop aware (diff)
downloadrekonq-b5345a5be80a29616d3433ccbda034de80a47734.tar.xz
firefox-like autoscroll look
Add an icon to indicate the origin of an autoscroll action. Patch by Johannes Tröscher, thanks! REVIEW: 101068
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webview.h b/src/webview.h
index 1fec1ae4..b3db5ce0 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -61,12 +61,12 @@ protected:
void contextMenuEvent(QContextMenuEvent *event);
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
- void enterEvent(QEvent *event);
void keyPressEvent(QKeyEvent *event);
void wheelEvent(QWheelEvent *event);
void dropEvent(QDropEvent *event);
void dragEnterEvent(QDragEnterEvent *event);
void dragMoveEvent(QDragMoveEvent * event);
+ void paintEvent(QPaintEvent *event);
private Q_SLOTS:
void search();
@@ -105,6 +105,7 @@ private:
int m_hScrollSpeed;
bool m_canEnableAutoScroll;
bool m_isAutoScrollEnabled;
+ QPixmap m_autoScrollIndicator;
// Smooth Scroll
QTimer *const m_smoothScrollTimer;