diff options
Diffstat (limited to 'quanta/treeviews/basetreeview.cpp')
-rw-r--r-- | quanta/treeviews/basetreeview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/treeviews/basetreeview.cpp b/quanta/treeviews/basetreeview.cpp index 1b1b3e7a..603249c0 100644 --- a/quanta/treeviews/basetreeview.cpp +++ b/quanta/treeviews/basetreeview.cpp @@ -581,13 +581,13 @@ void BaseTreeView::slotOpenWithActivated(int id) } } -void BaseTreeView::insertOpenWithMenu(KPopupMenu *menu, int position) +void BaseTreeView::insertOpenWithMenu(TDEPopupMenu *menu, int position) { if (m_openWithMenuId != -1) menu->removeItem(m_openWithMenuId); for (uint i = 0; i < m_openWithActions.count(); i++) { - KAction *action = m_openWithActions[i]; + TDEAction *action = m_openWithActions[i]; delete action; } m_openWithActions.clear(); @@ -599,13 +599,13 @@ void BaseTreeView::insertOpenWithMenu(KPopupMenu *menu, int position) if (offers.count() > 0 || plugins.count() > 0) { - m_openWithMenu = new KPopupMenu(this); + m_openWithMenu = new TDEPopupMenu(this); if (offers.count() > 0) { 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(slotOpenWithApplication())); action->plug(m_openWithMenu); m_openWithActions.append(action); @@ -1059,7 +1059,7 @@ void BaseTreeView::doRename(KFileTreeViewItem* kftvi, const TQString & newName) void BaseTreeView::saveLayout(TDEConfig *config, const TQString &group) { - KListView::saveLayout(config, group); + TDEListView::saveLayout(config, group); if (! m_saveOpenFolder || ! qConfig.saveTrees) return; @@ -1085,7 +1085,7 @@ void BaseTreeView::saveLayout(TDEConfig *config, const TQString &group) void BaseTreeView::restoreLayout(TDEConfig *config, const TQString &group) { - KListView::restoreLayout(config, group); + TDEListView::restoreLayout(config, group); TDEConfigGroupSaver saver(config, group); setShowToolTips( config->readBoolEntry("ShowToolTips", true) ); |