diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-09 15:32:33 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-09 15:32:33 -0500 |
commit | 6df11f9b12f7d5b8f52c8f6b52faa8fdac13ddfa (patch) | |
tree | c9503d63a3812acc90c4341ee214ced8ed608811 /examples/themes/metal.h | |
parent | b6053b1b40b51e3d9b1b679a8a1751e5472e06e2 (diff) | |
download | tqt3-6df11f9b12f7d5b8f52c8f6b52faa8fdac13ddfa.tar.gz tqt3-6df11f9b12f7d5b8f52c8f6b52faa8fdac13ddfa.zip |
Automated update from Qt3
Diffstat (limited to 'examples/themes/metal.h')
-rw-r--r-- | examples/themes/metal.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/examples/themes/metal.h b/examples/themes/metal.h index ac6fe84f6..d90cb36db 100644 --- a/examples/themes/metal.h +++ b/examples/themes/metal.h @@ -26,13 +26,15 @@ class MetalStyle : public TQWindowsStyle { public: MetalStyle(); - void polish( TQApplication*); - void unPolish( TQApplication*); - void polish( TQWidget* ); - void unPolish( TQWidget* ); + void applicationPolish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); + void applicationUnPolish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); + void polish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); + void unPolish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * ); void drawPrimitive( PrimitiveElement pe, TQPainter *p, + TQStyleControlElementData ceData, + ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg, SFlags flags = Style_Default, @@ -40,22 +42,26 @@ public: void drawControl( ControlElement element, TQPainter *p, - const TQWidget *widget, + TQStyleControlElementData ceData, + ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg, SFlags how = Style_Default, - const TQStyleOption& = TQStyleOption::Default ) const; + const TQStyleOption& = TQStyleOption::Default, + const TQWidget *widget = 0 ) const; void drawComplexControl( ComplexControl cc, TQPainter *p, - const TQWidget *widget, + TQStyleControlElementData ceData, + ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, - const TQStyleOption& = TQStyleOption::Default ) const; - int pixelMetric( PixelMetric, const TQWidget * ) const; + const TQStyleOption& = TQStyleOption::Default, + const TQWidget *widget = 0 ) const; + int pixelMetric( PixelMetric, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget * = 0 ) const; private: |