summaryrefslogtreecommitdiffstats
path: root/src/playlistview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitcdbd0571baaf836a247dd997a6c4ca3755506297 (patch)
tree866e171f53893a3bb109d25b954882a2a65d34c4 /src/playlistview.cpp
parent63c4fb318b4b6c0c22fce659f0029e4b21112c86 (diff)
downloadkmplayer-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/playlistview.cpp')
-rw-r--r--src/playlistview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/playlistview.cpp b/src/playlistview.cpp
index ef4af01..20a761e 100644
--- a/src/playlistview.cpp
+++ b/src/playlistview.cpp
@@ -106,8 +106,8 @@ KDE_NO_CDTOR_EXPORT void RootPlayListItem::paintCell (TQPainter * p, const TQCol
//-----------------------------------------------------------------------------
-KDE_NO_CDTOR_EXPORT PlayListView::PlayListView (TQWidget * tqparent, View * view, KActionCollection * ac)
- : KListView (tqparent, "kde_kmplayer_playlist"),
+KDE_NO_CDTOR_EXPORT PlayListView::PlayListView (TQWidget * parent, View * view, KActionCollection * ac)
+ : KListView (parent, "kde_kmplayer_playlist"),
m_view (view),
m_find_dialog (0L),
m_active_color (30, 0, 255),
@@ -388,8 +388,8 @@ void PlayListView::itemExpanded (TQListViewItem * item) {
RootPlayListItem * PlayListView::rootItem (TQListViewItem * item) const {
if (!item)
return 0L;
- while (item->tqparent ())
- item = item->tqparent ();
+ while (item->parent ())
+ item = item->parent ();
return static_cast <RootPlayListItem *> (item);
}
@@ -458,7 +458,7 @@ KDE_NO_EXPORT void PlayListView::itemDropped (TQDropEvent * de, TQListViewItem *
if (!after) { // could still be a descendent
after = itemAt (contentsToViewport (de->pos ()));
if (after)
- after = after->tqparent ();
+ after = after->parent ();
}
if (after) {
RootPlayListItem * ritem = rootItem (after);
@@ -514,7 +514,7 @@ KDE_NO_EXPORT void PlayListView::itemIsRenamed (TQListViewItem * qitem) {
item->m_attr->setName (txt);
item->m_attr->setValue (TQString (""));
}
- PlayListItem * pi = static_cast <PlayListItem *> (item->tqparent ());
+ PlayListItem * pi = static_cast <PlayListItem *> (item->parent ());
if (pi && pi->node)
pi->node->document ()->m_tree_version++;
}
@@ -528,7 +528,7 @@ KDE_NO_EXPORT void PlayListView::itemIsSelected (TQListViewItem * qitem) {
KDE_NO_EXPORT void PlayListView::rename (TQListViewItem * qitem, int c) {
PlayListItem * item = static_cast <PlayListItem *> (qitem);
if (rootItem (qitem)->show_all_nodes && item && item->m_attr) {
- PlayListItem * pi = static_cast <PlayListItem *> (qitem->tqparent ());
+ PlayListItem * pi = static_cast <PlayListItem *> (qitem->parent ());
if (pi && pi->node && pi->node->isEditable ())
KListView::rename (item, c);
} else if (item && item->node && item->node->isEditable ()) {
@@ -590,7 +590,7 @@ KDE_NO_EXPORT void PlayListView::slotFindOk () {
m_current_find_elm = lvi->node;
current_find_tree_id = rootItem (lvi)->id;
} else if (lvi && lvi->m_attr) {
- PlayListItem*pi=static_cast<PlayListItem*>(currentItem()->tqparent());
+ PlayListItem*pi=static_cast<PlayListItem*>(currentItem()->parent());
if (pi) {
m_current_find_attr = lvi->m_attr;
m_current_find_elm = pi->node;