summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/ShowSequencerStatusDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/dialogs/ShowSequencerStatusDialog.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);