From 63c4fb318b4b6c0c22fce659f0029e4b21112c86 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/kmplayervdr.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kmplayervdr.cpp') 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 (v->playList ()->tqfindItem (ch, 0)); + KMPlayer::PlayListItem * lvi = static_cast (v->playList ()->findItem (ch, 0)); if (lvi && lvi->node != m_last_channel) { KMPlayer::PlayListItem * si = static_cast (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 -- cgit v1.2.3