summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:47:22 +0900
committerMichele Calgaro <[email protected]>2023-11-24 22:30:22 +0900
commit6bee7afd95e6e0350c88b20f084297dc3834b2ec (patch)
tree3de3c75a2ae7fbe9bb6f61c80ae84fe2933cd126
parentd80f3b6c2769b566690cdc8a6d30dfe719de32e2 (diff)
downloadrosegarden-6bee7afd95e6e0350c88b20f084297dc3834b2ec.tar.gz
rosegarden-6bee7afd95e6e0350c88b20f084297dc3834b2ec.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fe842b62ace7cf85bc3d99b80eacf554953f9d13)
-rw-r--r--src/gui/kdeext/klearlook.cpp2
-rw-r--r--src/gui/kdeext/klearlook.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kdeext/klearlook.cpp b/src/gui/kdeext/klearlook.cpp
index e05620e..5a2f9ff 100644
--- a/src/gui/kdeext/klearlook.cpp
+++ b/src/gui/kdeext/klearlook.cpp
@@ -3371,7 +3371,7 @@ void KlearlookStyle::drawComplexControl(
}
}
-TQRect KlearlookStyle::querySubControlMetrics( TQ_ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl sc,
+TQRect KlearlookStyle::querySubControlMetrics( ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl sc,
const TQStyleOption &data, const TQWidget *widget ) const {
switch ( control ) {
case CC_SpinWidget: {
diff --git a/src/gui/kdeext/klearlook.h b/src/gui/kdeext/klearlook.h
index bfde64d..ff55f19 100644
--- a/src/gui/kdeext/klearlook.h
+++ b/src/gui/kdeext/klearlook.h
@@ -270,7 +270,7 @@ class KlearlookStyle : public TDEStyle {
void drawComplexControl( ComplexControl, TQPainter *, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &, const TQColorGroup &,
SFlags = Style_Default, SCFlags = SC_All, SCFlags = SC_None,
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0 ) const;
- TQRect querySubControlMetrics( TQ_ComplexControl, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl,
+ TQRect querySubControlMetrics( ComplexControl, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl,
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0 ) const;
int pixelMetric( PixelMetric, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQWidget *widget = 0 ) const;
int kPixelMetric( TDEStylePixelMetric kpm, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQWidget *widget ) const;