summaryrefslogtreecommitdiffstats
path: root/tdestyles/light/lightstyle-v3.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:55:57 +0900
committerMichele Calgaro <[email protected]>2023-11-24 10:55:57 +0900
commit8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (patch)
treeaeb6e8f7de0507196578a04a8bdc804284d9fc80 /tdestyles/light/lightstyle-v3.cpp
parent17a8fd0ec28f5efbc658892067bb5602b6a8e44c (diff)
downloadtdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.tar.gz
tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdestyles/light/lightstyle-v3.cpp')
-rw-r--r--tdestyles/light/lightstyle-v3.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdestyles/light/lightstyle-v3.cpp b/tdestyles/light/lightstyle-v3.cpp
index 38159134c..790c03d79 100644
--- a/tdestyles/light/lightstyle-v3.cpp
+++ b/tdestyles/light/lightstyle-v3.cpp
@@ -830,7 +830,7 @@ void LightStyleV3::drawPrimitive( PrimitiveElement pe,
}
}
-void LightStyleV3::drawControl( TQ_ControlElement control,
+void LightStyleV3::drawControl( ControlElement control,
TQPainter *p,
const TQStyleControlElementData &ceData,
ControlElementFlags elementFlags,
@@ -1114,7 +1114,7 @@ void LightStyleV3::drawControl( TQ_ControlElement control,
}
}
-void LightStyleV3::drawControlMask( TQ_ControlElement control,
+void LightStyleV3::drawControlMask( ControlElement control,
TQPainter *p,
const TQStyleControlElementData &ceData,
ControlElementFlags elementFlags,
@@ -1178,7 +1178,7 @@ TQRect LightStyleV3::subRect(SubRect subrect, const TQStyleControlElementData &c
return rect;
}
-void LightStyleV3::drawComplexControl( TQ_ComplexControl control,
+void LightStyleV3::drawComplexControl( ComplexControl control,
TQPainter* p,
const TQStyleControlElementData &ceData,
ControlElementFlags elementFlags,
@@ -1248,7 +1248,7 @@ void LightStyleV3::drawComplexControl( TQ_ComplexControl control,
const TQSpinWidget *spinwidget = (const TQSpinWidget *) widget;
TQRect frame, up, down;
- frame = querySubControlMetrics((TQ_ComplexControl)CC_SpinWidget, ceData, elementFlags,
+ frame = querySubControlMetrics((ComplexControl)CC_SpinWidget, ceData, elementFlags,
SC_SpinWidgetFrame, data, widget);
up = ceData.spinWidgetData.upRect;
down = ceData.spinWidgetData.downRect;
@@ -1455,7 +1455,7 @@ void LightStyleV3::drawComplexControl( TQ_ComplexControl control,
}
}
-TQRect LightStyleV3::querySubControlMetrics( TQ_ComplexControl control,
+TQRect LightStyleV3::querySubControlMetrics( ComplexControl control,
const TQStyleControlElementData &ceData,
ControlElementFlags elementFlags,
SubControl sc,
@@ -1606,7 +1606,7 @@ TQRect LightStyleV3::querySubControlMetrics( TQ_ComplexControl control,
return ret;
}
-TQStyle::SubControl LightStyleV3::querySubControl( TQ_ComplexControl control,
+TQStyle::SubControl LightStyleV3::querySubControl( ComplexControl control,
const TQStyleControlElementData &ceData,
ControlElementFlags elementFlags,
const TQPoint &pos,