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/statusview.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'arts/tools/statusview.cpp') diff --git a/arts/tools/statusview.cpp b/arts/tools/statusview.cpp index 7c1454e1..c29cf4ed 100644 --- a/arts/tools/statusview.cpp +++ b/arts/tools/statusview.cpp @@ -21,28 +21,28 @@ */ -#include +#include #include -#include -#include -#include -#include +#include +#include +#include +#include #include "statusview.h" using namespace std; using namespace Arts; -ArtsStatusView::ArtsStatusView(Arts::SoundServer a_server, QWidget* parent, const char* name ) +ArtsStatusView::ArtsStatusView(Arts::SoundServer a_server, TQWidget* parent, const char* name ) : Template_ArtsView( parent,name ) , server(a_server) { this->setCaption( i18n( "aRts Status" ) ); - QBoxLayout *l= new QVBoxLayout(this); + TQBoxLayout *l= new TQVBoxLayout(this); //l->setAutoAdd(TRUE); RealtimeStatus rs= server.realtimeStatus(); - l->addWidget(new QLabel(rs==rtRealtime? + l->addWidget(new TQLabel(rs==rtRealtime? i18n("Artsd is running with realtime scheduling."): rs==rtNoSupport? i18n("Your system does not support realtime scheduling."): @@ -54,19 +54,19 @@ ArtsStatusView::ArtsStatusView(Arts::SoundServer a_server, QWidget* parent, cons this, "realtimeLabel")); l->addSpacing(10); - suspendLabel= new QLabel(i18n("Determining suspend status..."), + suspendLabel= new TQLabel(i18n("Determining suspend status..."), this, "suspendLabel"); l->addWidget(suspendLabel); l->addSpacing(6); l->setMargin(6); - suspendButton= new QPushButton(this, "suspendButton"); + suspendButton= new TQPushButton(this, "suspendButton"); suspendButton->setText(i18n("&Suspend Now")); l->addWidget(suspendButton); - connect(suspendButton, SIGNAL(clicked()), this, SLOT(suspendButtonClicked())); + connect(suspendButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(suspendButtonClicked())); - artsPollStatusTimer= new QTimer(this); - connect(artsPollStatusTimer, SIGNAL(timeout()), this, SLOT(updateStatus())); + artsPollStatusTimer= new TQTimer(this); + connect(artsPollStatusTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateStatus())); artsPollStatusTimer->start(1000); //l->activate(); show(); -- cgit v1.2.1