From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/commands/studio/ReconnectDeviceCommand.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/commands/studio/ReconnectDeviceCommand.cpp') diff --git a/src/commands/studio/ReconnectDeviceCommand.cpp b/src/commands/studio/ReconnectDeviceCommand.cpp index 6d40ede..3d28185 100644 --- a/src/commands/studio/ReconnectDeviceCommand.cpp +++ b/src/commands/studio/ReconnectDeviceCommand.cpp @@ -29,9 +29,9 @@ #include "misc/Debug.h" #include "base/Device.h" #include "base/Studio.h" -#include -#include -#include +#include +#include +#include #include "gui/application/RosegardenApplication.h" @@ -46,15 +46,15 @@ ReconnectDeviceCommand::execute() if (device) { m_oldConnection = device->getConnection(); - QByteArray data; - QByteArray replyData; - QCString replyType; - QDataStream arg(data, IO_WriteOnly); + TQByteArray data; + TQByteArray replyData; + TQCString replyType; + TQDataStream arg(data, IO_WriteOnly); arg << (unsigned int)m_deviceId; arg << strtoqstr(m_newConnection); - if (!rgapp->sequencerCall("setConnection(unsigned int, QString)", + if (!rgapp->sequencerCall("setConnection(unsigned int, TQString)", replyType, replyData, data)) { SEQMAN_DEBUG << "ReconnectDeviceCommand::execute - " << "failure in sequencer setConnection" << endl; @@ -74,15 +74,15 @@ ReconnectDeviceCommand::unexecute() if (device) { - QByteArray data; - QByteArray replyData; - QCString replyType; - QDataStream arg(data, IO_WriteOnly); + TQByteArray data; + TQByteArray replyData; + TQCString replyType; + TQDataStream arg(data, IO_WriteOnly); arg << (unsigned int)m_deviceId; arg << strtoqstr(m_oldConnection); - if (!rgapp->sequencerCall("setConnection(unsigned int, QString)", + if (!rgapp->sequencerCall("setConnection(unsigned int, TQString)", replyType, replyData, data)) { SEQMAN_DEBUG << "ReconnectDeviceCommand::unexecute - " << "failure in sequencer setConnection" << endl; -- cgit v1.2.3