diff options
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/mainview.h b/src/mainview.h index 9d5bc8c9..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,6 +78,8 @@ public: WebTab *webTab(int index) const; + void addNewTabButton(QAction *); + /** * show and hide TabBar if user doesn't choose * "Always Show TabBar" option @@ -105,11 +106,6 @@ public: return m_recentlyClosedTabs; } - inline int originalWidthHint() const - { - return m_originalWidthHint; - }; - Q_SIGNALS: // current tab signals void currentTitle(const QString &url); @@ -167,8 +163,6 @@ private Q_SLOTS: void windowCloseRequested(); - void postLaunch(); - protected: virtual void resizeEvent(QResizeEvent *event); @@ -201,8 +195,6 @@ private: int m_currentTabIndex; QList<TabHistory> m_recentlyClosedTabs; - - MainWindow *m_parentWindow; }; #endif // MAINVIEW_H |