summaryrefslogtreecommitdiffstats
path: root/parts/openwith/openwithpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/openwith/openwithpart.cpp')
-rw-r--r--parts/openwith/openwithpart.cpp4
1 files changed, 2 insertions, 2 deletions
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());