summaryrefslogtreecommitdiffstats
path: root/src/playlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlistview.cpp')
-rw-r--r--src/playlistview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/playlistview.cpp b/src/playlistview.cpp
index 2eae2ae..ce664c3 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 * parent, View * view, KActionCollection * ac)
- : KListView (parent, "kde_kmplayer_playlist"),
+KDE_NO_CDTOR_EXPORT PlayListView::PlayListView (TQWidget * parent, View * view, TDEActionCollection * ac)
+ : TDEListView (parent, "kde_kmplayer_playlist"),
m_view (view),
m_find_dialog (0L),
m_active_color (30, 0, 255),
@@ -337,7 +337,7 @@ KDE_NO_EXPORT TQDragObject * PlayListView::dragObject () {
KDE_NO_EXPORT void PlayListView::setFont (const TQFont & fnt) {
setTreeStepSize (TQFontMetrics (fnt).boundingRect ('m').width ());
- KListView::setFont (fnt);
+ TDEListView::setFont (fnt);
}
KDE_NO_EXPORT void PlayListView::contextMenuItem (TQListViewItem * vi, const TQPoint & p, int) {
@@ -530,14 +530,14 @@ KDE_NO_EXPORT void PlayListView::rename (TQListViewItem * qitem, int c) {
if (rootItem (qitem)->show_all_nodes && item && item->m_attr) {
PlayListItem * pi = static_cast <PlayListItem *> (qitem->parent ());
if (pi && pi->node && pi->node->isEditable ())
- KListView::rename (item, c);
+ TDEListView::rename (item, c);
} else if (item && item->node && item->node->isEditable ()) {
if (!rootItem (qitem)->show_all_nodes &&
item->node->isPlayable () &&
item->node->mrl ()->pretty_name.isEmpty ())
// populate() has crippled src, restore for editing
item->setText (0, item->node->mrl ()->src);
- KListView::rename (item, c);
+ TDEListView::rename (item, c);
}
}