diff options
Diffstat (limited to 'sip/qt/qmotifplusstyle.sip')
-rw-r--r-- | sip/qt/qmotifplusstyle.sip | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/sip/qt/qmotifplusstyle.sip b/sip/qt/qmotifplusstyle.sip index 1f6f8fd..39877dd 100644 --- a/sip/qt/qmotifplusstyle.sip +++ b/sip/qt/qmotifplusstyle.sip @@ -67,15 +67,14 @@ public: TQMotifPlusStyle(bool = 1); %End - void polish(TQPalette &); - void polish(TQWidget *); - void unPolish(TQWidget *); - - void polish(TQApplication *); - void unPolish(TQApplication *); + void polish(TQPalette &pal); + void polish(TQStyleControlElementData, ControlElementFlags, void *); + void unPolish(TQStyleControlElementData, ControlElementFlags, void *); + + void applicationPolish(TQStyleControlElementData, ControlElementFlags, void *); + void applicationUnPolish(TQStyleControlElementData, ControlElementFlags, void *); %If (- TQt_3_0_0) - void polishPopupMenu(TQPopupMenu *); int defaultFrameWidth() const; void drawArrow(TQPainter *,ArrowType,bool,int,int,int,int, const TQColorGroup &,bool,const TQBrush * = 0); @@ -114,32 +113,32 @@ public: TQCOORD,Orientation); %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; - TQRect subRect(SubRect,const TQWidget *) const; + TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) 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 *, + TQRect querySubControlMetrics(ComplexControl,TQStyleControlElementData,ControlElementFlags, SubControl, - const TQStyleOption & = TQStyleOption()) const; + const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - int pixelMetric(PixelMetric,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; - int styleHint(StyleHint,const TQWidget *, + int styleHint(StyleHint,TQStyleControlElementData,ControlElementFlags, const TQStyleOption & = TQStyleOption(), - TQStyleHintReturn * = 0) const; + TQStyleHintReturn * = 0, const TQWidget * = 0) const; %End protected: |