diff options
Diffstat (limited to 'src/tabhighlighteffect.h')
-rw-r--r-- | src/tabhighlighteffect.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/tabhighlighteffect.h b/src/tabhighlighteffect.h index 26292a9e..269a3315 100644 --- a/src/tabhighlighteffect.h +++ b/src/tabhighlighteffect.h @@ -22,9 +22,12 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * * ============================================================ */ + + #ifndef TABHIGHLIGHTEFFECT_H #define TABHIGHLIGHTEFFECT_H + // Qt Includes #include <QGraphicsEffect> #include <QPainter> @@ -33,6 +36,7 @@ // Forward Declarations class TabBar; + class TabHighlightEffect : public QGraphicsEffect { Q_OBJECT @@ -43,9 +47,10 @@ public: protected: virtual void draw(QPainter *painter); virtual bool event(QEvent *event); + private: - QColor m_highlightColor; TabBar * const m_tabBar; + QColor m_highlightColor; }; -#endif // TABHIGHLIGHTEFFECT_H
\ No newline at end of file +#endif // TABHIGHLIGHTEFFECT_H |