summaryrefslogtreecommitdiffstats
path: root/amarok/src/playlistbrowseritem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 10:38:41 -0600
committerTimothy Pearson <[email protected]>2013-02-01 10:38:41 -0600
commit9f77b51ba89af86aead2b6faa1eb6dadbe47e771 (patch)
tree686f83f67c631f695597b4ded8f729654acf1705 /amarok/src/playlistbrowseritem.cpp
parent113814579a1110e047674c1772937ad02b12c065 (diff)
downloadamarok-9f77b51ba89af86aead2b6faa1eb6dadbe47e771.tar.gz
amarok-9f77b51ba89af86aead2b6faa1eb6dadbe47e771.zip
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'amarok/src/playlistbrowseritem.cpp')
-rw-r--r--amarok/src/playlistbrowseritem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/amarok/src/playlistbrowseritem.cpp b/amarok/src/playlistbrowseritem.cpp
index 13e43550..b2eb4682 100644
--- a/amarok/src/playlistbrowseritem.cpp
+++ b/amarok/src/playlistbrowseritem.cpp
@@ -2837,7 +2837,7 @@ PodcastEpisode::showContextMenu( const TQPoint &position )
mimetype = KMimeType::findByFileContent( localUrl().path(), &accuracy );
if( accuracy <= 0 )
mimetype = KMimeType::findByURL( url() );
- KTrader::OfferList offers = KTrader::self()->query( mimetype->name(), "Type == 'Application'" );
+ TDETrader::OfferList offers = TDETrader::self()->query( mimetype->name(), "Type == 'Application'" );
if( offers.empty() || (offers.size()==1 && offers.first()->name()=="Amarok") )
{
menu.insertItem( SmallIconSet( Amarok::icon( "run" ) ), i18n( "&Open With..."), OPEN_WITH );
@@ -2846,7 +2846,7 @@ PodcastEpisode::showContextMenu( const TQPoint &position )
{
int i = 1;
KPopupMenu *openMenu = new KPopupMenu;
- for( KTrader::OfferList::iterator it = offers.begin();
+ for( TDETrader::OfferList::iterator it = offers.begin();
it != offers.end();
++it )
{
@@ -2953,7 +2953,7 @@ PodcastEpisode::showContextMenu( const TQPoint &position )
default:
if( id >= OPEN_WITH+1 && id <= OPEN_WITH + offers.size() )
{
- KTrader::OfferList::iterator it = offers.begin();
+ TDETrader::OfferList::iterator it = offers.begin();
for(uint i = OPEN_WITH+1; i < id && i < OPEN_WITH+offers.size(); ++i )
{
++it;