From 04d9ceaa0e20cc22f1cdc55bd691cd6cd391457a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 15 Feb 2024 18:47:48 +0900 Subject: [PATCH] Replace QT_STATIC_CONST_* with actual definitions Signed-off-by: Michele Calgaro --- kchart/kdchart/KDChartParams.cpp | 2 +- lib/koproperty/property.cpp | 2 +- lib/koproperty/property.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kchart/kdchart/KDChartParams.cpp b/kchart/kdchart/KDChartParams.cpp index c2647ccc2..aa2090e29 100644 --- a/kchart/kdchart/KDChartParams.cpp +++ b/kchart/kdchart/KDChartParams.cpp @@ -85,7 +85,7 @@ void KDChartAutoColor::freeInstance() /* static TQColor defaultColor; -QT_STATIC_CONST_IMPL TQColor & KDChartParams_AutoColor = defaultColor; +const TQColor & KDChartParams_AutoColor = defaultColor; */ /** diff --git a/lib/koproperty/property.cpp b/lib/koproperty/property.cpp index d90795ca1..2e6b41ea6 100644 --- a/lib/koproperty/property.cpp +++ b/lib/koproperty/property.cpp @@ -33,7 +33,7 @@ namespace KoProperty { -QT_STATIC_CONST_IMPL Property Property::null; +const Property Property::null; //! @internal class PropertyPrivate diff --git a/lib/koproperty/property.h b/lib/koproperty/property.h index 9938c5dfe..982f84a69 100644 --- a/lib/koproperty/property.h +++ b/lib/koproperty/property.h @@ -177,7 +177,7 @@ class KOPROPERTY_EXPORT Property { public: //! A contant for null property - QT_STATIC_CONST Property null; + static const Property null; typedef TQAsciiDict Dict; typedef TQAsciiDictIterator DictIterator;