diff options
Diffstat (limited to 'src/kmplayerpartbase.cpp')
-rw-r--r-- | src/kmplayerpartbase.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kmplayerpartbase.cpp b/src/kmplayerpartbase.cpp index f3cfa75..00c83e8 100644 --- a/src/kmplayerpartbase.cpp +++ b/src/kmplayerpartbase.cpp @@ -105,11 +105,11 @@ inline BookmarkManager::BookmarkManager(const TQString & bmfile) //----------------------------------------------------------------------------- -PartBase::PartBase (TQWidget * wtqparent, const char *wname, - TQObject * tqparent, const char *name, KConfig * config) - : KMediaPlayer::Player (wtqparent, wname ? wname : "kde_kmplayer_view", tqparent, name ? name : "kde_kmplayer_part"), +PartBase::PartBase (TQWidget * wparent, const char *wname, + TQObject * parent, const char *name, KConfig * config) + : KMediaPlayer::Player (wparent, wname ? wname : "kde_kmplayer_view", parent, name ? name : "kde_kmplayer_part"), m_config (config), - m_view (new View (wtqparent, wname ? wname : "kde_kmplayer_view")), + m_view (new View (wparent, wname ? wname : "kde_kmplayer_view")), m_settings (new Settings (this, config)), m_recorder (0L), m_source (0L), @@ -659,7 +659,7 @@ KDE_NO_EXPORT void PartBase::playListItemExecuted (TQListViewItem * item) { vi->m_attr->name () == "data") { TQString src (vi->m_attr->value ()); if (!src.isEmpty ()) { - PlayListItem * pi = static_cast <PlayListItem*>(item->tqparent()); + PlayListItem * pi = static_cast <PlayListItem*>(item->parent()); if (pi) { for (NodePtr e = pi->node; e; e = e->parentNode ()) { Mrl * mrl = e->mrl (); @@ -744,8 +744,8 @@ void PartBase::play () { PlayListItem * lvi = m_view->playList ()->currentPlayListItem (); if (lvi) { // make sure it's in the first tree TQListViewItem * pitem = lvi; - while (pitem->tqparent()) - pitem = pitem->tqparent(); + while (pitem->parent()) + pitem = pitem->parent(); if (pitem != m_view->playList ()->firstChild ()) lvi = 0L; } |