From dc5f267664506a312203c26bfe9001a448b0bb0f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:49:49 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- libkonq/konq_popupmenu.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libkonq/konq_popupmenu.cc') diff --git a/libkonq/konq_popupmenu.cc b/libkonq/konq_popupmenu.cc index e11ef9046..9d25cf794 100644 --- a/libkonq/konq_popupmenu.cc +++ b/libkonq/konq_popupmenu.cc @@ -847,7 +847,7 @@ void KonqPopupMenu::setup(KonqPopupFlags kpf) } } - KTrader::OfferList offers; + TDETrader::OfferList offers; if (kapp->authorizeKAction("openwith")) { @@ -864,7 +864,7 @@ void KonqPopupMenu::setup(KonqPopupFlags kpf) ++it; } - offers = KTrader::self()->query( first, constraint ); + offers = TDETrader::self()->query( first, constraint ); } //// Ok, we have everything, now insert @@ -895,7 +895,7 @@ void KonqPopupMenu::setup(KonqPopupFlags kpf) text.appendChild( m_doc.createTextNode( i18n("&Open With") ) ); } - KTrader::OfferList::ConstIterator it = offers.begin(); + TDETrader::OfferList::ConstIterator it = offers.begin(); for( ; it != offers.end(); it++ ) { KService::Ptr service = (*it); @@ -1179,14 +1179,14 @@ void KonqPopupMenu::addPlugins() { // search for Konq_PopupMenuPlugins inspired by simons kpropsdlg //search for a plugin with the right protocol - KTrader::OfferList plugin_offers; + TDETrader::OfferList plugin_offers; unsigned int pluginCount = 0; - plugin_offers = KTrader::self()->query( m_sMimeType.isNull() ? TQString::fromLatin1( "all/all" ) : m_sMimeType, "'KonqPopupMenu/Plugin' in ServiceTypes"); + plugin_offers = TDETrader::self()->query( m_sMimeType.isNull() ? TQString::fromLatin1( "all/all" ) : m_sMimeType, "'KonqPopupMenu/Plugin' in ServiceTypes"); if ( plugin_offers.isEmpty() ) return; // no plugins installed do not bother about it - KTrader::OfferList::ConstIterator iterator = plugin_offers.begin(); - KTrader::OfferList::ConstIterator end = plugin_offers.end(); + TDETrader::OfferList::ConstIterator iterator = plugin_offers.begin(); + TDETrader::OfferList::ConstIterator end = plugin_offers.end(); addGroup( "plugins" ); // travers the offerlist -- cgit v1.2.1