diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /libkdchart/KDChartAxisParamsWrapper.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip |
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdchart/KDChartAxisParamsWrapper.h')
-rw-r--r-- | libkdchart/KDChartAxisParamsWrapper.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/libkdchart/KDChartAxisParamsWrapper.h b/libkdchart/KDChartAxisParamsWrapper.h index de8dbcc..a0f14a3 100644 --- a/libkdchart/KDChartAxisParamsWrapper.h +++ b/libkdchart/KDChartAxisParamsWrapper.h @@ -1,15 +1,16 @@ #ifndef KDCHARTAXISPARAMSWRAPPER_H #define KDCHARTAXISPARAMSWRAPPER_H -#include <qobject.h> +#include <tqobject.h> #include <KDChartEnums.h> #include <KDChartAxisParams.h> -#include <qstringlist.h> -#include <qvariant.h> +#include <tqstringlist.h> +#include <tqvariant.h> class KDChartAxisParams; -class KDChartAxisParamsWrapper :public QObject +class KDChartAxisParamsWrapper :public TQObject { Q_OBJECT + TQ_OBJECT public: KDChartAxisParamsWrapper( KDChartAxisParams* ); @@ -18,29 +19,29 @@ public slots: // These overload are only for convenience. void setAxisValueStart( double axisValueStart ); void setAxisValueEnd( double axisValueEnd ); - void setAxisValueStart( const QVariant axisValueStart ); - void setAxisValueEnd( const QVariant axisValueEnd ); + void setAxisValueStart( const TQVariant axisValueStart ); + void setAxisValueEnd( const TQVariant axisValueEnd ); public slots: void setAxisValues( bool axisSteadyValueCalc = true, - QVariant axisValueStart = KDCHART_AXIS_LABELS_AUTO_LIMIT, - QVariant axisValueEnd = KDCHART_AXIS_LABELS_AUTO_LIMIT, + TQVariant axisValueStart = KDCHART_AXIS_LABELS_AUTO_LIMIT, + TQVariant axisValueEnd = KDCHART_AXIS_LABELS_AUTO_LIMIT, double axisValueDelta = KDCHART_AXIS_LABELS_AUTO_DELTA, int axisDigitsBehindComma = KDCHART_AXIS_LABELS_AUTO_DIGITS, int axisMaxEmptyInnerSpan = KDCHART_DONT_CHANGE_EMPTY_INNER_SPAN_NOW, int takeLabelsFromDataRow = KDChartAxisParams::LabelsFromDataRowNo, int labelTextsDataRow = 0, - const QVariant& axisLabelStringList = QVariant( QStringList() ), - const QVariant& axisShortLabelsStringList = QVariant( QStringList() ), + const TQVariant& axisLabelStringList = TQVariant( TQStringList() ), + const TQVariant& axisShortLabelsStringList = TQVariant( TQStringList() ), int axisValueLeaveOut = KDCHART_AXIS_LABELS_AUTO_LEAVEOUT, int axisValueDeltaScale = KDChartAxisParams::ValueScaleNumerical ); - void setAxisLabelStringLists( const QVariant& axisLabelStringList, - const QVariant& axisShortLabelStringList, - const QString& valueStart = QString::null, - const QString& valueEnd = QString::null ); + void setAxisLabelStringLists( const TQVariant& axisLabelStringList, + const TQVariant& axisShortLabelStringList, + const TQString& valueStart = TQString(), + const TQString& valueEnd = TQString() ); - void setAxisLabelTexts( const QVariant& axisLabelTexts ); + void setAxisLabelTexts( const TQVariant& axisLabelTexts ); private: KDChartAxisParams* _data; }; |