From 94186b36d9b3b74b87ed892e573c747a24f63b51 Mon Sep 17 00:00:00 2001 From: Lionel Chauvin Date: Sat, 22 Aug 2009 17:43:17 +0200 Subject: Remove url stack --- src/mainview.h | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index 3e6b9efb..6343bcf1 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -45,8 +45,6 @@ class QUrl; class QWebFrame; class QLabel; - -class StackedUrlBar; class TabBar; class UrlBar; @@ -67,14 +65,12 @@ public: public: - UrlBar *urlBar(int index) const; - UrlBar *currentUrlBar() const; + UrlBar *urlBar() const; WebView *webView(int index) const; QToolButton *addTabButton() const; // inlines TabBar *tabBar() const; - StackedUrlBar *urlBarStack() const; WebView *currentWebView() const; int webViewIndex(WebView *webView) const; @@ -139,15 +135,6 @@ private slots: void windowCloseRequested(); - /** - * This functions move tab info "from index to index" - * - * @param fromIndex the index from which we move - * - * @param toIndex the index to which we move - */ - void moveTab(int fromIndex, int toIndex); - void postLaunch(); protected: @@ -171,12 +158,14 @@ private: */ QLabel *animatedLoading(int index, bool addMovie); - StackedUrlBar *m_urlBars; + UrlBar *m_urlBar; TabBar *m_tabBar; QString m_loadingGitPath; QToolButton *m_addTabButton; + + int m_currentTabIndex; }; #endif // MAINVIEW_H -- cgit v1.2.1