summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 10:53:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 10:53:50 -0600
commit9930e16dde86b7de9b792613d826f4f8648b9768 (patch)
tree1b32d0c97a13f5f8804b905642a7ae13f22ec836 /quanta/treeviews
parent5193962621f44b83c1064e234fb8c8e94fd12749 (diff)
downloadtdewebdev-9930e16dde86b7de9b792613d826f4f8648b9768.tar.gz
tdewebdev-9930e16dde86b7de9b792613d826f4f8648b9768.zip
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'quanta/treeviews')
-rw-r--r--quanta/treeviews/basetreeview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/treeviews/basetreeview.cpp b/quanta/treeviews/basetreeview.cpp
index b2d774fc..1b1b3e7a 100644
--- a/quanta/treeviews/basetreeview.cpp
+++ b/quanta/treeviews/basetreeview.cpp
@@ -593,7 +593,7 @@ void BaseTreeView::insertOpenWithMenu(KPopupMenu *menu, int position)
m_openWithActions.clear();
KURL urlToOpen = currentURL();
TQString mimeType = KMimeType::findByURL(urlToOpen, 0, true, true)->name();
- KTrader::OfferList offers = KTrader::self()->query(mimeType, "Type == 'Application'");
+ TDETrader::OfferList offers = TDETrader::self()->query(mimeType, "Type == 'Application'");
TQDict<QuantaPlugin> plugins = QuantaPluginInterface::ref()->plugins();
m_pluginIds.clear();
@@ -602,7 +602,7 @@ void BaseTreeView::insertOpenWithMenu(KPopupMenu *menu, int position)
m_openWithMenu = new KPopupMenu(this);
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());