diff options
Diffstat (limited to 'sip/qt/qmotifstyle.sip')
-rw-r--r-- | sip/qt/qmotifstyle.sip | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/sip/qt/qmotifstyle.sip b/sip/qt/qmotifstyle.sip index 0e0b979..0613e66 100644 --- a/sip/qt/qmotifstyle.sip +++ b/sip/qt/qmotifstyle.sip @@ -68,9 +68,11 @@ public: void setUseHighlightColors(bool); bool useHighlightColors() const; - void polish(TQPalette &); - void polish(TQWidget *); - void polish(TQApplication *); + void polish( TQPalette& ); + void polish( TQStyleControlElementData, ControlElementFlags, void * ); + void applicationPolish( TQStyleControlElementData, ControlElementFlags, void * ); + + void polishPopupMenu( TQStyleControlElementData, ControlElementFlags, void * ); %If (- TQt_3_0_0) void drawButton(TQPainter *,int,int,int,int,const TQColorGroup &,bool = 0, @@ -123,39 +125,37 @@ public: const TQPalette &,bool,bool,int,int,int,int); %End %If (TQt_3_0_0 -) - void polishPopupMenu(TQPopupMenu *); - - 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; - TQSize sizeFromContents(ContentsType,const TQWidget *,const TQSize &, - const TQStyleOption & = TQStyleOption()) const; + TQSize sizeFromContents(ContentsType,TQStyleControlElementData,ControlElementFlags,const TQSize &, + const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - TQRect subRect(SubRect,const TQWidget *) const; + TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; - TQPixmap stylePixmap(StylePixmap,const TQWidget * = 0, - const TQStyleOption & = TQStyleOption()) const; + TQPixmap stylePixmap(StylePixmap,TQStyleControlElementData,ControlElementFlags, + const TQStyleOption & = TQStyleOption(), 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 private: |