summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/ShowSequencerStatusDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/ShowSequencerStatusDialog.cpp')
-rw-r--r--src/gui/dialogs/ShowSequencerStatusDialog.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gui/dialogs/ShowSequencerStatusDialog.cpp b/src/gui/dialogs/ShowSequencerStatusDialog.cpp
index d98933c..240adfe 100644
--- a/src/gui/dialogs/ShowSequencerStatusDialog.cpp
+++ b/src/gui/dialogs/ShowSequencerStatusDialog.cpp
@@ -27,38 +27,38 @@
#include <klocale.h>
#include <kdialogbase.h>
-#include <qcstring.h>
-#include <qdatastream.h>
-#include <qlabel.h>
-#include <qstring.h>
-#include <qtextedit.h>
-#include <qvbox.h>
-#include <qwidget.h>
+#include <tqcstring.h>
+#include <tqdatastream.h>
+#include <tqlabel.h>
+#include <tqstring.h>
+#include <tqtextedit.h>
+#include <tqvbox.h>
+#include <tqwidget.h>
#include "gui/application/RosegardenApplication.h"
namespace Rosegarden
{
-ShowSequencerStatusDialog::ShowSequencerStatusDialog(QWidget *parent) :
+ShowSequencerStatusDialog::ShowSequencerStatusDialog(TQWidget *parent) :
KDialogBase(parent, 0, true, i18n("Sequencer status"), Close)
{
- QVBox *vbox = makeVBoxMainWidget();
+ TQVBox *vbox = makeVBoxMainWidget();
- new QLabel(i18n("Sequencer status:"), vbox);
+ new TQLabel(i18n("Sequencer status:"), vbox);
- QString status(i18n("Status not available."));
+ TQString status(i18n("Status not available."));
- QCString replyType;
- QByteArray replyData;
- QByteArray data;
+ TQCString replyType;
+ TQByteArray replyData;
+ TQByteArray data;
if (!rgapp->sequencerCall("getStatusLog()", replyType, replyData)) {
status = i18n("Sequencer is not running or is not responding.");
}
- QDataStream streamIn(replyData, IO_ReadOnly);
- QString result;
+ TQDataStream streamIn(replyData, IO_ReadOnly);
+ TQString result;
streamIn >> result;
if (!result) {
status = i18n("Sequencer is not returning a valid status report.");
@@ -66,7 +66,7 @@ ShowSequencerStatusDialog::ShowSequencerStatusDialog(QWidget *parent) :
status = result;
}
- QTextEdit *text = new QTextEdit(vbox);
+ TQTextEdit *text = new TQTextEdit(vbox);
text->setTextFormat(Qt::PlainText);
text->setReadOnly(true);
text->setMinimumWidth(500);