summaryrefslogtreecommitdiffstats
path: root/src/playlistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:21:05 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:21:05 -0600
commita34aeb25a3006e5a708ec955159226e8b197dc27 (patch)
treeb28fca30332cff7880bce1e4d3f708d4fd212402 /src/playlistview.cpp
parent1366d753b98b2e33452ed46656bff8764e879862 (diff)
downloadkmplayer-a34aeb25a3006e5a708ec955159226e8b197dc27.tar.gz
kmplayer-a34aeb25a3006e5a708ec955159226e8b197dc27.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/playlistview.cpp')
-rw-r--r--src/playlistview.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/playlistview.cpp b/src/playlistview.cpp
index bc7368a..2eae2ae 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 = KGlobal::iconLoader ()->loadIcon (TQString ("folder"), KIcon::Small);
- auxiliary_pix = KGlobal::iconLoader ()->loadIcon (TQString ("folder_grey"), KIcon::Small);
- video_pix = KGlobal::iconLoader ()->loadIcon (TQString ("video"), KIcon::Small);
- info_pix = KGlobal::iconLoader ()->loadIcon (TQString ("messagebox_info"), KIcon::Small);
- img_pix = KGlobal::iconLoader ()->loadIcon (TQString ("colorize"), KIcon::Small);
- unknown_pix = KGlobal::iconLoader ()->loadIcon (TQString ("unknown"), KIcon::Small);
- menu_pix = KGlobal::iconLoader ()->loadIcon (TQString ("player_playlist"), KIcon::Small);
- config_pix = KGlobal::iconLoader ()->loadIcon (TQString ("configure"), KIcon::Small);
- url_pix = KGlobal::iconLoader ()->loadIcon (TQString ("www"), KIcon::Small);
+ 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);
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 ()
- ? KGlobal::iconLoader ()->loadIcon (ritem->icon, KIcon::Small)
+ ? TDEGlobal::iconLoader ()->loadIcon (ritem->icon, KIcon::Small)
: url_pix);
updateTree (ritem, 0L, false);
return last_id;
@@ -350,7 +350,7 @@ KDE_NO_EXPORT void PlayListView::contextMenuItem (TQListViewItem * vi, const TQP
m_find_next->unplug (m_itemmenu);
m_itemmenu->clear ();
}
- m_itemmenu->insertItem (KGlobal::iconLoader ()->loadIconSet
+ m_itemmenu->insertItem (TDEGlobal::iconLoader ()->loadIconSet
(TQString ("editcopy"), KIcon::Small, 0, true),
i18n ("&Copy to Clipboard"),
this, TQT_SLOT (copyToClipboard ()), 0, 0);
@@ -358,7 +358,7 @@ KDE_NO_EXPORT void PlayListView::contextMenuItem (TQListViewItem * vi, const TQP
(item->node && (item->node->isPlayable () ||
item->node->isDocument ()) &&
item->node->mrl ()->bookmarkable))
- m_itemmenu->insertItem (KGlobal::iconLoader ()->loadIconSet
+ m_itemmenu->insertItem (TDEGlobal::iconLoader ()->loadIconSet
(TQString ("bookmark_add"), KIcon::Small, 0, true),
i18n ("&Add Bookmark"),
this, TQT_SLOT (addBookMark ()), 0, 1);