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 22:25:25 +0900 |
commit | 5cb1ea082794e19d062e004023ce44fae093d5bc (patch) | |
tree | 89609f35d633fe5f71d36d0948b118bbf16a2209 /tdefx | |
parent | c7cf5fd96d2696a522b5a377c53899d8d7bd5d80 (diff) | |
download | tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.tar.gz tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838)
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, |