From dd6dd9e2bb4ff5bd075cc4d38af7afa1b52f6474 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Mon, 22 Oct 2012 13:22:23 -0500 Subject: [PATCH] Update TQt3 property/enum macros --- libkdchart/KDChartAxisParams.h | 14 ++++++------- libkdchart/KDChartEnums.h | 6 +++--- libkdchart/KDChartParams.h | 36 ++++++++++++++++----------------- libkdchart/KDChartPropertySet.h | 4 ++-- libkdchart/KDFrame.h | 12 +++++------ 5 files changed, 36 insertions(+), 36 deletions(-) diff --git a/libkdchart/KDChartAxisParams.h b/libkdchart/KDChartAxisParams.h index 5f2fadc..5818ed2 100644 --- a/libkdchart/KDChartAxisParams.h +++ b/libkdchart/KDChartAxisParams.h @@ -133,15 +133,15 @@ class KDCHART_EXPORT KDChartAxisParams : public TQObject { Q_OBJECT - Q_ENUMS(AxisType) - Q_ENUMS(AxisPos) - Q_ENUMS(AxisAreaMode) - Q_ENUMS(AxisCalcMode) - Q_ENUMS(LabelsFromDataRow) - Q_ENUMS(ValueScale) + TQ_ENUMS(AxisType) + TQ_ENUMS(AxisPos) + TQ_ENUMS(AxisAreaMode) + TQ_ENUMS(AxisCalcMode) + TQ_ENUMS(LabelsFromDataRow) + TQ_ENUMS(ValueScale) // Neede by TQSA - Q_ENUMS( PenStyle ) + TQ_ENUMS( PenStyle ) public: diff --git a/libkdchart/KDChartEnums.h b/libkdchart/KDChartEnums.h index 712aedb..f8438b2 100644 --- a/libkdchart/KDChartEnums.h +++ b/libkdchart/KDChartEnums.h @@ -47,9 +47,9 @@ class KDCHART_EXPORT KDChartEnums :public TQObject { Q_OBJECT - Q_ENUMS( TextLayoutPolicy ) - Q_ENUMS( AreaName ) - Q_ENUMS( PositionFlag ) + TQ_ENUMS( TextLayoutPolicy ) + TQ_ENUMS( AreaName ) + TQ_ENUMS( PositionFlag ) public: /** diff --git a/libkdchart/KDChartParams.h b/libkdchart/KDChartParams.h index a69a31b..1407d3e 100644 --- a/libkdchart/KDChartParams.h +++ b/libkdchart/KDChartParams.h @@ -141,26 +141,26 @@ class KDCHART_EXPORT KDChartParams : public TQObject Q_OBJECT - Q_ENUMS(ChartType) - Q_ENUMS(SourceMode) - Q_ENUMS(BarChartSubType) - Q_ENUMS(LineChartSubType) - Q_ENUMS(LineMarkerStyle) - Q_ENUMS(AreaChartSubType) - Q_ENUMS(AreaLocation) - Q_ENUMS(PolarChartSubType) - Q_ENUMS(PolarMarkerStyle) - Q_ENUMS(HiLoChartSubType) - Q_ENUMS(BWChartSubType) - Q_ENUMS(BWStatVal) - Q_ENUMS(LegendPosition) - Q_ENUMS(LegendSource) - Q_ENUMS(HdFtPos) + TQ_ENUMS(ChartType) + TQ_ENUMS(SourceMode) + TQ_ENUMS(BarChartSubType) + TQ_ENUMS(LineChartSubType) + TQ_ENUMS(LineMarkerStyle) + TQ_ENUMS(AreaChartSubType) + TQ_ENUMS(AreaLocation) + TQ_ENUMS(PolarChartSubType) + TQ_ENUMS(PolarMarkerStyle) + TQ_ENUMS(HiLoChartSubType) + TQ_ENUMS(BWChartSubType) + TQ_ENUMS(BWStatVal) + TQ_ENUMS(LegendPosition) + TQ_ENUMS(LegendSource) + TQ_ENUMS(HdFtPos) // Needed for TQSA - Q_ENUMS( BrushStyle ) - Q_ENUMS( PenStyle ) - Q_ENUMS( Orientation ) + TQ_ENUMS( BrushStyle ) + TQ_ENUMS( PenStyle ) + TQ_ENUMS( Orientation ) public slots: // PENDING(blackie) merge public slots into one section. diff --git a/libkdchart/KDChartPropertySet.h b/libkdchart/KDChartPropertySet.h index 43c9abf..fd27a1a 100644 --- a/libkdchart/KDChartPropertySet.h +++ b/libkdchart/KDChartPropertySet.h @@ -67,10 +67,10 @@ class KDCHART_EXPORT KDChartPropertySet :public TQObject { Q_OBJECT - Q_ENUMS( SpecialDataPropertyID ) + TQ_ENUMS( SpecialDataPropertyID ) // Required by TQSA - Q_ENUMS( PenStyle ) + TQ_ENUMS( PenStyle ) friend class KDChartParams; diff --git a/libkdchart/KDFrame.h b/libkdchart/KDFrame.h index 2db153e..72fa5d7 100644 --- a/libkdchart/KDFrame.h +++ b/libkdchart/KDFrame.h @@ -88,12 +88,12 @@ class KDCHART_EXPORT KDFrame : public TQObject { Q_OBJECT - Q_ENUMS( BackPixmapMode ) - Q_ENUMS( SimpleFrame ) - Q_ENUMS( ProfileName ) - Q_ENUMS( CornerName ) - Q_ENUMS( CornerStyle ) - Q_ENUMS( KDFramePaintSteps ) + TQ_ENUMS( BackPixmapMode ) + TQ_ENUMS( SimpleFrame ) + TQ_ENUMS( ProfileName ) + TQ_ENUMS( CornerName ) + TQ_ENUMS( CornerStyle ) + TQ_ENUMS( KDFramePaintSteps ) public: //// GENERAL