From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- arts/tools/fftscopeview.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'arts/tools/fftscopeview.cpp') diff --git a/arts/tools/fftscopeview.cpp b/arts/tools/fftscopeview.cpp index 20d9fb70..fcaa5304 100644 --- a/arts/tools/fftscopeview.cpp +++ b/arts/tools/fftscopeview.cpp @@ -22,9 +22,9 @@ #include "fftscopeview.h" -#include -#include -#include +#include +#include +#include #include #include #include @@ -37,7 +37,7 @@ using namespace std; using namespace Arts; -FFTScopeView::FFTScopeView( SimpleSoundServer server, QWidget* parent ) +FFTScopeView::FFTScopeView( SimpleSoundServer server, TQWidget* parent ) : Template_ArtsView( parent ) , server( server ) , scopeData( 0 ) @@ -59,7 +59,7 @@ kdDebug()<setAutoAdd( TRUE ); for ( unsigned int i=0;isize();i++ ) @@ -75,25 +75,25 @@ kdDebug()<activate(); show(); - updatetimer = new QTimer( this ); + updatetimer = new TQTimer( this ); updatetimer->start( 100 ); - connect( updatetimer,SIGNAL( timeout() ),this,SLOT( updateScope() ) ); + connect( updatetimer,TQT_SIGNAL( timeout() ),this,TQT_SLOT( updateScope() ) ); _artsactions = new ArtsActions( 0, 0, this ); - _moreBars = ArtsActions::actionMoreBars( this, SLOT( moreBars() ), 0 ); - _lessBars = ArtsActions::actionLessBars( this, SLOT( lessBars() ), 0 ); + _moreBars = ArtsActions::actionMoreBars( this, TQT_SLOT( moreBars() ), 0 ); + _lessBars = ArtsActions::actionLessBars( this, TQT_SLOT( lessBars() ), 0 ); _menu = new KPopupMenu( 0 ); _moreBars->plug( _menu ); _lessBars->plug( _menu ); - _substyle = new KAction( i18n( "Substyle" ), "", KShortcut(), this, SLOT( substyle() ), this ); + _substyle = new KAction( i18n( "Substyle" ), "", KShortcut(), this, TQT_SLOT( substyle() ), this ); _substyle->plug( _menu ); _menu->insertItem( i18n("VU-Style"), _artsactions->stylemenu() ); - connect( _artsactions, SIGNAL( styleNormal() ), this, SLOT( styleNormalBars() ) ); - connect( _artsactions, SIGNAL( styleFire() ), this, SLOT( styleFireBars() ) ); - connect( _artsactions, SIGNAL( styleLine() ), this, SLOT( styleLineBars() ) ); - connect( _artsactions, SIGNAL( styleLED() ), this, SLOT( styleLEDs() ) ); - connect( _artsactions, SIGNAL( styleAnalog() ), this, SLOT( styleAnalog() ) ); - connect( _artsactions, SIGNAL( styleSmall() ), this, SLOT( styleSmall() ) ); + connect( _artsactions, TQT_SIGNAL( styleNormal() ), this, TQT_SLOT( styleNormalBars() ) ); + connect( _artsactions, TQT_SIGNAL( styleFire() ), this, TQT_SLOT( styleFireBars() ) ); + connect( _artsactions, TQT_SIGNAL( styleLine() ), this, TQT_SLOT( styleLineBars() ) ); + connect( _artsactions, TQT_SIGNAL( styleLED() ), this, TQT_SLOT( styleLEDs() ) ); + connect( _artsactions, TQT_SIGNAL( styleAnalog() ), this, TQT_SLOT( styleAnalog() ) ); + connect( _artsactions, TQT_SIGNAL( styleSmall() ), this, TQT_SLOT( styleSmall() ) ); } FFTScopeView::~FFTScopeView() { @@ -121,9 +121,9 @@ void FFTScopeView::updateScope() { } } -void FFTScopeView::mousePressEvent( QMouseEvent* ev ) { +void FFTScopeView::mousePressEvent( TQMouseEvent* ev ) { if ( Qt::RightButton == ev->button() /*|| Qt::LeftButton == ev->button()*/ ) - _menu->exec( QCursor::pos() ); + _menu->exec( TQCursor::pos() ); } void FFTScopeView::moreBars() { -- cgit v1.2.1