diff options
Diffstat (limited to 'src/kasablanca.cpp')
-rw-r--r-- | src/kasablanca.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kasablanca.cpp b/src/kasablanca.cpp index 8895be4..049ad7a 100644 --- a/src/kasablanca.cpp +++ b/src/kasablanca.cpp @@ -15,10 +15,10 @@ * * ***************************************************************************/ -#include <kaction.h> +#include <tdeaction.h> #include <kapp.h> -#include <kapplication.h> -#include <kdeversion.h> +#include <tdeapplication.h> +#include <tdeversion.h> #include <kedittoolbar.h> #include <tdeglobal.h> #include <kiconloader.h> @@ -26,13 +26,13 @@ #include <kkeydialog.h> #include <tdelocale.h> #include <tdemainwindow.h> -#include <kmenubar.h> -#include <kmessagebox.h> +#include <tdemenubar.h> +#include <tdemessagebox.h> #include <kstandarddirs.h> #include <kstatusbar.h> #include <kstdaction.h> #include <ksystemtray.h> -#include <kconfigdialog.h> +#include <tdeconfigdialog.h> #include <kpassivepopup.h> #include <klineedit.h> @@ -222,14 +222,14 @@ void Kasablanca::setupActions() /* // this doesn't do anything useful. it's just here to illustrate // how to insert a custom menu and menu item - KAction *custom = new KAction(i18n("Cus&tom Menuitem"), 0, + TDEAction *custom = new TDEAction(i18n("Cus&tom Menuitem"), 0, this, SLOT(optionsPreferences()), actionCollection(), "custom_action"); */ - new KAction(i18n("Edit"), CTRL+Key_E, this, SLOT(SLOT_EditBookmarks()), actionCollection(), "edit bookmarks action"); + new TDEAction(i18n("Edit"), CTRL+Key_E, this, SLOT(SLOT_EditBookmarks()), actionCollection(), "edit bookmarks action"); - new KAction(i18n("Import"), CTRL+Key_I, this, SLOT(SLOT_ImportBookmarks()), actionCollection(), "import bookmarks action"); + new TDEAction(i18n("Import"), CTRL+Key_I, this, SLOT(SLOT_ImportBookmarks()), actionCollection(), "import bookmarks action"); createGUI(); } @@ -258,8 +258,8 @@ void Kasablanca::optionsConfigureKeys() void Kasablanca::optionsConfigureToolbars() { // use the standard toolbar editor -#if defined(KDE_MAKE_VERSION) -# if KDE_VERSION >= KDE_MAKE_VERSION(3,1,0) +#if defined(TDE_MAKE_VERSION) +# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0) saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup()); # else saveMainWindowSettings(TDEGlobal::config()); @@ -294,8 +294,8 @@ void Kasablanca::newToolbarConfig() // recreate our GUI, and re-apply the settings (e.g. "text under icons", etc.) createGUI(); -#if defined(KDE_MAKE_VERSION) -# if KDE_VERSION >= KDE_MAKE_VERSION(3,1,0) +#if defined(TDE_MAKE_VERSION) +# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0) applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup()); # else applyMainWindowSettings(TDEGlobal::config()); |