diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
commit | dc07846059a60d069687585cc72ff501a2096296 (patch) | |
tree | 432ead5b09c6ace7e804629f1f74a3ed58f003e0 /noatun/modules/kjofol-skin/kjvis.cpp | |
parent | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (diff) | |
download | tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.tar.gz tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'noatun/modules/kjofol-skin/kjvis.cpp')
-rw-r--r-- | noatun/modules/kjofol-skin/kjvis.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/noatun/modules/kjofol-skin/kjvis.cpp b/noatun/modules/kjofol-skin/kjvis.cpp index a1a4c840..7ae04d44 100644 --- a/noatun/modules/kjofol-skin/kjvis.cpp +++ b/noatun/modules/kjofol-skin/kjvis.cpp @@ -79,7 +79,7 @@ KJNullScope::KJNullScope(const TQStringList &l, KJLoader *parent) mBack = new KPixmap ( TQSize(xs,ys) ); bitBlt( mBack, 0, 0, &tmp, x, y, xs, ys, TQt::CopyROP ); setRect ( x, y, xs, ys ); - tqrepaint(); + repaint(); } void KJNullScope::paint(TQPainter *p, const TQRect &) @@ -98,7 +98,7 @@ void KJNullScope::mouseRelease(const TQPoint &, bool in) if (!in) // only do something if users is still inside the button return; - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope(FFT); } @@ -108,7 +108,7 @@ void KJNullScope::readConfig() Visuals v = (Visuals) KJLoader::kjofol->prefs()->visType(); if ( v != Null ) { - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope ( v ); } } @@ -163,7 +163,7 @@ void KJFFT::scopeEvent(float *d, int size) if ( !napp->player()->isPlaying() ) // don't draw if we aren't playing (either paused or stopped) { if ( napp->player()->isStopped() ) // clear vis-window if playing has been stopped - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); return; } @@ -203,7 +203,7 @@ void KJFFT::scopeEvent(float *d, int size) mGradient->setMask(mGradientMask); bitBlt ( mAnalyzer, 0, 0, mGradient, 0, 0, -1, -1, TQt::CopyROP ); - tqrepaint(); + repaint(); } void KJFFT::paint(TQPainter *p, const TQRect &) @@ -225,7 +225,7 @@ void KJFFT::mouseRelease(const TQPoint &, bool in) return; stop(); - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope(Mono); } @@ -236,7 +236,7 @@ void KJFFT::readConfig() if ( v != FFT ) { stop(); - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope ( v ); return; } @@ -297,7 +297,7 @@ void KJStereoFFT::scopeEvent(float *left, float *right, int len) if ( !napp->player()->isPlaying() ) // don't draw if we aren't playing (either paused or stopped) { if ( napp->player()->isStopped() ) // clear vis-window if playing has been stopped - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); return; } @@ -356,7 +356,7 @@ void KJStereoFFT::scopeEvent(float *left, float *right, int len) mGradient->setMask(mGradientMask); bitBlt ( mAnalyzer, 0, 0, mGradient, 0, 0, -1, -1, TQt::CopyROP ); - tqrepaint(); + repaint(); } void KJStereoFFT::paint(TQPainter *p, const TQRect &) @@ -376,7 +376,7 @@ void KJStereoFFT::mouseRelease(const TQPoint &, bool in) if (!in) // only do something if users is still inside the button return; stop(); - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope(Null); } @@ -387,7 +387,7 @@ void KJStereoFFT::readConfig() if ( v != StereoFFT ) { stop(); - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope ( v ); return; } @@ -448,7 +448,7 @@ void KJScope::scopeEvent(float *d, int size) if ( napp->player()->isStopped() ) { bitBlt ( mOsci, 0, 0, mBack, 0, 0, -1, -1, TQt::CopyROP ); - tqrepaint(); + repaint(); } return; } @@ -497,7 +497,7 @@ void KJScope::scopeEvent(float *d, int size) x++; } - tqrepaint(); + repaint(); } void KJScope::paint(TQPainter *p, const TQRect &) @@ -517,7 +517,7 @@ void KJScope::mouseRelease(const TQPoint &, bool in) return; stop(); - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope(/*Null*/ StereoFFT); } @@ -528,7 +528,7 @@ void KJScope::readConfig() if ( v != Mono ) { stop(); - parent()->tqrepaint(rect(), false); + parent()->repaint(rect(), false); swapScope ( v ); return; } |