summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h
index f7e1bbb9..7ed750a6 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -29,6 +29,7 @@
// Forward Declarations
class WebView;
class TabBar;
+class MainWindow;
class KUrl;
class KAction;
@@ -52,7 +53,7 @@ class MainView : public KTabWidget
Q_OBJECT
public:
- MainView(QWidget *parent = 0);
+ MainView(KMainWindow *parent);
~MainView();
@@ -145,6 +146,9 @@ private:
TabBar *m_tabBar;
QString loadingGitPath;
+
+ // the MainWindow pointer
+ MainWindow *m_parent;
};
#endif