diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 80ee419f074dc252449791628d4584b5c0ea0c9b (patch) | |
tree | fba229106f296da317a8f925f32d76841386c026 /src/sound/AlsaDriver.cpp | |
parent | bb426283a6b45a18f99a8be445438e8f4deeea55 (diff) | |
download | rosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.tar.gz rosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sound/AlsaDriver.cpp')
-rw-r--r-- | src/sound/AlsaDriver.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sound/AlsaDriver.cpp b/src/sound/AlsaDriver.cpp index f49e4a5..f486ac7 100644 --- a/src/sound/AlsaDriver.cpp +++ b/src/sound/AlsaDriver.cpp @@ -1154,7 +1154,7 @@ AlsaDriver::renameDevice(DeviceId id, TQString name) snd_seq_get_port_info(m_midiHandle, i->second, pinfo); TQString oldName = snd_seq_port_info_get_name(pinfo); - int sep = oldName.tqfind(" - "); + int sep = oldName.find(" - "); TQString newName; @@ -1383,20 +1383,20 @@ AlsaDriver::setPlausibleConnection(DeviceId id, TQString idealConnection) // of the requested string. int client = -1; - int colon = idealConnection.tqfind(":"); + int colon = idealConnection.find(":"); if (colon >= 0) client = idealConnection.left(colon).toInt(); int portNo = -1; if (client > 0) { TQString remainder = idealConnection.mid(colon + 1); - int space = remainder.tqfind(" "); + int space = remainder.find(" "); if (space >= 0) portNo = remainder.left(space).toInt(); } - int firstSpace = idealConnection.tqfind(" "); - int endOfText = idealConnection.tqfind(TQRegExp("[^\\w ]"), firstSpace); + int firstSpace = idealConnection.find(" "); + int endOfText = idealConnection.find(TQRegExp("[^\\w ]"), firstSpace); TQString text; if (endOfText < 2) { @@ -1448,7 +1448,7 @@ AlsaDriver::setPlausibleConnection(DeviceId id, TQString idealConnection) } if (testName && text != "" && - !TQString(port->m_name.c_str()).tqcontains(text)) + !TQString(port->m_name.c_str()).contains(text)) continue; if (testUsed) { |