diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:05:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:05:21 -0600 |
commit | 6f617c4181afa90f3eba14139d4f92eb98834899 (patch) | |
tree | 8b1b3f1b1834eeca086e1b6948e926d726f3b025 /src/libgui/editor_manager.cpp | |
parent | b42d04f596e5440b17d954ba9e24d55368030120 (diff) | |
download | piklab-6f617c4181afa90f3eba14139d4f92eb98834899.tar.gz piklab-6f617c4181afa90f3eba14139d4f92eb98834899.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/libgui/editor_manager.cpp')
-rw-r--r-- | src/libgui/editor_manager.cpp | 6 |
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); |