summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 1f6c6931..ffc91086 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -70,11 +70,12 @@ public:
MainWindow();
~MainWindow();
- MainView *mainView() const;
+ inline MainView *mainView() const { return m_view; }
+ inline KActionCollection *actionCollection() const { return m_ac; }
+ inline QAction *actionByName(const QString &name) { return actionCollection()->action(name); }
+
WebTab *currentTab() const;
- QAction *actionByName(const QString &name);
virtual QSize sizeHint() const;
- virtual KActionCollection *actionCollection() const;
void setWidgetsVisible(bool makeFullScreen);
void setZoomSliderFactor(qreal factor);