summaryrefslogtreecommitdiffstats
path: root/arts/tools/statusview.cpp
diff options
context:
space:
mode:
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();