diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-11-08 23:54:37 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-11-14 05:52:20 +0100 |
commit | e1bd91da7a5c4980a4d6a1e29e51a828644508e8 (patch) | |
tree | e5a66fd7c277a16d9c59ec2e08fc5b482eabd35f /src/mainview.h | |
parent | Remove postLaunch calls (diff) | |
download | rekonq-e1bd91da7a5c4980a4d6a1e29e51a828644508e8.tar.xz |
Remove mainWindow pointer from mainview class.
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainview.h b/src/mainview.h index 133ede09..632ddbca 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -42,7 +42,6 @@ // Forward Declarations class HistoryItem; -class MainWindow; class StackedUrlBar; class TabBar; class UrlBar; @@ -65,7 +64,7 @@ class REKONQ_TESTS_EXPORT MainView : public KTabWidget Q_OBJECT public: - MainView(MainWindow *parent); + MainView(QWidget *parent); inline StackedUrlBar *widgetBar() const { @@ -79,7 +78,7 @@ public: WebTab *webTab(int index) const; - void addNewTabButton(); + void addNewTabButton(QAction *); /** * show and hide TabBar if user doesn't choose @@ -196,8 +195,6 @@ private: int m_currentTabIndex; QList<TabHistory> m_recentlyClosedTabs; - - MainWindow *m_parentWindow; }; #endif // MAINVIEW_H |