summaryrefslogtreecommitdiffstats
path: root/sip/qt/qstyle.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qstyle.sip')
-rw-r--r--sip/qt/qstyle.sip50
1 files changed, 25 insertions, 25 deletions
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)