diff options
Diffstat (limited to 'sip')
-rw-r--r-- | sip/qt/qcdestyle.sip | 6 | ||||
-rw-r--r-- | sip/qt/qcommonstyle.sip | 24 | ||||
-rw-r--r-- | sip/qt/qmotifplusstyle.sip | 22 | ||||
-rw-r--r-- | sip/qt/qmotifstyle.sip | 24 | ||||
-rw-r--r-- | sip/qt/qplatinumstyle.sip | 12 | ||||
-rw-r--r-- | sip/qt/qsgistyle.sip | 22 | ||||
-rw-r--r-- | sip/qt/qstyle.sip | 50 | ||||
-rw-r--r-- | sip/qt/qwindowsstyle.sip | 26 |
8 files changed, 93 insertions, 93 deletions
diff --git a/sip/qt/qcdestyle.sip b/sip/qt/qcdestyle.sip index 2a6fcf4..27b714e 100644 --- a/sip/qt/qcdestyle.sip +++ b/sip/qt/qcdestyle.sip @@ -51,14 +51,14 @@ public: const TQColorGroup &,bool,bool = 0,bool = 1); %End %If (TQt_3_0_0 -) - int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,const TQStyleControlElementData&,ControlElementFlags,const TQWidget * = 0) const; - void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControl(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - void drawPrimitive(PrimitiveElement,TQPainter *,TQStyleControlElementData,ControlElementFlags,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; %End diff --git a/sip/qt/qcommonstyle.sip b/sip/qt/qcommonstyle.sip index 3fd18ab..abca370 100644 --- a/sip/qt/qcommonstyle.sip +++ b/sip/qt/qcommonstyle.sip @@ -79,47 +79,47 @@ public: %If (TQt_3_0_0 -) TQCommonStyle(); - void drawPrimitive(PrimitiveElement,TQPainter *,TQStyleControlElementData,ControlElementFlags,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption& = TQStyleOption()) const; - void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControl(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - void drawControlMask(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControlMask(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; + TQRect subRect(SubRect,const const TQStyleControlElementData&, const ControlElementFlags,const TQWidget *) const; - void drawComplexControl(ComplexControl,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawComplexControl(ComplexControl,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default,SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - void drawComplexControlMask(ComplexControl,TQPainter *,const TQStyleControlElementData,const ControlElementFlags, + void drawComplexControlMask(ComplexControl,TQPainter *,const const TQStyleControlElementData&,const ControlElementFlags, const TQRect &, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - TQRect querySubControlMetrics(ComplexControl,TQStyleControlElementData,ControlElementFlags,SubControl, + TQRect querySubControlMetrics(ComplexControl,const TQStyleControlElementData&,ControlElementFlags,SubControl, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - SubControl querySubControl(ComplexControl,TQStyleControlElementData,ControlElementFlags, + SubControl querySubControl(ComplexControl,const TQStyleControlElementData&,ControlElementFlags, const TQPoint &, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,const TQStyleControlElementData&,ControlElementFlags,const TQWidget * = 0) const; - TQSize sizeFromContents(ContentsType,TQStyleControlElementData,ControlElementFlags,const TQSize &, + TQSize sizeFromContents(ContentsType,const TQStyleControlElementData&,ControlElementFlags,const TQSize &, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - int styleHint(StyleHint,TQStyleControlElementData,ControlElementFlags,const TQStyleOption &, + int styleHint(StyleHint,const TQStyleControlElementData&,ControlElementFlags,const TQStyleOption &, TQStyleHintReturn *,const TQWidget *=0) const; - TQPixmap stylePixmap(StylePixmap,TQStyleControlElementData,ControlElementFlags, + TQPixmap stylePixmap(StylePixmap,const TQStyleControlElementData&,ControlElementFlags, const TQStyleOption & = TQStyleOption(), const TQWidget * = 0) const; %End diff --git a/sip/qt/qmotifplusstyle.sip b/sip/qt/qmotifplusstyle.sip index 39877dd..4ff865c 100644 --- a/sip/qt/qmotifplusstyle.sip +++ b/sip/qt/qmotifplusstyle.sip @@ -68,11 +68,11 @@ public: %End void polish(TQPalette &pal); - void polish(TQStyleControlElementData, ControlElementFlags, void *); - void unPolish(TQStyleControlElementData, ControlElementFlags, void *); + void polish(const TQStyleControlElementData&, ControlElementFlags, void *); + void unPolish(const TQStyleControlElementData&, ControlElementFlags, void *); - void applicationPolish(TQStyleControlElementData, ControlElementFlags, void *); - void applicationUnPolish(TQStyleControlElementData, ControlElementFlags, void *); + void applicationPolish(const TQStyleControlElementData&, ControlElementFlags, void *); + void applicationUnPolish(const TQStyleControlElementData&, ControlElementFlags, void *); %If (- TQt_3_0_0) int defaultFrameWidth() const; @@ -113,30 +113,30 @@ public: TQCOORD,Orientation); %End %If (TQt_3_0_0 -) - void drawPrimitive(PrimitiveElement,TQPainter *,TQStyleControlElementData,ControlElementFlags,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; - void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControl(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; + TQRect subRect(SubRect,const const TQStyleControlElementData&, const ControlElementFlags,const TQWidget *) const; - void drawComplexControl(ComplexControl,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawComplexControl(ComplexControl,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default,SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - TQRect querySubControlMetrics(ComplexControl,TQStyleControlElementData,ControlElementFlags, + TQRect querySubControlMetrics(ComplexControl,const TQStyleControlElementData&,ControlElementFlags, SubControl, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,const TQStyleControlElementData&,ControlElementFlags,const TQWidget * = 0) const; - int styleHint(StyleHint,TQStyleControlElementData,ControlElementFlags, + int styleHint(StyleHint,const TQStyleControlElementData&,ControlElementFlags, const TQStyleOption & = TQStyleOption(), TQStyleHintReturn * = 0, const TQWidget * = 0) const; %End diff --git a/sip/qt/qmotifstyle.sip b/sip/qt/qmotifstyle.sip index 0613e66..bf04781 100644 --- a/sip/qt/qmotifstyle.sip +++ b/sip/qt/qmotifstyle.sip @@ -69,10 +69,10 @@ public: bool useHighlightColors() const; void polish( TQPalette& ); - void polish( TQStyleControlElementData, ControlElementFlags, void * ); - void applicationPolish( TQStyleControlElementData, ControlElementFlags, void * ); + void polish( const TQStyleControlElementData&, ControlElementFlags, void * ); + void applicationPolish( const TQStyleControlElementData&, ControlElementFlags, void * ); - void polishPopupMenu( TQStyleControlElementData, ControlElementFlags, void * ); + void polishPopupMenu( const TQStyleControlElementData&, ControlElementFlags, void * ); %If (- TQt_3_0_0) void drawButton(TQPainter *,int,int,int,int,const TQColorGroup &,bool = 0, @@ -125,35 +125,35 @@ public: const TQPalette &,bool,bool,int,int,int,int); %End %If (TQt_3_0_0 -) - void drawPrimitive(PrimitiveElement,TQPainter *,TQStyleControlElementData,ControlElementFlags,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; - void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControl(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - void drawComplexControl(ComplexControl,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawComplexControl(ComplexControl,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default,SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - TQRect querySubControlMetrics(ComplexControl,TQStyleControlElementData,ControlElementFlags,SubControl, + TQRect querySubControlMetrics(ComplexControl,const TQStyleControlElementData&,ControlElementFlags,SubControl, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,const TQStyleControlElementData&,ControlElementFlags,const TQWidget * = 0) const; - TQSize sizeFromContents(ContentsType,TQStyleControlElementData,ControlElementFlags,const TQSize &, + TQSize sizeFromContents(ContentsType,const TQStyleControlElementData&,ControlElementFlags,const TQSize &, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; + TQRect subRect(SubRect,const const TQStyleControlElementData&, const ControlElementFlags,const TQWidget *) const; - TQPixmap stylePixmap(StylePixmap,TQStyleControlElementData,ControlElementFlags, + TQPixmap stylePixmap(StylePixmap,const TQStyleControlElementData&,ControlElementFlags, const TQStyleOption & = TQStyleOption(), const TQWidget * = 0) const; - int styleHint(StyleHint,TQStyleControlElementData,ControlElementFlags, + int styleHint(StyleHint,const TQStyleControlElementData&,ControlElementFlags, const TQStyleOption & = TQStyleOption(), TQStyleHintReturn * = 0, const TQWidget * = 0) const; %End diff --git a/sip/qt/qplatinumstyle.sip b/sip/qt/qplatinumstyle.sip index 6731506..a105f47 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 *,TQStyleControlElementData,ControlElementFlags,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; - void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControl(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - void drawComplexControl(ComplexControl,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawComplexControl(ComplexControl,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default,SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - TQRect querySubControlMetrics(ComplexControl,TQStyleControlElementData,ControlElementFlags,SubControl, + TQRect querySubControlMetrics(ComplexControl,const TQStyleControlElementData&,ControlElementFlags,SubControl, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,const TQStyleControlElementData&,ControlElementFlags,const TQWidget * = 0) const; - TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; + TQRect subRect(SubRect,const const TQStyleControlElementData&, const ControlElementFlags,const TQWidget *) const; %End protected: diff --git a/sip/qt/qsgistyle.sip b/sip/qt/qsgistyle.sip index d84bfd7..433c3c3 100644 --- a/sip/qt/qsgistyle.sip +++ b/sip/qt/qsgistyle.sip @@ -52,10 +52,10 @@ class TQSGIStyle : TQMotifStyle public: TQSGIStyle(bool = 0); - void polish( TQStyleControlElementData, ControlElementFlags, void * ); - void unPolish( TQStyleControlElementData, ControlElementFlags, void * ); - void applicationPolish( TQStyleControlElementData, ControlElementFlags, void * ); - void applicationUnPolish( TQStyleControlElementData, ControlElementFlags, void * ); + void polish( const TQStyleControlElementData&, ControlElementFlags, void * ); + void unPolish( const TQStyleControlElementData&, ControlElementFlags, void * ); + void applicationPolish( const TQStyleControlElementData&, ControlElementFlags, void * ); + void applicationUnPolish( const TQStyleControlElementData&, ControlElementFlags, void * ); %If (- TQt_3_0_0) void polish(TQPalette &); @@ -119,29 +119,29 @@ public: TQColorGroup &,bool,bool); %End %If (TQt_3_0_0 -) - void drawPrimitive(PrimitiveElement,TQPainter *,TQStyleControlElementData,ControlElementFlags,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; - void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControl(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - void drawComplexControl(ComplexControl,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawComplexControl(ComplexControl,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default,SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,const TQStyleControlElementData&,ControlElementFlags,const TQWidget * = 0) const; - TQSize sizeFromContents(ContentsType,TQStyleControlElementData,ControlElementFlags,const TQSize &, + TQSize sizeFromContents(ContentsType,const TQStyleControlElementData&,ControlElementFlags,const TQSize &, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; + TQRect subRect(SubRect,const const TQStyleControlElementData&, const ControlElementFlags,const TQWidget *) const; - TQRect querySubControlMetrics(ComplexControl,TQStyleControlElementData,ControlElementFlags, + TQRect querySubControlMetrics(ComplexControl,const TQStyleControlElementData&,ControlElementFlags, SubControl, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; %End diff --git a/sip/qt/qstyle.sip b/sip/qt/qstyle.sip index 57d752c..f83f69e 100644 --- a/sip/qt/qstyle.sip +++ b/sip/qt/qstyle.sip @@ -232,16 +232,16 @@ public: virtual void unPolish(TQStyleControlElementData ceData, ControlElementFlags, void *); virtual void polish(TQApplication *); - virtual void applicationPolish(TQStyleControlElementData, ControlElementFlags, void *); + virtual void applicationPolish(const TQStyleControlElementData&, ControlElementFlags, void *); virtual void unPolish(TQApplication *); - virtual void applicationUnPolish(TQStyleControlElementData, ControlElementFlags, void *); + virtual void applicationUnPolish(const TQStyleControlElementData&, ControlElementFlags, void *); virtual void polish(TQPalette &); %If (TQt_3_0_0 -) virtual void polishPopupMenu(TQPopupMenu *) = 0; - virtual void polishPopupMenu(TQStyleControlElementData, ControlElementFlags, void *) = 0; + virtual void polishPopupMenu(const TQStyleControlElementData&, ControlElementFlags, void *) = 0; %End %If (- TQt_3_0_0) @@ -914,7 +914,7 @@ public: // New API virtual void drawPrimitive( PrimitiveElement, TQPainter*, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQRect&, const TQColorGroup&, @@ -923,7 +923,7 @@ public: virtual void drawControl( ControlElement element, TQPainter*, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQRect&, const TQColorGroup&, @@ -933,17 +933,17 @@ public: virtual void drawControlMask( ControlElement element, TQPainter*, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQRect&, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 /* compat, will likely go away */ ) const = 0; - virtual TQRect subRect( SubRect, const TQStyleControlElementData, const ControlElementFlags, const TQWidget* ) const = 0; + virtual TQRect subRect( SubRect, const const TQStyleControlElementData&, const ControlElementFlags, const TQWidget* ) const = 0; virtual void drawComplexControl( ComplexControl, TQPainter*, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQRect&, const TQColorGroup&, @@ -955,40 +955,40 @@ public: virtual void drawComplexControlMask( ComplexControl, TQPainter*, - const TQStyleControlElementData, + const const TQStyleControlElementData&, const ControlElementFlags, const TQRect&, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const = 0; virtual TQRect querySubControlMetrics( ComplexControl, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, SubControl, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const = 0; virtual SubControl querySubControl( ComplexControl, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQPoint&, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const = 0; virtual int pixelMetric( PixelMetric, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQWidget* = 0 ) const = 0; virtual TQSize sizeFromContents( ContentsType, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQSize&, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const = 0; virtual int styleHint( StyleHint, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQStyleOption& = TQStyleOption::Default, TQStyleHintReturn* returnData = 0, @@ -996,23 +996,23 @@ public: ) const = 0; virtual TQPixmap stylePixmap( StylePixmap, - TQStyleControlElementData, + const TQStyleControlElementData&, ControlElementFlags, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const = 0; - static TQRect visualRect( const TQRect&, const TQStyleControlElementData, const ControlElementFlags ); + static TQRect visualRect( const TQRect&, const const TQStyleControlElementData&, const ControlElementFlags ); typedef TQMap<void*, TQStyle*> ObjectEventSourceToHandlerMap; typedef TQMap<void*, TQStyleControlElementData> ObjectEventSourceDataToHandlerMap; typedef TQMap<void*, ControlElementFlags> ObjectEventSourceFlagsToHandlerMap; - typedef bool (*EventHandlerInstallationHook)(TQStyleControlElementData, ControlElementFlags, void*, TQStyle*); - typedef bool (*EventHandlerRemovalHook)(TQStyleControlElementData, ControlElementFlags, void*, TQStyle*); - void installObjectEventHandler( TQStyleControlElementData, ControlElementFlags, void*, TQStyle* ); - void removeObjectEventHandler( TQStyleControlElementData, ControlElementFlags, void*, TQStyle* ); + typedef bool (*EventHandlerInstallationHook)(const TQStyleControlElementData&, ControlElementFlags, void*, TQStyle*); + typedef bool (*EventHandlerRemovalHook)(const TQStyleControlElementData&, ControlElementFlags, void*, TQStyle*); + void installObjectEventHandler( const TQStyleControlElementData&, ControlElementFlags, void*, TQStyle* ); + void removeObjectEventHandler( const TQStyleControlElementData&, ControlElementFlags, void*, TQStyle* ); //void setEventHandlerInstallationHook( EventHandlerInstallationHook ); //void setEventHandlerRemovalHook( EventHandlerRemovalHook hook ); - virtual bool objectEventHandler( TQStyleControlElementData, ControlElementFlags, void*, TQEvent * ); + virtual bool objectEventHandler( const TQStyleControlElementData&, ControlElementFlags, void*, TQEvent * ); enum WidgetActionRequest { WAR_Repaint, @@ -1033,18 +1033,18 @@ public: WAR_RepaintAllAccelerators }; - typedef bool (*WidgetActionRequestHook)(TQStyleControlElementData, ControlElementFlags, void*, WidgetActionRequest, TQStyleWidgetActionRequestData); + typedef bool (*WidgetActionRequestHook)(const TQStyleControlElementData&, ControlElementFlags, void*, WidgetActionRequest, TQStyleWidgetActionRequestData); //void setWidgetActionRequestHook( WidgetActionRequestHook ); - virtual bool widgetActionRequest( TQStyleControlElementData, ControlElementFlags, void*, WidgetActionRequest, TQStyleWidgetActionRequestData = TQStyleWidgetActionRequestData() ); + virtual bool widgetActionRequest( const TQStyleControlElementData&, ControlElementFlags, void*, WidgetActionRequest, TQStyleWidgetActionRequestData = TQStyleWidgetActionRequestData() ); enum ApplicationActionRequest { AAR_SetPalette, AAR_SetFont }; - typedef bool (*ApplicationActionRequestHook)(TQStyleControlElementData, ControlElementFlags, void*, ApplicationActionRequest, TQStyleApplicationActionRequestData); + typedef bool (*ApplicationActionRequestHook)(const TQStyleControlElementData&, ControlElementFlags, void*, ApplicationActionRequest, TQStyleApplicationActionRequestData); //void setApplicationActionRequestHook( ApplicationActionRequestHook ); - virtual bool applicationActionRequest( TQStyleControlElementData, ControlElementFlags, void*, ApplicationActionRequest, TQStyleApplicationActionRequestData = TQStyleApplicationActionRequestData() ); + virtual bool applicationActionRequest( const TQStyleControlElementData&, ControlElementFlags, void*, ApplicationActionRequest, TQStyleApplicationActionRequestData = TQStyleApplicationActionRequestData() ); protected: %If (TQt_2_1_0 - TQt_3_0_0) diff --git a/sip/qt/qwindowsstyle.sip b/sip/qt/qwindowsstyle.sip index cdf7b40..b3fa3f5 100644 --- a/sip/qt/qwindowsstyle.sip +++ b/sip/qt/qwindowsstyle.sip @@ -76,15 +76,15 @@ public: TQWindowsStyle(); %If (TQt_3_3_0 -) - void applicationPolish(TQStyleControlElementData, ControlElementFlags, void *); - void applicationUnPolish(TQStyleControlElementData, ControlElementFlags, void *); + void applicationPolish(const TQStyleControlElementData&, ControlElementFlags, void *); + void applicationUnPolish(const TQStyleControlElementData&, ControlElementFlags, void *); - void polish(TQStyleControlElementData, ControlElementFlags, void *); - void unPolish(TQStyleControlElementData, ControlElementFlags, void *); + void polish(const TQStyleControlElementData&, ControlElementFlags, void *); + void unPolish(const TQStyleControlElementData&, ControlElementFlags, void *); void polish( TQPalette & ); - virtual void polishPopupMenu( TQStyleControlElementData, ControlElementFlags, void * ); + virtual void polishPopupMenu( const TQStyleControlElementData&, ControlElementFlags, void * ); %End %If (- TQt_3_0_0) @@ -143,36 +143,36 @@ public: const TQPalette &,bool,bool,int,int,int,int); %End %If (TQt_3_0_0 -) - void drawPrimitive(PrimitiveElement,TQPainter *,TQStyleControlElementData,ControlElementFlags,const TQRect &, + void drawPrimitive(PrimitiveElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags,const TQRect &, const TQColorGroup &,SFlags = Style_Default, const TQStyleOption & = TQStyleOption()) const; - void drawControl(ControlElement,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawControl(ControlElement,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default, const TQStyleOption & = TQStyleOption(), const TQWidget *=0) const; - void drawComplexControl(ComplexControl,TQPainter *,TQStyleControlElementData,ControlElementFlags, + void drawComplexControl(ComplexControl,TQPainter *,const TQStyleControlElementData&,ControlElementFlags, const TQRect &,const TQColorGroup &, SFlags = Style_Default,SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - int pixelMetric(PixelMetric,TQStyleControlElementData,ControlElementFlags,const TQWidget * = 0) const; + int pixelMetric(PixelMetric,const TQStyleControlElementData&,ControlElementFlags,const TQWidget * = 0) const; - TQSize sizeFromContents(ContentsType,TQStyleControlElementData,ControlElementFlags,const TQSize &, + TQSize sizeFromContents(ContentsType,const TQStyleControlElementData&,ControlElementFlags,const TQSize &, const TQStyleOption & = TQStyleOption(),const TQWidget *=0) const; - int styleHint(StyleHint,TQStyleControlElementData,ControlElementFlags, + int styleHint(StyleHint,const TQStyleControlElementData&,ControlElementFlags, const TQStyleOption & = TQStyleOption(), TQStyleHintReturn * = 0, const TQWidget * = 0) const; - TQPixmap stylePixmap(StylePixmap,TQStyleControlElementData,ControlElementFlags, + TQPixmap stylePixmap(StylePixmap,const TQStyleControlElementData&,ControlElementFlags, const TQStyleOption & = TQStyleOption(), const TQWidget * = 0) const; %End %If (TQt_3_1_0 -) - TQRect subRect(SubRect,const TQStyleControlElementData, const ControlElementFlags,const TQWidget *) const; + TQRect subRect(SubRect,const const TQStyleControlElementData&, const ControlElementFlags,const TQWidget *) const; %End protected: |