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 | 63c4fb318b4b6c0c22fce659f0029e4b21112c86 (patch) | |
tree | 9bb206b2d90ed5fe44cea4fcb5732b6741eaaa3e /src/kmplayervdr.cpp | |
parent | 0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff (diff) | |
download | kmplayer-63c4fb318b4b6c0c22fce659f0029e4b21112c86.tar.gz kmplayer-63c4fb318b4b6c0c22fce659f0029e4b21112c86.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kmplayervdr.cpp')
-rw-r--r-- | src/kmplayervdr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kmplayervdr.cpp b/src/kmplayervdr.cpp index 955eb90..753aa00 100644 --- a/src/kmplayervdr.cpp +++ b/src/kmplayervdr.cpp @@ -373,8 +373,8 @@ KDE_NO_EXPORT void KMPlayerVDRSource::readyRead () { cmd_done = (line.length () > 3 && line[3] == ' '); // from svdrpsend.pl // kdDebug () << "readyRead " << cmd_done << " " << commands->command << endl; if (!strcmp (commands->command, cmd_list_channels) && m_document) { - int p = line.tqfind (';'); - int q = line.tqfind (':'); + int p = line.find (';'); + int q = line.find (':'); if (q > 0 && (p < 0 || q < p)) p = q; if (p > 0) @@ -393,7 +393,7 @@ KDE_NO_EXPORT void KMPlayerVDRSource::readyRead () { if (v && line.length () > 4) { TQString ch = line.mid (4); setTitle (ch); - KMPlayer::PlayListItem * lvi = static_cast <KMPlayer::PlayListItem *> (v->playList ()->tqfindItem (ch, 0)); + KMPlayer::PlayListItem * lvi = static_cast <KMPlayer::PlayListItem *> (v->playList ()->findItem (ch, 0)); if (lvi && lvi->node != m_last_channel) { KMPlayer::PlayListItem * si = static_cast <KMPlayer::PlayListItem *> (v->playList ()->selectedItem ()); bool jump_selection = (si && (si->node == m_document || si->node == m_last_channel)); @@ -417,7 +417,7 @@ KDE_NO_EXPORT void KMPlayerVDRSource::readyRead () { } } } else if (cmd_done && !strcmp(commands->command,cmd_volume_query)){ - int pos = line.tqfindRev (TQChar (' ')); + int pos = line.findRev (TQChar (' ')); if (pos > 0) { TQString vol = line.mid (pos + 1); if (!vol.compare ("mute")) @@ -534,7 +534,7 @@ KDE_NO_EXPORT void KMPlayerVDRSource::jump (KMPlayer::NodePtr e) { KDE_NO_EXPORT void KMPlayerVDRSource::jump (const TQString & channel) { TQCString c ("CHAN "); TQCString ch = channel.local8Bit (); - int p = ch.tqfind (' '); + int p = ch.find (' '); if (p > 0) c += ch.left (p); else |