diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:53:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:53:25 -0600 |
commit | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (patch) | |
tree | ee683f46b49e6abdbdef78ed45ca65b47538bc23 /parts/openwith/openwithpart.cpp | |
parent | 054f5901ab09f6ea6235bd12fbd167922fdf0f67 (diff) | |
download | tdevelop-da1941ccadffe5ae70ee111c53f0ec2b3d990869.tar.gz tdevelop-da1941ccadffe5ae70ee111c53f0ec2b3d990869.zip |
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'parts/openwith/openwithpart.cpp')
-rw-r--r-- | parts/openwith/openwithpart.cpp | 4 |
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()); |