diff options
Diffstat (limited to 'src/knemod/signalplotter.cpp')
-rw-r--r-- | src/knemod/signalplotter.cpp | 6 |
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 ); } } |