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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/arts/tools/statusview.cpp b/arts/tools/statusview.cpp
index fdcd6c8f..37d8cbe2 100644
--- a/arts/tools/statusview.cpp
+++ b/arts/tools/statusview.cpp
@@ -21,7 +21,7 @@
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <tqpushbutton.h>
#include <tqwidget.h>
@@ -41,7 +41,7 @@ ArtsStatusView::ArtsStatusView(Arts::SoundServer a_server, TQWidget* parent, con
TQBoxLayout *l= new TQVBoxLayout(this);
//l->setAutoAdd(TRUE);
- RealtimeStatus rs= server.realtimeStatus();
+ RealtimetqStatus rs= server.realtimetqStatus();
l->addWidget(new TQLabel(rs==rtRealtime?
i18n("Artsd is running with realtime scheduling."):
rs==rtNoSupport?
@@ -66,7 +66,7 @@ ArtsStatusView::ArtsStatusView(Arts::SoundServer a_server, TQWidget* parent, con
connect(suspendButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(suspendButtonClicked()));
artsPollStatusTimer= new TQTimer(this);
- connect(artsPollStatusTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateStatus()));
+ connect(artsPollStatusTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updatetqStatus()));
artsPollStatusTimer->start(1000);
//l->activate();
show();
@@ -77,7 +77,7 @@ void ArtsStatusView::suspendButtonClicked()
(void)server.suspend(); // TODO: error msg if suspend not possible?
}
-void ArtsStatusView::updateStatus()
+void ArtsStatusView::updatetqStatus()
{
long seconds= server.secondsUntilSuspend();
if (seconds<0)