From da1941ccadffe5ae70ee111c53f0ec2b3d990869 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:53:25 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- parts/openwith/openwithpart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parts/openwith/openwithpart.cpp') diff --git a/parts/openwith/openwithpart.cpp b/parts/openwith/openwithpart.cpp index 85cfe9f0..321b1db7 100644 --- a/parts/openwith/openwithpart.cpp +++ b/parts/openwith/openwithpart.cpp @@ -67,10 +67,10 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context) // hmmm.. what to do here? open every different mimetype seperately? Just go with the first for now.. TQString mimeType = KMimeType::findByURL(m_urls.first(), 0, true, true)->name(); - KTrader::OfferList offers = KTrader::self()->query(mimeType, "Type == 'Application'"); + TDETrader::OfferList offers = TDETrader::self()->query(mimeType, "Type == 'Application'"); if (offers.count() > 0) { - KTrader::OfferList::Iterator it; + TDETrader::OfferList::Iterator it; for (it = offers.begin(); it != offers.end(); ++it) { KAction *action = new KAction((*it)->name(), (*it)->icon(), 0, 0, TQFile::encodeName( (*it)->desktopEntryPath() ).data()); -- cgit v1.2.3