diff options
author | Slávek Banko <[email protected]> | 2013-10-08 00:16:56 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-10-08 05:14:54 +0200 |
commit | 78114a50964bc7bb5d7d99f713bb815ed5a623ef (patch) | |
tree | 871f5d697fb8825c02152c43ea0e671319b742cf /src/kscopeconfig.cpp | |
parent | 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (diff) | |
download | kscope-78114a50964bc7bb5d7d99f713bb815ed5a623ef.tar.gz kscope-78114a50964bc7bb5d7d99f713bb815ed5a623ef.zip |
Initial TDE conversion
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"; |