summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartAxesPainter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartAxesPainter.cpp')
-rw-r--r--libkdchart/KDChartAxesPainter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdchart/KDChartAxesPainter.cpp b/libkdchart/KDChartAxesPainter.cpp
index 094cfd6..5a169f0 100644
--- a/libkdchart/KDChartAxesPainter.cpp
+++ b/libkdchart/KDChartAxesPainter.cpp
@@ -649,7 +649,7 @@ void KDChartAxesPainter::paintAxes( TQPainter* painter,
TQString text;
if( cv.isDateTime ){
TQDateTime dt( TQDateTime::fromString( *it,
- Qt::ISODate ) );
+ TQt::ISODate ) );
text = dt.toString( formatDT );
}else{
text = *it;
@@ -1086,7 +1086,7 @@ void KDChartAxesPainter::paintAxes( TQPainter* painter,
if( nLeaveOut ) {
leaveOutGridPen = gridPen;
leaveOutGridPen.setWidth( gridLineWidth / 2 );
- leaveOutGridPen.setStyle( Qt::DotLine );
+ leaveOutGridPen.setStyle( TQt::DotLine );
}
// =========================================================
// || The labels and delimiters and grid printing loops ||
@@ -1645,7 +1645,7 @@ void KDChartAxesPainter::paintAxes( TQPainter* painter,
TQDateTime dt;
if( cv.isDateTime ){
dt = TQDateTime::fromString( *labelIter,
- Qt::ISODate );
+ TQt::ISODate );
label = dt.toString( formatDT );
}else{
label = *labelIter;
@@ -3198,9 +3198,9 @@ void KDChartAxesPainter::calculateLabelTexts(
nLabels = 0;
/*
tqDebug("dtLow: ");
- tqDebug(dtLow.toString( Qt::ISODate ));
+ tqDebug(dtLow.toString( TQt::ISODate ));
tqDebug("dtHigh: ");
- tqDebug(dtHigh.toString( Qt::ISODate ));
+ tqDebug(dtHigh.toString( TQt::ISODate ));
*/
bool bDone=false;
while( !bDone ) {
@@ -3231,7 +3231,7 @@ void KDChartAxesPainter::calculateLabelTexts(
if( autoDtLabels )
labelTexts.append( "x" );
else
- labelTexts.append( dt.toString( Qt::ISODate ) );
+ labelTexts.append( dt.toString( TQt::ISODate ) );
bDone = (goDown ? (dt < dtLow ) : (dt > dtHigh));
/*if( bDone ){
dtHigh = dt;