diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:55:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-25 15:17:48 +0900 |
commit | 4c9f3f02c0e1a9be5567649f5c97d6638033f74f (patch) | |
tree | 1979e02cfb76240b6e03e1fcebe7b546143c74e1 /tdefx | |
parent | cf7f8e74af96c15491c49457261a7d0d001250ad (diff) | |
download | tdelibs-4c9f3f02c0e1a9be5567649f5c97d6638033f74f.tar.gz tdelibs-4c9f3f02c0e1a9be5567649f5c97d6638033f74f.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08)
Diffstat (limited to 'tdefx')
-rw-r--r-- | tdefx/tdestyle.cpp | 8 | ||||
-rw-r--r-- | tdefx/tdestyle.h | 12 |
2 files changed, 10 insertions, 10 deletions
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, |