summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-02-02 18:42:19 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:31:12 +0100
commit79ce24b2d2d50c5dd594c25200122d07bb0e232c (patch)
tree52a8872e26e1dd6c083cb4e12944b720b7555efe /src/mainwindow.h
parentQPointers --> QWeakPointers (diff)
downloadrekonq-79ce24b2d2d50c5dd594c25200122d07bb0e232c.tar.xz
Replace zoom setting submenu by a widget with a slider
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 7083591d..35632c64 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -41,6 +41,7 @@
// Forward Declarations
class QWebFrame;
+class QSlider;
class KAction;
class KPassivePopup;
@@ -72,7 +73,9 @@ public:
virtual QSize sizeHint() const;
virtual KActionCollection *actionCollection () const;
void setWidgetsVisible(bool makeFullScreen);
-
+
+ void setZoomSliderFactor(qreal factor);
+
private:
void setupActions();
void setupTools();
@@ -125,9 +128,10 @@ private slots:
void findPrevious();
// Zoom slots
- void viewTextBigger();
- void viewTextNormal();
- void viewTextSmaller();
+ void zoomIn();
+ void zoomNormal();
+ void zoomOut();
+ void setZoomFactor(int factor);
// File Menu slots
void openLocation();
@@ -163,6 +167,8 @@ private:
KToolBar *m_mainBar;
KToolBar *m_bmBar;
+ QSlider *m_zoomSlider;
+
QString m_lastSearch;
KPassivePopup *m_popup;