From c7fa09a7b96e239ff6e7349c9d90e7409d7bbcb3 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 10 Nov 2009 14:47:39 +0100 Subject: fixing new mainWindow() behaviour, porting functions calling it --- src/mainview.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/mainview.h') 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 @@ -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 m_recentlyClosedTabs; + + MainWindow *m_parentWindow; }; #endif // MAINVIEW_H -- cgit v1.2.1