summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/AudioPluginOSCGUIManager.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/AudioPluginOSCGUIManager.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/AudioPluginOSCGUIManager.cpp')
-rw-r--r--src/gui/studio/AudioPluginOSCGUIManager.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/studio/AudioPluginOSCGUIManager.cpp b/src/gui/studio/AudioPluginOSCGUIManager.cpp
index e3d61d7..6662a53 100644
--- a/src/gui/studio/AudioPluginOSCGUIManager.cpp
+++ b/src/gui/studio/AudioPluginOSCGUIManager.cpp
@@ -329,7 +329,7 @@ AudioPluginOSCGUIManager::updateConfiguration(InstrumentId instrument, int posit
m_guis[instrument][position]->sendConfiguration(key, value);
}
-QString
+TQString
AudioPluginOSCGUIManager::getOSCUrl(InstrumentId instrument, int position,
TQString identifier)
{
@@ -345,18 +345,18 @@ AudioPluginOSCGUIManager::getOSCUrl(InstrumentId instrument, int position,
baseUrl += '/';
TQString url = TQString("%1%2/%3/%4/%5/%6")
- .arg(baseUrl)
- .arg("plugin")
- .arg(type)
- .arg(instrument);
+ .tqarg(baseUrl)
+ .tqarg("plugin")
+ .tqarg(type)
+ .tqarg(instrument);
if (position == int(Instrument::SYNTH_PLUGIN_POSITION)) {
- url = url.arg("synth");
+ url = url.tqarg("synth");
} else {
- url = url.arg(position);
+ url = url.tqarg(position);
}
- url = url.arg(label);
+ url = url.tqarg(label);
return url;
}
@@ -435,7 +435,7 @@ AudioPluginOSCGUIManager::parseOSCPath(TQString path, InstrumentId &instrument,
return true;
}
-QString
+TQString
AudioPluginOSCGUIManager::getFriendlyName(InstrumentId instrument, int position,
TQString)
{
@@ -444,10 +444,10 @@ AudioPluginOSCGUIManager::getFriendlyName(InstrumentId instrument, int position,
return i18n("Rosegarden Plugin");
else {
if (position == int(Instrument::SYNTH_PLUGIN_POSITION)) {
- return i18n("Rosegarden: %1").arg(strtoqstr(container->getPresentationName()));
+ return i18n("Rosegarden: %1").tqarg(strtoqstr(container->getPresentationName()));
} else {
- return i18n("Rosegarden: %1: %2").arg(strtoqstr(container->getPresentationName()))
- .arg(i18n("Plugin slot %1").arg(position));
+ return i18n("Rosegarden: %1: %2").tqarg(strtoqstr(container->getPresentationName()))
+ .tqarg(i18n("Plugin slot %1").tqarg(position));
}
}
}