diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | cdbd0571baaf836a247dd997a6c4ca3755506297 (patch) | |
tree | 866e171f53893a3bb109d25b954882a2a65d34c4 /src/kmplayerpartbase.cpp | |
parent | 63c4fb318b4b6c0c22fce659f0029e4b21112c86 (diff) | |
download | kmplayer-cdbd0571baaf836a247dd997a6c4ca3755506297.tar.gz kmplayer-cdbd0571baaf836a247dd997a6c4ca3755506297.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; } |