diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:23 -0600 |
commit | d979df2f36840b03425e5dc40907f16d10fe4b5c (patch) | |
tree | fcf35fe4a4c90a220e799b51299b00f5cc1bb58b /src/knemod/signalplotter.cpp | |
parent | 238d438877620ed73915f2360d820cfc0c9131cc (diff) | |
download | knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.tar.gz knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 238d438877620ed73915f2360d820cfc0c9131cc.
Diffstat (limited to 'src/knemod/signalplotter.cpp')
-rw-r--r-- | src/knemod/signalplotter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/knemod/signalplotter.cpp b/src/knemod/signalplotter.cpp index aa7c1f1..6a362a6 100644 --- a/src/knemod/signalplotter.cpp +++ b/src/knemod/signalplotter.cpp @@ -56,7 +56,7 @@ SignalPlotter::SignalPlotter( TQWidget *parent, const char *name ) // Anything smaller than this does not make sense. setMinimumSize( 16, 16 ); - setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, + tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding, false ) ); mShowVerticalLines = true; @@ -429,12 +429,12 @@ void SignalPlotter::paintEvent( TQPaintEvent* ) TQPixmap pm( w, h ); TQPainter p; - p.begin( TQT_TQPAINTDEVICE(&pm), this ); + p.tqbegin( TQT_TQPAINTDEVICE(&pm), this ); pm.fill( mBackgroundColor ); /* Draw white line along the bottom and the right side of the * widget to create a 3D like look. */ - p.setPen( TQColor( colorGroup().light() ) ); + p.setPen( TQColor( tqcolorGroup().light() ) ); p.drawLine( 0, h - 1, w - 1, h - 1 ); p.drawLine( w - 1, 0, w - 1, h - 1 ); @@ -687,14 +687,14 @@ void SignalPlotter::paintEvent( TQPaintEvent* ) top + y * ( h / mHorizontalLinesCount ) ); if ( mShowLabels && h > ( mFontSize + 1 ) * ( mHorizontalLinesCount + 1 ) && w > 60 ) { - val = TQString( "%1" ).arg( maxValue - y * ( range / mHorizontalLinesCount ) ); + val = TQString( "%1" ).tqarg( 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" ).arg( minValue ); + val = TQString( "%1" ).tqarg( minValue ); p.drawText( 6, top + h - 2, val ); } } |