summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-22 21:23:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-22 21:23:22 +0200
commit4a732b97f634399e5c4859684a25d06d4a830071 (patch)
tree2c89168052dd7235db040b5acd1b16e5ad998b70 /src/mainview.h
parentMerge commit 'pano/string-fixes' (diff)
parentSome stupid fixes on style, spaces and some comments added (diff)
downloadrekonq-4a732b97f634399e5c4859684a25d06d4a830071.tar.xz
Merge branch 'OneUrlBar2'
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 3e6b9efb..82655475 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,11 @@ 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 +134,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 +157,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