From 5cb1ea082794e19d062e004023ce44fae093d5bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 12 Sep 2023 21:15:32 +0900 Subject: Replace various tqtinterface's TQ_* defines with actual types Signed-off-by: Michele Calgaro (cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838) --- tdefx/tdestyle.cpp | 4 ++-- tdefx/tdestyle.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tdefx') 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, -- cgit v1.2.1