diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /koshell/koshell_shell.cc | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'koshell/koshell_shell.cc')
-rw-r--r-- | koshell/koshell_shell.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/koshell/koshell_shell.cc b/koshell/koshell_shell.cc index abd7eaa2..763026e3 100644 --- a/koshell/koshell_shell.cc +++ b/koshell/koshell_shell.cc @@ -539,9 +539,9 @@ void KoShellWindow::slotFileOpen() url=dialog->selectedURL(); recentAction()->addURL( url ); if ( url.isLocalFile() ) - KRecentDocument::add(url.path(-1)); + TDERecentDocument::add(url.path(-1)); else - KRecentDocument::add(url.url(-1), true); + TDERecentDocument::add(url.url(-1), true); } else return; @@ -669,7 +669,7 @@ TQString KoShellWindow::configFile() const void KoShellWindow::tab_contextMenu(TQWidget * w,const TQPoint &p) { - KPopupMenu menu; + TDEPopupMenu menu; KIconLoader il; int const mnuSave = menu.insertItem( il.loadIconSet( "filesave", KIcon::Small ), i18n("Save") ); int const mnuClose = menu.insertItem( il.loadIcon( "fileclose", KIcon::Small ), i18n("Close") ); @@ -729,9 +729,9 @@ void KoShellWindow::showPartSpecificHelp() KoShellGUIClient::KoShellGUIClient( KoShellWindow *window ) : KXMLGUIClient() { setXMLFile( "koshellui.rc", true, true ); - window->mnuSaveAll = new KAction( i18n("Save All"), 0, TQT_TQOBJECT(window), TQT_SLOT( saveAll() ), actionCollection(), "save_all" ); + window->mnuSaveAll = new TDEAction( i18n("Save All"), 0, TQT_TQOBJECT(window), TQT_SLOT( saveAll() ), actionCollection(), "save_all" ); window->mnuSaveAll->setEnabled(false); - window->partSpecificHelpAction = new KAction(i18n("Part Handbook"), "contents", 0, TQT_TQOBJECT(window), TQT_SLOT(showPartSpecificHelp()), + window->partSpecificHelpAction = new TDEAction(i18n("Part Handbook"), "contents", 0, TQT_TQOBJECT(window), TQT_SLOT(showPartSpecificHelp()), actionCollection(), "partSpecificHelp"); window->partSpecificHelpAction->setEnabled(false); } |