summaryrefslogtreecommitdiffstats
path: root/src/knemod/signalplotter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:13 -0600
commit01f9b26fdaf6cf54f8222af68fcfb2508944311a (patch)
tree414e7a4cb2f73109ae53361f29208e32ef66b042 /src/knemod/signalplotter.cpp
parent15c49bc5b6d612d4021619c4f71c8bca1d692e28 (diff)
downloadknemo-01f9b26fdaf6cf54f8222af68fcfb2508944311a.tar.gz
knemo-01f9b26fdaf6cf54f8222af68fcfb2508944311a.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/knemod/signalplotter.cpp')
-rw-r--r--src/knemod/signalplotter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/knemod/signalplotter.cpp b/src/knemod/signalplotter.cpp
index 6810d82..aa7c1f1 100644
--- a/src/knemod/signalplotter.cpp
+++ b/src/knemod/signalplotter.cpp
@@ -429,7 +429,7 @@ void SignalPlotter::paintEvent( TQPaintEvent* )
TQPixmap pm( w, h );
TQPainter p;
- p.tqbegin( TQT_TQPAINTDEVICE(&pm), this );
+ p.begin( TQT_TQPAINTDEVICE(&pm), this );
pm.fill( mBackgroundColor );
/* Draw white line along the bottom and the right side of the
@@ -687,14 +687,14 @@ void SignalPlotter::paintEvent( TQPaintEvent* )
top + y * ( h / mHorizontalLinesCount ) );
if ( mShowLabels && h > ( mFontSize + 1 ) * ( mHorizontalLinesCount + 1 )
&& w > 60 ) {
- val = TQString( "%1" ).tqarg( maxValue - y * ( range / mHorizontalLinesCount ) );
+ val = TQString( "%1" ).arg( maxValue - y * ( range / mHorizontalLinesCount ) );
p.drawText( 6, top + y * ( h / mHorizontalLinesCount ) - 1, val );
}
}
if ( mShowLabels && h > ( mFontSize + 1 ) * ( mHorizontalLinesCount + 1 )
&& w > 60 ) {
- val = TQString( "%1" ).tqarg( minValue );
+ val = TQString( "%1" ).arg( minValue );
p.drawText( 6, top + h - 2, val );
}
}