summaryrefslogtreecommitdiffstats
path: root/developer-doc
diff options
context:
space:
mode:
Diffstat (limited to 'developer-doc')
-rw-r--r--developer-doc/phb/src-examples.docbook6
1 files changed, 3 insertions, 3 deletions
diff --git a/developer-doc/phb/src-examples.docbook b/developer-doc/phb/src-examples.docbook
index 4c2e3be..78c26fa 100644
--- a/developer-doc/phb/src-examples.docbook
+++ b/developer-doc/phb/src-examples.docbook
@@ -403,7 +403,7 @@ void KSettingsDlg::setPageList()
**/
void KSettingsDlg::configRead()
{
- KConfig *kconfig = KGlobal::config();
+ KConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("Settings Dialog");
QSize *qsizeDefaultSize = new QSize(470,470);
this->resize(kconfig->readSizeEntry("Geometry", qsizeDefaultSize));
@@ -449,7 +449,7 @@ void KSettingsDlg::configRead()
**/
void KSettingsDlg::configWrite()
{
- KConfig *kconfig = KGlobal::config();
+ KConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("Settings Dialog");
kconfig->writeEntry("Geometry", this->size() );
@@ -505,7 +505,7 @@ and 3"));
void KSettingsDlg::slotCancel()
{
// make sure the config object is the same as we left it
- KConfig *kconfig = KGlobal::config();
+ KConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("List Options");
kconfig->writeEntry("listColor", m_qcolorTempList);
kconfig->writeEntry("listBGColor", m_qcolorTempListBG);