diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:00:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:00:48 -0600 |
commit | 0308f7944757919f45f8217c4dd92ad751292c85 (patch) | |
tree | 57100e03f048bd77469400689da01f5cc1846eb4 /src/playlistview.cpp | |
parent | 9a053bb4167b94ac90dc9f9d46711582dbf0f689 (diff) | |
download | kmplayer-0308f7944757919f45f8217c4dd92ad751292c85.tar.gz kmplayer-0308f7944757919f45f8217c4dd92ad751292c85.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/playlistview.cpp')
-rw-r--r-- | src/playlistview.cpp | 10 |
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); } } |