summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-21 12:12:36 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-21 12:12:36 +0100
commit5a8bb470bc30bf6a360661a87af783fd30588f5f (patch)
treeceb8b0a5ed056c77ecc2ea00d7778cb2b19aa50c /src/mainview.h
parentFixed tabs dimension && reduced tabbar font (diff)
downloadrekonq-5a8bb470bc30bf6a360661a87af783fd30588f5f.tar.xz
Always Show Tab Bar. Or not...
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 05a9bb16..94b93c37 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -22,11 +22,9 @@
#ifndef TABWIDGET_H
#define TABWIDGET_H
-
// KDE Includes
#include <KTabWidget>
-
// Forward Declarations
class WebView;
class TabBar;
@@ -41,12 +39,15 @@ class QStackedWidget;
class QLineEdit;
class QUrl;
+
/**
* TabWidget that contains WebViews and a stack widget of associated line edits.
*
* Connects up the current tab's signals to this class's signal and uses WebActionMapper
* to proxy the actions.
+ *
*/
+
class MainView : public KTabWidget
{
Q_OBJECT
@@ -126,6 +127,14 @@ private slots:
void moveTab(int fromIndex, int toIndex);
private:
+
+ /**
+ * show and hide TabBar if user doesn't choose
+ * "Always Show TabBar" option
+ *
+ */
+ void viewTabBar();
+
KAction *m_recentlyClosedTabsAction;
KMenu *m_recentlyClosedTabsMenu;
@@ -137,5 +146,5 @@ private:
TabBar *m_tabBar;
};
-#endif // TABWIDGET_H
+#endif