diff options
Diffstat (limited to 'src/kmplayertvsource.cpp')
-rw-r--r-- | src/kmplayertvsource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kmplayertvsource.cpp b/src/kmplayertvsource.cpp index 9596879..93b4f27 100644 --- a/src/kmplayertvsource.cpp +++ b/src/kmplayertvsource.cpp @@ -213,7 +213,7 @@ KDE_NO_CDTOR_EXPORT TVInput::TVInput (KMPlayer::NodePtr & d) : TVNode (d, TQStri KDE_NO_EXPORT KMPlayer::NodePtr TVInput::childFromTag (const TQString & tag) { // kdDebug () << nodeName () << " childFromTag " << tag << endl; - if (tag == TQString::tqfromLatin1 ("channel")) { + if (tag == TQString::fromLatin1 ("channel")) { return new TVChannel (m_doc); } else return 0L; @@ -252,7 +252,7 @@ KDE_NO_CDTOR_EXPORT TVDevice::~TVDevice () { KDE_NO_EXPORT KMPlayer::NodePtr TVDevice::childFromTag (const TQString & tag) { // kdDebug () << nodeName () << " childFromTag " << tag << endl; - if (tag == TQString::tqfromLatin1 ("input")) + if (tag == TQString::fromLatin1 ("input")) return new TVInput (m_doc); return 0L; } @@ -323,7 +323,7 @@ TVDocument::TVDocument (KMPlayerTVSource * source) KDE_NO_EXPORT KMPlayer::NodePtr TVDocument::childFromTag (const TQString & tag) { // kdDebug () << nodeName () << " childFromTag " << tag << endl; - if (tag == TQString::tqfromLatin1 ("device")) + if (tag == TQString::fromLatin1 ("device")) return new TVDevice (m_doc); return FileDocument::childFromTag (tag); } @@ -377,7 +377,7 @@ KDE_NO_EXPORT void KMPlayerTVSource::activate () { KMPlayer::Source::reset (); buildArguments (); if (m_cur_tvdevice) { - TQString playback = static_cast <KMPlayer::Element *> (m_cur_tvdevice.ptr ())->getAttribute (TQString::tqfromLatin1 ("playback")); + TQString playback = static_cast <KMPlayer::Element *> (m_cur_tvdevice.ptr ())->getAttribute (TQString::fromLatin1 ("playback")); if (playback.isEmpty () || playback.toInt ()) TQTimer::singleShot (0, m_player, TQT_SLOT (play ())); } |