diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 21:15:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 21:15:32 +0900 |
commit | 0f36f8966371d24decc0740ccf9f8b0cc2c57838 (patch) | |
tree | 13adb17728b88c3e7bdcc83fd2c2a131939f7770 /tdefx | |
parent | cc5cf548f13ee0c43c41ac60ad056765e7dccb26 (diff) | |
download | tdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.tar.gz tdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefx')
-rw-r--r-- | tdefx/tdestyle.cpp | 4 | ||||
-rw-r--r-- | tdefx/tdestyle.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tdefx/tdestyle.cpp b/tdefx/tdestyle.cpp index ce17cc24c..628c5ca7c 100644 --- a/tdefx/tdestyle.cpp +++ b/tdefx/tdestyle.cpp @@ -569,7 +569,7 @@ int TDEStyle::kPixelMetric( TDEStylePixelMetric kpm, const TQStyleControlElement // ----------------------------------------------------------------------------- -void TDEStyle::drawPrimitive( TQ_PrimitiveElement pe, +void TDEStyle::drawPrimitive( PrimitiveElement pe, TQPainter* p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -1853,7 +1853,7 @@ TQPixmap TDEStyle::stylePixmap( StylePixmap stylepixmap, } -int TDEStyle::styleHint( TQ_StyleHint sh, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, +int TDEStyle::styleHint( StyleHint sh, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQStyleOption &opt, TQStyleHintReturn* shr, const TQWidget* w) const { switch (sh) diff --git a/tdefx/tdestyle.h b/tdefx/tdestyle.h index 7cf4e0858..4991eb733 100644 --- a/tdefx/tdestyle.h +++ b/tdefx/tdestyle.h @@ -287,7 +287,7 @@ class TDEFX_EXPORT TDEStyle: public TQCommonStyle void unPolish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void * ); void polishPopupMenu( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr ); - void drawPrimitive( TQ_PrimitiveElement pe, + void drawPrimitive( PrimitiveElement pe, TQPainter* p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -344,7 +344,7 @@ class TDEFX_EXPORT TDEStyle: public TQCommonStyle const TQStyleOption& = TQStyleOption::SO_Default, const TQWidget* widget = 0 ) const; - int styleHint( TQ_StyleHint sh, const TQStyleControlElementData &ceData, + int styleHint( StyleHint sh, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQStyleOption &opt = TQStyleOption::SO_Default, TQStyleHintReturn* shr = 0, |