summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtabbar.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-10-16 15:39:47 -0500
committerTimothy Pearson <[email protected]>2012-10-16 15:39:47 -0500
commitf209ff4b488f2ea3fa39bbed57dbbb8fe0162a3b (patch)
treeb046beab59eda48afdbdb4ee3e9ae60881114b87 /src/widgets/qtabbar.h
parent4f8eb0410d666d41ccbc39b2bf5dea336af5c26c (diff)
downloadqt3-f209ff4b488f2ea3fa39bbed57dbbb8fe0162a3b.tar.gz
qt3-f209ff4b488f2ea3fa39bbed57dbbb8fe0162a3b.zip
Move hover widget code into the Qt core instead of the styles
This more closely matches other widget toolkits such as GTK
Diffstat (limited to 'src/widgets/qtabbar.h')
-rw-r--r--src/widgets/qtabbar.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/widgets/qtabbar.h b/src/widgets/qtabbar.h
index 063f34a..b87d13b 100644
--- a/src/widgets/qtabbar.h
+++ b/src/widgets/qtabbar.h
@@ -178,6 +178,16 @@ private: // Disabled copy constructor and operator=
QTabBar( const QTabBar & );
QTabBar& operator=( const QTabBar & );
#endif
+
+protected:
+ void enterEvent ( QEvent * );
+ void leaveEvent ( QEvent * );
+
+private:
+ QTab *hoverTab;
+
+public:
+ QTab *mouseHoverTab() const;
};