diff options
Diffstat (limited to 'src/kscopeconfig.cpp')
-rw-r--r-- | src/kscopeconfig.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kscopeconfig.cpp b/src/kscopeconfig.cpp index 924421f..f9ef0d8 100644 --- a/src/kscopeconfig.cpp +++ b/src/kscopeconfig.cpp @@ -25,9 +25,9 @@ * ***************************************************************************/ -#include <kconfig.h> -#include <kapplication.h> -#include <kglobalsettings.h> +#include <tdeconfig.h> +#include <tdeapplication.h> +#include <tdeglobalsettings.h> #include "kscopeconfig.h" // NOTE: @@ -141,14 +141,14 @@ void KScopeConfig::load() { uint i; - KConfig* pConf = kapp->config(); + TDEConfig* pConf = kapp->config(); // Need a working instance to get the system's default font (cannot be // initialised statically) - s_cpDef.fonts[FileList] = KGlobalSettings::generalFont(); - s_cpDef.fonts[TagList] = KGlobalSettings::generalFont(); - s_cpDef.fonts[QueryWindow] = KGlobalSettings::generalFont(); - s_cpDef.fonts[Graph] = KGlobalSettings::generalFont(); + s_cpDef.fonts[FileList] = TDEGlobalSettings::generalFont(); + s_cpDef.fonts[TagList] = TDEGlobalSettings::generalFont(); + s_cpDef.fonts[QueryWindow] = TDEGlobalSettings::generalFont(); + s_cpDef.fonts[Graph] = TDEGlobalSettings::generalFont(); // Read the paths to required executables pConf->setGroup("Programs"); @@ -237,7 +237,7 @@ void KScopeConfig::store() { uint i; - KConfig* pConf = kapp->config(); + TDEConfig* pConf = kapp->config(); // Write the paths to required executables pConf->setGroup("Programs"); @@ -306,7 +306,7 @@ void KScopeConfig::storeWorkspace(KDockMainWindow* pMainWindow) */ bool KScopeConfig::isFirstTime() { - KConfig* pConf = kapp->config(); + TDEConfig* pConf = kapp->config(); pConf->setGroup("General"); return pConf->readBoolEntry("FirstTime", true); @@ -321,7 +321,7 @@ bool KScopeConfig::isFirstTime() */ bool KScopeConfig::showWelcomeDlg() { - KConfig* pConf = kapp->config(); + TDEConfig* pConf = kapp->config(); pConf->setGroup("General"); return pConf->readBoolEntry(SHOW_WELCOME_ENTRY, true); @@ -683,7 +683,7 @@ TQString KScopeConfig::getEditorPopupName() const { switch (m_cp.popup) { case Embedded: - return "ktexteditor_popup"; + return "tdetexteditor_popup"; case KScopeOnly: return "kscope_popup"; |