diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-07 01:31:43 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-07 01:31:43 -0500 |
commit | 58451e41d9ecfb405f5dd2718444ac78e8d51c8b (patch) | |
tree | 1b52d26a8b3ffe81516df83896285ebfa843d849 /src/styles/qsgistyle.h | |
parent | 0008bc5bcd95694b38b0d0322aac2ea6fdb21298 (diff) | |
download | qt3-58451e41d9ecfb405f5dd2718444ac78e8d51c8b.tar.gz qt3-58451e41d9ecfb405f5dd2718444ac78e8d51c8b.zip |
Extend TQStyle API further and bump Qt version number
Diffstat (limited to 'src/styles/qsgistyle.h')
-rw-r--r-- | src/styles/qsgistyle.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/styles/qsgistyle.h b/src/styles/qsgistyle.h index 849d67c..0afacd6 100644 --- a/src/styles/qsgistyle.h +++ b/src/styles/qsgistyle.h @@ -67,10 +67,10 @@ public: #if !defined(Q_NO_USING_KEYWORD) using QMotifStyle::polish; #endif - void polish( QWidget* ); - void unPolish( QWidget* ); - void polish( QApplication* ); - void unPolish( QApplication* ); + void polish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); + void unPolish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); + void applicationPolish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); + void applicationUnPolish( QStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); void drawPrimitive( PrimitiveElement pe, QPainter *p, @@ -124,8 +124,7 @@ public: const QStyleOption& = QStyleOption::Default, const QWidget *widget = 0 ) const; -protected: - bool eventFilter( QObject*, QEvent*); + bool objectEventHandler( QStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, QEvent *e ); private: QSGIStylePrivate *d; |