summaryrefslogtreecommitdiffstats
path: root/tdefx
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:55:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:55:57 +0900
commit8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (patch)
treeaeb6e8f7de0507196578a04a8bdc804284d9fc80 /tdefx
parent17a8fd0ec28f5efbc658892067bb5602b6a8e44c (diff)
downloadtdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.tar.gz
tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefx')
-rw-r--r--tdefx/tdestyle.cpp8
-rw-r--r--tdefx/tdestyle.h12
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,