From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: TQt4 port kdemultimedia This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmix/mixertoolbox.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmix/mixertoolbox.cpp') diff --git a/kmix/mixertoolbox.cpp b/kmix/mixertoolbox.cpp index 66e0241c..c4953221 100644 --- a/kmix/mixertoolbox.cpp +++ b/kmix/mixertoolbox.cpp @@ -146,16 +146,16 @@ void MixerToolBox::initMixer(TQPtrList &mixers, bool multiDriverMode, TQS * %3, the mixer number, is a number: it does not contain colons. */ TQString mixerName = mixer->mixerName(); - mixerName.replace(":","_"); + mixerName.tqreplace(":","_"); TQString primaryKeyOfMixer = TQString("%1::%2:%3") - .arg(driverName) - .arg(mixerName) - .arg(mixerNums[mixer->mixerName()]); + .tqarg(driverName) + .tqarg(mixerName) + .tqarg(mixerNums[mixer->mixerName()]); // The following 3 replaces are for not messing up the config file - primaryKeyOfMixer.replace("]","_"); - primaryKeyOfMixer.replace("[","_"); // not strictly neccesary, but lets play safe - primaryKeyOfMixer.replace(" ","_"); - primaryKeyOfMixer.replace("=","_"); + primaryKeyOfMixer.tqreplace("]","_"); + primaryKeyOfMixer.tqreplace("[","_"); // not strictly neccesary, but lets play safe + primaryKeyOfMixer.tqreplace(" ","_"); + primaryKeyOfMixer.tqreplace("=","_"); mixer->setID(primaryKeyOfMixer); -- cgit v1.2.3