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;