diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-27 13:54:14 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-27 13:54:14 +0200 |
commit | c039fcb3c2be73bf6c95012b3e5f5f53ef1b42e3 (patch) | |
tree | 18f3e854e494f9cbccc9a2c83afdf2f30996319d /src/tabbar.h | |
parent | Removed setHistoryMenu function (diff) | |
download | rekonq-c039fcb3c2be73bf6c95012b3e5f5f53ef1b42e3.tar.xz |
New tab button code improvements.
Patch from Johannes Zellner (thanks)
Diffstat (limited to 'src/tabbar.h')
-rw-r--r-- | src/tabbar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tabbar.h b/src/tabbar.h index 854469b4..a86ba4d6 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -35,6 +35,7 @@ // Forward Declarations class QPoint; +class QToolButton; /** * Tab bar with a few more features such as @@ -63,6 +64,7 @@ protected: * Added to fix tab dimension */ virtual QSize tabSizeHint(int index) const; + virtual void tabLayoutChange(); private slots: void cloneTab(); @@ -70,11 +72,15 @@ private slots: void closeOtherTabs(); void reloadTab(); void contextMenuRequested(const QPoint &position); + void postLaunch(); private: friend class MainView; + void setTabButtonPosition(); + QWidget *m_parent; + QToolButton *m_addTabButton; /** * the index in which we are seeing a Context menu |