diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:03:25 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:03:25 -0600 |
commit | 92dbbb6df3e58ad95176dae636a2fc22c2533f54 (patch) | |
tree | c505e062c1f24e62a81070db2bddfaf29024e6cd /src/playlistview.cpp | |
parent | e0f85b11f69e4c88f789ee47c9e5fd1df579b54d (diff) | |
download | kmplayer-92dbbb6df3e58ad95176dae636a2fc22c2533f54.tar.gz kmplayer-92dbbb6df3e58ad95176dae636a2fc22c2533f54.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/playlistview.cpp')
-rw-r--r-- | src/playlistview.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/playlistview.cpp b/src/playlistview.cpp index a8b69e3..5e045a4 100644 --- a/src/playlistview.cpp +++ b/src/playlistview.cpp @@ -125,15 +125,15 @@ KDE_NO_CDTOR_EXPORT PlayListView::PlayListView (TQWidget * parent, View * view, setPaletteBackgroundColor (TQColor (0, 0, 0)); setPaletteForegroundColor (TQColor (0xB2, 0xB2, 0xB2)); m_itemmenu = new TQPopupMenu (this); - folder_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("folder"), KIcon::Small); - auxiliary_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("folder_grey"), KIcon::Small); - video_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("video"), KIcon::Small); - info_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("messagebox_info"), KIcon::Small); - img_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("colorize"), KIcon::Small); - unknown_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("unknown"), KIcon::Small); - menu_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("player_playlist"), KIcon::Small); - config_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("configure"), KIcon::Small); - url_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("www"), KIcon::Small); + folder_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("folder"), TDEIcon::Small); + auxiliary_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("folder_grey"), TDEIcon::Small); + video_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("video"), TDEIcon::Small); + info_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("messagebox_info"), TDEIcon::Small); + img_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("colorize"), TDEIcon::Small); + unknown_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("unknown"), TDEIcon::Small); + menu_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("player_playlist"), TDEIcon::Small); + config_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("configure"), TDEIcon::Small); + url_pix = TDEGlobal::iconLoader ()->loadIcon (TQString ("www"), TDEIcon::Small); m_find = KStdAction::find (TQT_TQOBJECT(this), TQT_SLOT (slotFind ()), ac, "find"); m_find_next = KStdAction::findNext (TQT_TQOBJECT(this), TQT_SLOT(slotFindNext()), ac, "next"); m_find_next->setEnabled (false); @@ -157,7 +157,7 @@ int PlayListView::addTree (NodePtr root, const TQString & source, const TQString ritem->source = source; ritem->icon = icon; ritem->setPixmap (0, !ritem->icon.isEmpty () - ? TDEGlobal::iconLoader ()->loadIcon (ritem->icon, KIcon::Small) + ? TDEGlobal::iconLoader ()->loadIcon (ritem->icon, TDEIcon::Small) : url_pix); updateTree (ritem, 0L, false); return last_id; @@ -351,7 +351,7 @@ KDE_NO_EXPORT void PlayListView::contextMenuItem (TQListViewItem * vi, const TQP m_itemmenu->clear (); } m_itemmenu->insertItem (TDEGlobal::iconLoader ()->loadIconSet - (TQString ("editcopy"), KIcon::Small, 0, true), + (TQString ("editcopy"), TDEIcon::Small, 0, true), i18n ("&Copy to Clipboard"), this, TQT_SLOT (copyToClipboard ()), 0, 0); if (item->m_attr || @@ -359,7 +359,7 @@ KDE_NO_EXPORT void PlayListView::contextMenuItem (TQListViewItem * vi, const TQP item->node->isDocument ()) && item->node->mrl ()->bookmarkable)) m_itemmenu->insertItem (TDEGlobal::iconLoader ()->loadIconSet - (TQString ("bookmark_add"), KIcon::Small, 0, true), + (TQString ("bookmark_add"), TDEIcon::Small, 0, true), i18n ("&Add Bookmark"), this, TQT_SLOT (addBookMark ()), 0, 1); if (ritem->have_dark_nodes) { |