summaryrefslogtreecommitdiff
path: root/src/tabbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-29 11:26:42 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-10-29 11:26:42 +0100
commit228bd405a579f1653462809dae12cb48f2df941c (patch)
tree1a62c2c4bd57acdf35a233deed20e88141656345 /src/tabbar.h
parentimported userAgentFromUrl method from KWebKit (diff)
downloadrekonq-228bd405a579f1653462809dae12cb48f2df941c.tar.xz
Fixing hide/show tab bar and flickering new tabs.
That happened because of the code moving from mainview to tabbar (my fault) (tabbar cannot draw and be drawn..)
Diffstat (limited to 'src/tabbar.h')
-rw-r--r--src/tabbar.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tabbar.h b/src/tabbar.h
index f68528b8..1601b3b6 100644
--- a/src/tabbar.h
+++ b/src/tabbar.h
@@ -42,7 +42,6 @@
// Forward Declarations
class QPoint;
-class QToolButton;
class QMouseEvent;
class QEvent;
@@ -63,7 +62,6 @@ public:
~TabBar();
void showTabPreview(int tab);
- void updateNewTabButton();
signals:
void cloneTab(int index);
@@ -77,6 +75,7 @@ protected:
* Added to fix tab dimension
*/
virtual QSize tabSizeHint(int index) const;
+
virtual void mouseMoveEvent(QMouseEvent *event);
virtual void leaveEvent(QEvent *event);
virtual void mousePressEvent(QMouseEvent *event);
@@ -87,14 +86,13 @@ private slots:
void closeOtherTabs();
void reloadTab();
- void postLaunch();
-
void slotContextMenuRequested(int, const QPoint &);
void slotEmptyAreaContextMenu(const QPoint &);
private:
+ friend class MainView;
+
MainView *m_parent;
- QToolButton *m_addTabButton;
/**
* the index in which we are seeing a Context menu