summaryrefslogtreecommitdiffstats
path: root/src/playlistview.cpp
diff options
context:
space:
mode:
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;