diff options
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 ); } |