summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:47:22 +0900
committerMichele Calgaro <[email protected]>2023-11-24 10:47:22 +0900
commitfe842b62ace7cf85bc3d99b80eacf554953f9d13 (patch)
tree3de3c75a2ae7fbe9bb6f61c80ae84fe2933cd126
parent86d6ccab8ed8a032f4bb5f31e16b8c7048005da0 (diff)
downloadrosegarden-fe842b62ace7cf85bc3d99b80eacf554953f9d13.tar.gz
rosegarden-fe842b62ace7cf85bc3d99b80eacf554953f9d13.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
-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;