summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/AudioPluginOSCGUIManager.cpp
diff options
context:
space:
mode:
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));
}
}
}