diff options
author | Timothy Pearson <[email protected]> | 2014-08-07 13:09:43 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-08-07 13:09:43 -0500 |
commit | e45396f47ad04cc316f972140ac83c0de409be1b (patch) | |
tree | e8312140e1f25086640fa90d9773fe4f90ad2daf /examples/themes/metal.h | |
parent | 6fb1d18ed13beaee8c8e48a25ff0c4a075d872b5 (diff) | |
download | tqt3-e45396f47ad04cc316f972140ac83c0de409be1b.tar.gz tqt3-e45396f47ad04cc316f972140ac83c0de409be1b.zip |
Automated update from Qt3
Diffstat (limited to 'examples/themes/metal.h')
-rw-r--r-- | examples/themes/metal.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/themes/metal.h b/examples/themes/metal.h index d90cb36db..6ff38d300 100644 --- a/examples/themes/metal.h +++ b/examples/themes/metal.h @@ -26,14 +26,14 @@ class MetalStyle : public TQWindowsStyle { public: MetalStyle(); - 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 applicationPolish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void * ); + void applicationUnPolish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void * ); + void polish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void * ); + void unPolish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void * ); void drawPrimitive( PrimitiveElement pe, TQPainter *p, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg, @@ -42,7 +42,7 @@ public: void drawControl( ControlElement element, TQPainter *p, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg, @@ -52,7 +52,7 @@ public: void drawComplexControl( ComplexControl cc, TQPainter *p, - TQStyleControlElementData ceData, + const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg, @@ -61,7 +61,7 @@ public: SCFlags subActive = SC_None, const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - int pixelMetric( PixelMetric, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget * = 0 ) const; + int pixelMetric( PixelMetric, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQWidget * = 0 ) const; private: |