diff options
author | Michele Calgaro <[email protected]> | 2023-06-03 13:02:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-06-05 11:24:13 +0900 |
commit | f25aee7b805a903144ad05ef3e9bb70e6dbdb875 (patch) | |
tree | e5fe2e983cadd94279139a4f75be81533d6b0424 /kchart/kdchart/KDChartSeriesCollection.cpp | |
parent | 72bac0dd3d8bc03a06efb206a6fbdd618a39ca7e (diff) | |
download | koffice-f25aee7b805a903144ad05ef3e9bb70e6dbdb875.tar.gz koffice-f25aee7b805a903144ad05ef3e9bb70e6dbdb875.zip |
Drop Qt2 obsolete classes
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 72e96ecd25ffe8dcf9c0b0bdefc8ea259fe1dded)
Diffstat (limited to 'kchart/kdchart/KDChartSeriesCollection.cpp')
-rw-r--r-- | kchart/kdchart/KDChartSeriesCollection.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kchart/kdchart/KDChartSeriesCollection.cpp b/kchart/kdchart/KDChartSeriesCollection.cpp index 812db8fd..217f5102 100644 --- a/kchart/kdchart/KDChartSeriesCollection.cpp +++ b/kchart/kdchart/KDChartSeriesCollection.cpp @@ -132,11 +132,7 @@ double KDChartSeriesCollection::maxValue( int coordinate ) const bool first_max = true; // find the first max -#if COMPAT_TQT_VERSION >= 0x030000 TQValueVector<KDChartBaseSeries *>::const_iterator i; -#else - TQArray<KDChartBaseSeries *>::ConstIterator i; -#endif for ( i = (*this).begin(); i != (*this).end(); i ++ ) { double temp = (*i)->maxValue(coordinate, ok); @@ -163,11 +159,7 @@ double KDChartSeriesCollection::minValue( int coordinate ) const double result = 0; // if no valid min/max, then this is the default // find the first min -#if COMPAT_TQT_VERSION >= 0x030000 TQValueVector<KDChartBaseSeries *>::const_iterator i; -#else - TQArray<KDChartBaseSeries *>::ConstIterator i; -#endif for ( i = (*this).begin(); !ok && i != (*this).end(); i ++ ) result = (*i)->minValue(coordinate, ok); @@ -186,11 +178,7 @@ double KDChartSeriesCollection::minValue( int coordinate ) const unsigned int KDChartSeriesCollection::indexOf( KDChartBaseSeries *series ) { unsigned int index = 0; -#if COMPAT_TQT_VERSION >= 0x030000 TQValueVector<KDChartBaseSeries *>::const_iterator i; -#else - TQArray<KDChartBaseSeries *>::ConstIterator i; -#endif for ( i = (*this).begin(); i != (*this).end(); i ++, index ++ ) if ( *i == series ) break; |