diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kchart/kdchart/KDChartAxisParamsWrapper.cpp | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart/kdchart/KDChartAxisParamsWrapper.cpp')
-rw-r--r-- | kchart/kdchart/KDChartAxisParamsWrapper.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kchart/kdchart/KDChartAxisParamsWrapper.cpp b/kchart/kdchart/KDChartAxisParamsWrapper.cpp index 5250a713..8a4a6768 100644 --- a/kchart/kdchart/KDChartAxisParamsWrapper.cpp +++ b/kchart/kdchart/KDChartAxisParamsWrapper.cpp @@ -1,7 +1,7 @@ #include "KDChartAxisParamsWrapper.h" #include <KDChartAxisParams.h> -KDChartAxisParamsWrapper::KDChartAxisParamsWrapper( KDChartAxisParams* data ) :QObject(0), _data(data) +KDChartAxisParamsWrapper::KDChartAxisParamsWrapper( KDChartAxisParams* data ) :TQObject(0), _data(data) { } @@ -15,31 +15,31 @@ void KDChartAxisParamsWrapper::setAxisValueEnd( double axisValueEnd ) _data->setAxisValueEnd( axisValueEnd); } -void KDChartAxisParamsWrapper::setAxisValueStart( const QVariant axisValueStart ) +void KDChartAxisParamsWrapper::setAxisValueStart( const TQVariant axisValueStart ) { _data->setAxisValueStart( axisValueStart ); } -void KDChartAxisParamsWrapper::setAxisValueEnd( const QVariant axisValueEnd ) +void KDChartAxisParamsWrapper::setAxisValueEnd( const TQVariant axisValueEnd ) { _data->setAxisValueEnd( axisValueEnd ); } void KDChartAxisParamsWrapper::setAxisValues( bool axisSteadyValueCalc, - QVariant axisValueStart, - QVariant axisValueEnd, + TQVariant axisValueStart, + TQVariant axisValueEnd, double axisValueDelta, int axisDigitsBehindComma, int axisMaxEmptyInnerSpan, int takeLabelsFromDataRow, int labelTextsDataRow, - const QVariant& axisLabelStringList, - const QVariant& axisShortLabelsStringList, + const TQVariant& axisLabelStringList, + const TQVariant& axisShortLabelsStringList, int axisValueLeaveOut, int axisValueDeltaScale ) { - QStringList l1 = axisLabelStringList.toStringList(); - QStringList l2 = axisShortLabelsStringList.toStringList(); + TQStringList l1 = axisLabelStringList.toStringList(); + TQStringList l2 = axisShortLabelsStringList.toStringList(); _data->setAxisValues( axisSteadyValueCalc, axisValueStart, axisValueEnd, @@ -54,19 +54,19 @@ void KDChartAxisParamsWrapper::setAxisValues( bool axisSteadyValueCalc, (KDChartAxisParams::ValueScale) axisValueDeltaScale ); } -void KDChartAxisParamsWrapper::setAxisLabelStringLists( const QVariant& axisLabelStringList, - const QVariant& axisShortLabelStringList, - const QString& valueStart, - const QString& valueEnd ) +void KDChartAxisParamsWrapper::setAxisLabelStringLists( const TQVariant& axisLabelStringList, + const TQVariant& axisShortLabelStringList, + const TQString& valueStart, + const TQString& valueEnd ) { - QStringList l1 = axisLabelStringList.toStringList(); - QStringList l2 = axisShortLabelStringList.toStringList(); + TQStringList l1 = axisLabelStringList.toStringList(); + TQStringList l2 = axisShortLabelStringList.toStringList(); _data->setAxisLabelStringLists( &l1, &l2, valueStart, valueEnd ); } -void KDChartAxisParamsWrapper::setAxisLabelTexts( const QVariant& axisLabelTexts ) +void KDChartAxisParamsWrapper::setAxisLabelTexts( const TQVariant& axisLabelTexts ) { - QStringList l = axisLabelTexts.toStringList(); + TQStringList l = axisLabelTexts.toStringList(); _data->setAxisLabelTexts( &l ); } |