summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartSeriesCollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartSeriesCollection.cpp')
-rw-r--r--libkdchart/KDChartSeriesCollection.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libkdchart/KDChartSeriesCollection.cpp b/libkdchart/KDChartSeriesCollection.cpp
index 185625e..84bd004 100644
--- a/libkdchart/KDChartSeriesCollection.cpp
+++ b/libkdchart/KDChartSeriesCollection.cpp
@@ -76,7 +76,7 @@ uint KDChartSeriesCollection::usedCols() const
}
// Don't really know how to handle these yet, I have no need yet.
-// It appears to be only used to load QTables.
+// It appears to be only used to load TQTables.
// ASSERT if used.
void KDChartSeriesCollection::setUsedRows( uint )
{
@@ -132,10 +132,10 @@ double KDChartSeriesCollection::maxValue( int coordinate ) const
bool first_max = true;
// find the first max
-#if COMPAT_QT_VERSION >= 0x030000
- QValueVector<KDChartBaseSeries *>::const_iterator i;
+#if COMPAT_TQT_VERSION >= 0x030000
+ TQValueVector<KDChartBaseSeries *>::const_iterator i;
#else
- QArray<KDChartBaseSeries *>::ConstIterator i;
+ TQArray<KDChartBaseSeries *>::ConstIterator i;
#endif
for ( i = (*this).begin(); i != (*this).end(); i ++ )
{
@@ -163,10 +163,10 @@ 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_QT_VERSION >= 0x030000
- QValueVector<KDChartBaseSeries *>::const_iterator i;
+#if COMPAT_TQT_VERSION >= 0x030000
+ TQValueVector<KDChartBaseSeries *>::const_iterator i;
#else
- QArray<KDChartBaseSeries *>::ConstIterator i;
+ TQArray<KDChartBaseSeries *>::ConstIterator i;
#endif
for ( i = (*this).begin(); !ok && i != (*this).end(); i ++ )
result = (*i)->minValue(coordinate, ok);
@@ -176,7 +176,7 @@ double KDChartSeriesCollection::minValue( int coordinate ) const
{
double temp = (*i)->minValue(coordinate, ok);
if (ok)
- result = QMIN( result, temp );
+ result = TQMIN( result, temp );
}
return result;
@@ -186,10 +186,10 @@ double KDChartSeriesCollection::minValue( int coordinate ) const
unsigned int KDChartSeriesCollection::indexOf( KDChartBaseSeries *series )
{
unsigned int index = 0;
-#if COMPAT_QT_VERSION >= 0x030000
- QValueVector<KDChartBaseSeries *>::const_iterator i;
+#if COMPAT_TQT_VERSION >= 0x030000
+ TQValueVector<KDChartBaseSeries *>::const_iterator i;
#else
- QArray<KDChartBaseSeries *>::ConstIterator i;
+ TQArray<KDChartBaseSeries *>::ConstIterator i;
#endif
for ( i = (*this).begin(); i != (*this).end(); i ++, index ++ )
if ( *i == series )
@@ -202,7 +202,7 @@ unsigned int KDChartSeriesCollection::indexOf( KDChartBaseSeries *series )
}
-void KDChartSeriesCollection::setLegendText( KDChartBaseSeries *series, QString text )
+void KDChartSeriesCollection::setLegendText( KDChartBaseSeries *series, TQString text )
{
_params->setLegendText( indexOf( series ), text );
}
@@ -219,7 +219,7 @@ void KDChartSeriesCollection::setYaxis( KDChartBaseSeries *series,
-QString KDChartSeriesCollection::legendText( KDChartBaseSeries *series )
+TQString KDChartSeriesCollection::legendText( KDChartBaseSeries *series )
{
return _params->legendText( indexOf(series) );
}