summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-05-30 16:50:36 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-05-30 16:53:42 +0200
commit8765137a9ec0547b9edf3cb3b9ebae88a7043c2e (patch)
treeab87713795436cca9a903ca1f21d36bc192ba333 /src/webview.h
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
downloadrekonq-8765137a9ec0547b9edf3cb3b9ebae88a7043c2e.tar.xz
- Sync mouse wheel zoom and the slider
- Fix mouse wheel zoom limits (slider's max and min)
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webview.h b/src/webview.h
index bac12e99..a4ba676c 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -56,6 +56,7 @@ protected:
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void keyPressEvent(QKeyEvent *event);
+ void wheelEvent(QWheelEvent *event);
private slots:
void search();
@@ -73,6 +74,7 @@ private slots:
signals:
void loadUrl(const KUrl &, const Rekonq::OpenType &);
+ void zoomChanged(qreal);
private:
QPoint _mousePos;