summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/StudioControl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/gui/studio/StudioControl.cpp
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/studio/StudioControl.cpp')
-rw-r--r--src/gui/studio/StudioControl.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/studio/StudioControl.cpp b/src/gui/studio/StudioControl.cpp
index 6a4d643..04a838c 100644
--- a/src/gui/studio/StudioControl.cpp
+++ b/src/gui/studio/StudioControl.cpp
@@ -60,7 +60,7 @@ streamOut << (int)type;
if (!rgapp->sequencerCall("createMappedObject(int)",
replyType, replyData, data))
{
- SEQMAN_DEBUG << "createStudioObject - "
+ SETQMAN_DEBUG << "createStudioObject - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else
@@ -87,7 +87,7 @@ StudioControl::destroyStudioObject(MappedObjectId id)
if (!rgapp->sequencerCall("destroyMappedObject(int)",
replyType, replyData, data)) {
- SEQMAN_DEBUG << "destroyStudioObject - "
+ SETQMAN_DEBUG << "destroyStudioObject - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else {
@@ -119,7 +119,7 @@ StudioControl::getStudioObjectProperty(MappedObjectId id,
if (!rgapp->sequencerCall("getPropertyList(int, TQString)",
replyType, replyData, data)) {
- SEQMAN_DEBUG << "getStudioObjectProperty - "
+ SETQMAN_DEBUG << "getStudioObjectProperty - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else {
@@ -224,7 +224,7 @@ StudioControl::getStudioObjectByType(MappedObject::MappedObjectType type)
if (!rgapp->sequencerCall("getMappedObjectId(int)",
replyType, replyData, data)) {
- SEQMAN_DEBUG << "getStudioObjectByType - "
+ SETQMAN_DEBUG << "getStudioObjectByType - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else {
@@ -271,7 +271,7 @@ StudioControl::getStudioPluginPort(MappedObjectId pluginId,
if (!rgapp->sequencerCall("getMappedPort(int, unsigned long int)",
replyType, replyData, data)) {
- SEQMAN_DEBUG << "getStudioPluginPort - "
+ SETQMAN_DEBUG << "getStudioPluginPort - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else {
@@ -293,7 +293,7 @@ StudioControl::getPluginInformation()
if (!rgapp->sequencerCall("getPluginInformation()",
replyType, replyData, data)) {
- SEQMAN_DEBUG << "getPluginInformation - "
+ SETQMAN_DEBUG << "getPluginInformation - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else {
@@ -304,7 +304,7 @@ StudioControl::getPluginInformation()
return list;
}
-QString
+TQString
StudioControl::getPluginProgram(MappedObjectId id, int bank, int program)
{
TQByteArray data;
@@ -320,7 +320,7 @@ StudioControl::getPluginProgram(MappedObjectId id, int bank, int program)
if (!rgapp->sequencerCall("getPluginProgram(int, int, int)",
replyType, replyData, data)) {
- SEQMAN_DEBUG << "getPluginProgram - "
+ SETQMAN_DEBUG << "getPluginProgram - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else {
@@ -346,7 +346,7 @@ StudioControl::getPluginProgram(MappedObjectId id, TQString name)
if (!rgapp->sequencerCall("getPluginProgram(int, TQString)",
replyType, replyData, data)) {
- SEQMAN_DEBUG << "getPluginProgram - "
+ SETQMAN_DEBUG << "getPluginProgram - "
<< "failed to contact Rosegarden sequencer"
<< endl;
} else {
@@ -370,7 +370,7 @@ StudioControl::connectStudioObjects(MappedObjectId id1,
streamOut << (int)id2;
if (!rgapp->sequencerSend("connectMappedObjects(int, int)", data)) {
- SEQMAN_DEBUG << "connectStudioObjects - "
+ SETQMAN_DEBUG << "connectStudioObjects - "
<< "failed to contact Rosegarden sequencer"
<< endl;
}
@@ -391,7 +391,7 @@ StudioControl::disconnectStudioObjects(MappedObjectId id1,
streamOut << (int)id2;
if (!rgapp->sequencerSend("disconnectMappedObjects(int, int)", data)) {
- SEQMAN_DEBUG << "disconnectStudioObjects - "
+ SETQMAN_DEBUG << "disconnectStudioObjects - "
<< "failed to contact Rosegarden sequencer"
<< endl;
}
@@ -410,7 +410,7 @@ StudioControl::disconnectStudioObject(MappedObjectId id)
streamOut << (int)id;
if (!rgapp->sequencerSend("disconnectMappedObject(int)", data)) {
- SEQMAN_DEBUG << "disconnectStudioObject - "
+ SETQMAN_DEBUG << "disconnectStudioObject - "
<< "failed to contact Rosegarden sequencer"
<< endl;
}