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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/openwith/openwithpart.cpp b/parts/openwith/openwithpart.cpp
index 321b1db7..b8f5e552 100644
--- a/parts/openwith/openwithpart.cpp
+++ b/parts/openwith/openwithpart.cpp
@@ -47,7 +47,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
popup->insertItem( i18n("Open as UTF-8"), this, TQT_SLOT(openAsUtf8()) );
- KPopupMenu * openAsPopup = new KPopupMenu( popup );
+ TDEPopupMenu * openAsPopup = new TDEPopupMenu( popup );
int id = popup->insertItem( i18n("Open As"), openAsPopup );
popup->setWhatsThis(id, i18n("<b>Open As</b><p>Lists all encodings that can be used to open the selected file."));
@@ -63,7 +63,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
i++;
}
- KPopupMenu * openWithPopup = new KPopupMenu( popup );
+ TDEPopupMenu * openWithPopup = new TDEPopupMenu( popup );
// 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();
@@ -73,7 +73,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
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());
+ TDEAction *action = new TDEAction((*it)->name(), (*it)->icon(), 0, 0, TQFile::encodeName( (*it)->desktopEntryPath() ).data());
connect(action, TQT_SIGNAL(activated()), this, TQT_SLOT(openWithService()));
action->plug( openWithPopup );
}