diff options
author | Timothy Pearson <[email protected]> | 2012-08-10 00:39:07 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-08-10 00:39:07 -0500 |
commit | 4b78cab44f7a8a1c8e74ddf6ae386e3629731177 (patch) | |
tree | 6f2e4142841d819869f213c081841f1a0bb27d51 /sip/qt/qplatinumstyle.sip | |
parent | e2c83be461efca28a3a78031aadc0aa4b1c1ce62 (diff) | |
download | pytqt-4b78cab44f7a8a1c8e74ddf6ae386e3629731177.tar.gz pytqt-4b78cab44f7a8a1c8e74ddf6ae386e3629731177.zip |
Update to the new style API
Diffstat (limited to 'sip/qt/qplatinumstyle.sip')
-rw-r--r-- | sip/qt/qplatinumstyle.sip | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sip/qt/qplatinumstyle.sip b/sip/qt/qplatinumstyle.sip index 8a1a239..6731506 100644 --- a/sip/qt/qplatinumstyle.sip +++ b/sip/qt/qplatinumstyle.sip @@ -94,27 +94,27 @@ public: const TQPalette &,bool,bool,int,int,int,int); %End %If (TQt_3_0_0 -) - void drawPrimitive(PrimitiveElement,TQPainter *,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,TQStyleControlElementData,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; - void drawControl(ControlElement,TQPainter *,const TQWidget *, + void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, - const TQStyleOption & = TQStyleOption()) const; + const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - void drawComplexControl(ComplexControl,TQPainter *,const TQWidget *, + void drawComplexControl(ComplexControl,TQPainter *,TQStyleControlElementData,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default,SCFlags = SC_All, SCFlags = SC_None, - const TQStyleOption & = TQStyleOption()) const; + const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - TQRect querySubControlMetrics(ComplexControl,const TQWidget *,SubControl, - const TQStyleOption & = TQStyleOption()) const; + TQRect querySubControlMetrics(ComplexControl,TQStyleControlElementData,ControlElementFlags,SubControl, + const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - int pixelMetric(PixelMetric,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; - TQRect subRect(SubRect,const TQWidget *) const; + TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; %End protected: |