summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-05 17:16:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-05 17:16:28 +0200
commite1781ecb6ce807cf4afd991d16c55b1d9b5f8e58 (patch)
tree3ae32f47acf5494ff7a77e16ffb78db2a7f99a91 /src/mainview.h
parenttoo much things to handle.. make rekonq compile just with Qt >= 4.5.0git st (diff)
downloadrekonq-e1781ecb6ce807cf4afd991d16c55b1d9b5f8e58.tar.xz
Compiles just with 4.5..
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