summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:48:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 22:34:55 +0900
commitf1732e3bd77e0187b018098252625b15e042e33d (patch)
tree75c1e112c70cb458c6ce80266ec0371b9ae374fb
parent5d24eff4a5f990da3404e247e22c29b7b4228822 (diff)
downloadtde-style-qtcurve-f1732e3bd77e0187b018098252625b15e042e33d.tar.gz
tde-style-qtcurve-f1732e3bd77e0187b018098252625b15e042e33d.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e2b48e1ca33b5b67426d38a51af78ab0d4c1b7cf)
-rw-r--r--style/qtcurve.cpp2
-rw-r--r--style/qtcurve.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp
index c7f3c05..dc46386 100644
--- a/style/qtcurve.cpp
+++ b/style/qtcurve.cpp
@@ -6633,7 +6633,7 @@ void QtCurveStyle::drawComplexControl(ComplexControl control, TQPainter *p, cons
}
}
-TQRect QtCurveStyle::querySubControlMetrics(TQ_ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags,
+TQRect QtCurveStyle::querySubControlMetrics(ComplexControl control, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags,
SubControl sc, const TQStyleOption &data, const TQWidget *widget) const
{
bool reverse(TQApplication::reverseLayout());
diff --git a/style/qtcurve.h b/style/qtcurve.h
index 29e7ee7..d59740d 100644
--- a/style/qtcurve.h
+++ b/style/qtcurve.h
@@ -178,7 +178,7 @@ class QtCurveStyle : public BASE_STYLE
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;