From e2b48e1ca33b5b67426d38a51af78ab0d4c1b7cf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:48:27 +0900 Subject: Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro --- style/qtcurve.cpp | 2 +- style/qtcurve.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'style') 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; -- cgit v1.2.1