summaryrefslogtreecommitdiffstats
path: root/arts/tools/statusview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/tools/statusview.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/tools/statusview.cpp')
-rw-r--r--arts/tools/statusview.cpp26
1 files changed, 13 insertions, 13 deletions
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 <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
-#include <qpushbutton.h>
-#include <qwidget.h>
-#include <qtimer.h>
-#include <qlabel.h>
+#include <tqpushbutton.h>
+#include <tqwidget.h>
+#include <tqtimer.h>
+#include <tqlabel.h>
#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();