diff options
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 |