diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:33:46 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:33:46 -0600 |
commit | 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch) | |
tree | 19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/studio/AudioPluginOSCGUIManager.cpp | |
parent | e6d6692eda797b10f322a83ffdcf23fca719709e (diff) | |
download | rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip |
Rename a number of old tq methods that are no longer tq specific
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 01ade9c..13da726 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") - .tqarg(baseUrl) - .tqarg("plugin") - .tqarg(type) - .tqarg(instrument); + .arg(baseUrl) + .arg("plugin") + .arg(type) + .arg(instrument); if (position == int(Instrument::SYNTH_PLUGIN_POSITION)) { - url = url.tqarg("synth"); + url = url.arg("synth"); } else { - url = url.tqarg(position); + url = url.arg(position); } - url = url.tqarg(label); + url = url.arg(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").tqarg(strtoqstr(container->getPresentationName())); + return i18n("Rosegarden: %1").arg(strtoqstr(container->getPresentationName())); } else { - return i18n("Rosegarden: %1: %2").tqarg(strtoqstr(container->getPresentationName())) - .tqarg(i18n("Plugin slot %1").tqarg(position)); + return i18n("Rosegarden: %1: %2").arg(strtoqstr(container->getPresentationName())) + .arg(i18n("Plugin slot %1").arg(position)); } } } |