From 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:33:46 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/gui/studio/AudioPluginOSCGUIManager.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/gui/studio/AudioPluginOSCGUIManager.cpp') 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)); } } } -- cgit v1.2.1