summaryrefslogtreecommitdiffstats
path: root/arts/tools/fftscopeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/tools/fftscopeview.cpp')
-rw-r--r--arts/tools/fftscopeview.cpp36
1 files changed, 18 insertions, 18 deletions
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 <qlayout.h>
-#include <qcursor.h>
-#include <qtimer.h>
+#include <tqlayout.h>
+#include <tqcursor.h>
+#include <tqtimer.h>
#include <kaction.h>
#include <kpopupmenu.h>
#include <kartswidget.h>
@@ -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()<<k_funcinfo<<endl;
}
updateScopeData();
- QBoxLayout * l = new QHBoxLayout( this );
+ TQBoxLayout * l = new TQHBoxLayout( this );
l->setAutoAdd( TRUE );
for ( unsigned int i=0;i<scopeData->size();i++ )
@@ -75,25 +75,25 @@ kdDebug()<<k_funcinfo<<endl;
l->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() {