diff options
Diffstat (limited to 'src/sidebarpage.h')
| -rw-r--r-- | src/sidebarpage.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sidebarpage.h b/src/sidebarpage.h index 50a7b598f..e97b0c9cf 100644 --- a/src/sidebarpage.h +++ b/src/sidebarpage.h @@ -23,6 +23,7 @@ #include <qwidget.h> +class DolphinMainWindow; class Sidebar; /** @@ -35,7 +36,7 @@ class SidebarPage : public QWidget Q_OBJECT public: - SidebarPage(QWidget* parent); + SidebarPage(DolphinMainWindow* mainwindow, QWidget* parent); virtual ~SidebarPage(); protected slots: @@ -44,6 +45,12 @@ protected slots: * The active view can be retrieved by Dolphin::mainWin().activeView(); */ virtual void activeViewChanged(); + +protected: + DolphinMainWindow* mainWindow() const; + +private: + DolphinMainWindow *m_mainWindow; }; #endif // _SIDEBARPAGE_H_ |
