summaryrefslogtreecommitdiffstats
path: root/sip
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-18 16:44:44 +0900
committerMichele Calgaro <[email protected]>2023-11-20 13:30:03 +0900
commit41cc39063398f2906180a869d17fb898b7fcd8ad (patch)
tree141a9590dd703775a08e588cdbb87c4ba5055ed4 /sip
parent47953a56a8fe8bbae8c7dfa119f439697d27164e (diff)
downloadpytde-41cc39063398f2906180a869d17fb898b7fcd8ad.tar.gz
pytde-41cc39063398f2906180a869d17fb898b7fcd8ad.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a71b0c43209a665b6220e2b23b19a678b7bccda1)
Diffstat (limited to 'sip')
-rw-r--r--sip/tdefx/tdestyle.sip16
1 files changed, 8 insertions, 8 deletions
diff --git a/sip/tdefx/tdestyle.sip b/sip/tdefx/tdestyle.sip
index b2c04f2..c365819 100644
--- a/sip/tdefx/tdestyle.sip
+++ b/sip/tdefx/tdestyle.sip
@@ -91,18 +91,18 @@ public:
void polish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
void unPolish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
void polishPopupMenu( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *ptr );
- void drawPrimitive( PrimitiveElement, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, const TQStyleOption& = TQStyleOption::SO_Default ) const;
- void drawControl( ControlElement, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, const TQStyleOption& = TQStyleOption::SO_Default, const TQWidget* = 0 ) const;
- void drawComplexControl( ComplexControl, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption& = TQStyleOption::SO_Default, const TQWidget* = 0 ) const;
- SubControl querySubControl( ComplexControl, TQStyleControlElementData, ControlElementFlags, const TQPoint&, const TQStyleOption& = TQStyleOption::SO_Default, const TQWidget* = 0 ) const;
- TQRect querySubControlMetrics( ComplexControl, TQStyleControlElementData, ControlElementFlags, SubControl, const TQStyleOption& = TQStyleOption::SO_Default, const TQWidget* = 0 ) const;
+ void drawPrimitive( PrimitiveElement, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, const TQStyleOption& = TQStyleOption::Default ) const;
+ void drawControl( ControlElement, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const;
+ void drawComplexControl( ComplexControl, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, SCFlags = SC_All, SCFlags = SC_None, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const;
+ SubControl querySubControl( ComplexControl, TQStyleControlElementData, ControlElementFlags, const TQPoint&, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const;
+ TQRect querySubControlMetrics( ComplexControl, TQStyleControlElementData, ControlElementFlags, SubControl, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const;
int pixelMetric( PixelMetric, TQStyleControlElementData, ControlElementFlags, const TQWidget* = 0 ) const;
TQRect subRect( SubRect, const TQStyleControlElementData, const ControlElementFlags, const TQWidget* = 0 ) const;
- TQPixmap stylePixmap( StylePixmap, TQStyleControlElementData, ControlElementFlags, const TQStyleOption& = TQStyleOption::SO_Default, const TQWidget* = 0 ) const;
- int styleHint( StyleHint, TQStyleControlElementData, ControlElementFlags, const TQStyleOption& = TQStyleOption::SO_Default, TQStyleHintReturn* = 0, const TQWidget* = 0 ) const;
+ TQPixmap stylePixmap( StylePixmap, TQStyleControlElementData, ControlElementFlags, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const;
+ int styleHint( StyleHint, TQStyleControlElementData, ControlElementFlags, const TQStyleOption& = TQStyleOption::Default, TQStyleHintReturn* = 0, const TQWidget* = 0 ) const;
// New API
- virtual void drawTDEStylePrimitive( TDEStylePrimitive, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, const TQStyleOption& = TQStyleOption::SO_Default, const TQWidget* = 0 ) const;
+ virtual void drawTDEStylePrimitive( TDEStylePrimitive, TQPainter*, TQStyleControlElementData, ControlElementFlags, const TQRect&, const TQColorGroup&, SFlags = Style_Default, const TQStyleOption& = TQStyleOption::Default, const TQWidget* = 0 ) const;
protected:
bool eventFilter (TQObject*, TQEvent*);