summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorLionel Chauvin <megabigbug@yahoo.fr>2009-08-22 17:43:17 +0200
committerLionel Chauvin <megabigbug@yahoo.fr>2009-08-22 17:43:17 +0200
commit94186b36d9b3b74b87ed892e573c747a24f63b51 (patch)
tree3e9d2de8e2e72abffacbb88dd6b6c2a9cac46b86 /src/mainview.h
parentRekonq 0.2.0 (diff)
downloadrekonq-94186b36d9b3b74b87ed892e573c747a24f63b51.tar.xz
Remove url stack
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h19
1 files changed, 4 insertions, 15 deletions
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