From 0308f7944757919f45f8217c4dd92ad751292c85 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:00:48 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/playlistview.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/playlistview.cpp') 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 (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); } } -- cgit v1.2.1