diff options
Diffstat (limited to 'src/kmplayertvsource.cpp')
| -rw-r--r-- | src/kmplayertvsource.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kmplayertvsource.cpp b/src/kmplayertvsource.cpp index eaa73c6..f970fbb 100644 --- a/src/kmplayertvsource.cpp +++ b/src/kmplayertvsource.cpp @@ -224,7 +224,7 @@ KDE_NO_EXPORT void TVInput::closed () {  }  KDE_NO_EXPORT void TVInput::setNodeName (const TQString & name) { -    Node * p = tqparentNode ().ptr (); +    Node * p = parentNode ().ptr ();      TQString nm (name);      if (p && p->id == id_node_tv_device) {          int pos = name.tqfind (TQString (" - ") + p->mrl ()->pretty_name); @@ -409,7 +409,7 @@ void KMPlayerTVSource::jump (KMPlayer::NodePtr e) {          readXML ();      } else {          m_current = e; -        for (; e; e = e->tqparentNode ()) { +        for (; e; e = e->parentNode ()) {              if (e->id == id_node_tv_device) {                  m_cur_tvdevice = e;                  break; @@ -436,14 +436,14 @@ KDE_NO_EXPORT void KMPlayerTVSource::buildArguments () {      KMPlayer::NodePtr elm = m_current;      if (elm && elm->id == id_node_tv_channel) {          channel = KMPlayer::convertNode <TVChannel> (elm); -        elm = elm->tqparentNode (); +        elm = elm->parentNode ();      }      if (elm && elm->id == id_node_tv_input)          input = KMPlayer::convertNode <TVInput> (elm);      if (!(channel || (input && input->getAttribute ("tuner").isEmpty ())))          return;      m_cur_tvinput = input; -    m_cur_tvdevice = input->tqparentNode (); +    m_cur_tvdevice = input->parentNode ();      static_cast <KMPlayer::View*>(m_player->view ())->playList ()->updateTree (0, m_cur_tvinput, m_current, true, false);      if (m_cur_tvdevice->id != id_node_tv_device) {          return; @@ -698,8 +698,8 @@ KDE_NO_EXPORT void TVDeviceScannerSource::activate () {  KDE_NO_EXPORT void TVDeviceScannerSource::deactivate () {      kdDebug () << "TVDeviceScannerSource::deactivate" << endl;      if (m_tvdevice) { -        if (m_tvdevice->tqparentNode ()) -            m_tvdevice->tqparentNode ()->removeChild (m_tvdevice); +        if (m_tvdevice->parentNode ()) +            m_tvdevice->parentNode ()->removeChild (m_tvdevice);          m_tvdevice = 0L;          emit scanFinished (m_tvdevice);      }  | 
