summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:48:27 +0900
committerMichele Calgaro <[email protected]>2023-11-24 10:48:27 +0900
commite2b48e1ca33b5b67426d38a51af78ab0d4c1b7cf (patch)
tree3203886a886b339bd8b47d6f737a9ea25ec3eb28
parent6e529a64ddb96ec7ec1c86c745a203f68cfea4e5 (diff)
downloadtde-style-qtcurve-e2b48e1ca33b5b67426d38a51af78ab0d4c1b7cf.tar.gz
tde-style-qtcurve-e2b48e1ca33b5b67426d38a51af78ab0d4c1b7cf.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
-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;