diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:35 -0600 |
commit | 6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch) | |
tree | 5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/studio/AudioPluginOSCGUIManager.cpp | |
parent | 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff) | |
download | rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.tar.gz rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.
Diffstat (limited to 'src/gui/studio/AudioPluginOSCGUIManager.cpp')
-rw-r--r-- | src/gui/studio/AudioPluginOSCGUIManager.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/studio/AudioPluginOSCGUIManager.cpp b/src/gui/studio/AudioPluginOSCGUIManager.cpp index 13da726..01ade9c 100644 --- a/src/gui/studio/AudioPluginOSCGUIManager.cpp +++ b/src/gui/studio/AudioPluginOSCGUIManager.cpp @@ -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; } @@ -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)); } } } |