From 4c9f3f02c0e1a9be5567649f5c97d6638033f74f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:55:57 +0900 Subject: Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro (cherry picked from commit 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08) --- tdefx/tdestyle.cpp | 8 ++++---- tdefx/tdestyle.h | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'tdefx') diff --git a/tdefx/tdestyle.cpp b/tdefx/tdestyle.cpp index a1d60656a..87c4f3991 100644 --- a/tdefx/tdestyle.cpp +++ b/tdefx/tdestyle.cpp @@ -664,7 +664,7 @@ void TDEStyle::drawPrimitive( PrimitiveElement pe, -void TDEStyle::drawControl( TQ_ControlElement element, +void TDEStyle::drawControl( ControlElement element, TQPainter* p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -1109,7 +1109,7 @@ static TQListViewItem* nextVisibleSibling(TQListViewItem* item) return sibling; } -void TDEStyle::drawComplexControl( TQ_ComplexControl control, +void TDEStyle::drawComplexControl( ComplexControl control, TQPainter* p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -1415,7 +1415,7 @@ void TDEStyle::drawComplexControl( TQ_ComplexControl control, } -TQStyle::SubControl TDEStyle::querySubControl( TQ_ComplexControl control, +TQStyle::SubControl TDEStyle::querySubControl( ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQPoint &pos, @@ -1433,7 +1433,7 @@ TQStyle::SubControl TDEStyle::querySubControl( TQ_ComplexControl control, } -TQRect TDEStyle::querySubControlMetrics( TQ_ComplexControl control, +TQRect TDEStyle::querySubControlMetrics( ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl sc, diff --git a/tdefx/tdestyle.h b/tdefx/tdestyle.h index 613a7a1a8..c9cd11f88 100644 --- a/tdefx/tdestyle.h +++ b/tdefx/tdestyle.h @@ -248,12 +248,12 @@ class TDEFX_EXPORT TDEStyle: public TQCommonStyle const TQStyleOption& = TQStyleOption::Default ) const; /** - * This function is identical to Qt's TQStyle::tqdrawPrimitive(), except that + * This function is identical to Qt's TQStyle::drawPrimitive(), except that * it adds one further parameter, 'widget', that can be used to determine * the widget state of the TDEStylePrimitive in question. * * @see TDEStyle::TDEStylePrimitive - * @see TQStyle::tqdrawPrimitive + * @see TQStyle::drawPrimitive * @see TQStyle::drawComplexControl */ virtual void drawTDEStylePrimitive( TDEStylePrimitive kpe, @@ -296,7 +296,7 @@ class TDEFX_EXPORT TDEStyle: public TQCommonStyle SFlags flags = Style_Default, const TQStyleOption& = TQStyleOption::Default ) const; - void drawControl( TQ_ControlElement element, + void drawControl( ControlElement element, TQPainter* p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -306,7 +306,7 @@ class TDEFX_EXPORT TDEStyle: public TQCommonStyle const TQStyleOption& = TQStyleOption::Default, const TQWidget* widget = 0 ) const; - void drawComplexControl( TQ_ComplexControl control, + void drawComplexControl( ComplexControl control, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -318,14 +318,14 @@ class TDEFX_EXPORT TDEStyle: public TQCommonStyle const TQStyleOption& = TQStyleOption::Default, const TQWidget* widget = 0 ) const; - SubControl querySubControl( TQ_ComplexControl control, + SubControl querySubControl( ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQPoint &pos, const TQStyleOption& = TQStyleOption::Default, const TQWidget* widget = 0 ) const; - TQRect querySubControlMetrics( TQ_ComplexControl control, + TQRect querySubControlMetrics( ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl sc, -- cgit v1.2.1