summaryrefslogtreecommitdiffstats
path: root/src/libgui/editor_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/editor_manager.cpp')
-rw-r--r--src/libgui/editor_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libgui/editor_manager.cpp b/src/libgui/editor_manager.cpp
index 8713c9e..47bf16b 100644
--- a/src/libgui/editor_manager.cpp
+++ b/src/libgui/editor_manager.cpp
@@ -115,10 +115,10 @@ bool EditorManager::openFile(const PURL::Url &url)
return true;
}
if ( !openEditor(url) ) {
- static_cast< KRecentFilesAction *>(Main::action("file_open_recent"))->removeURL(url.kurl());
+ static_cast< TDERecentFilesAction *>(Main::action("file_open_recent"))->removeURL(url.kurl());
return false;
}
- static_cast<KRecentFilesAction *>(Main::action("file_open_recent"))->addURL(url.kurl());
+ static_cast<TDERecentFilesAction *>(Main::action("file_open_recent"))->addURL(url.kurl());
return true;
}
@@ -397,7 +397,7 @@ void EditorManager::contextMenu(int i, const TQPoint &p)
TQPixmap saveIcon = loader.loadIcon("filesave", KIcon::Small);
TQPixmap saveAsIcon = loader.loadIcon("filesaveas", KIcon::Small);
TQPixmap reloadIcon = loader.loadIcon("reload", KIcon::Small);
- KPopupMenu *popup = new KPopupMenu;
+ TDEPopupMenu *popup = new TDEPopupMenu;
popup->insertTitle(title(*editor));
popup->insertItem(closeIcon, i18n("Close"), 1);
if ( nbEditors()>1 ) popup->insertItem(i18n("Close All Others"), 2);