summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-10 14:47:39 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-10 14:47:39 +0100
commitc7fa09a7b96e239ff6e7349c9d90e7409d7bbcb3 (patch)
tree9715e1f86daba6e14ec74625ae10cd85c23b2359 /src/mainview.h
parentSafer Application::mainWindow() call. No 0 return.. (diff)
downloadrekonq-c7fa09a7b96e239ff6e7349c9d90e7409d7bbcb3.tar.xz
fixing new mainWindow() behaviour, porting functions calling it
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mainview.h b/src/mainview.h
index dc0393fa..3ddd9e24 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -36,6 +36,7 @@
#include "webpage.h"
#include "application.h"
#include "history.h"
+#include "mainwindow.h"
// KDE Includes
#include <KTabWidget>
@@ -54,8 +55,8 @@ class UrlBar;
/**
- * This class represent rekonq Main View. It contains all WebViews and a stack widget
- * of associated line edits.
+ * This class represent rekonq Main View.
+ * It contains all WebViews and the url bar.
*
*/
@@ -64,7 +65,7 @@ class REKONQ_TESTS_EXPORT MainView : public KTabWidget
Q_OBJECT
public:
- MainView(QWidget *parent = 0);
+ MainView(MainWindow *parent);
~MainView();
public:
@@ -174,6 +175,8 @@ private:
int m_currentTabIndex;
QList<HistoryItem> m_recentlyClosedTabs;
+
+ MainWindow *m_parentWindow;
};
#endif // MAINVIEW_H