From 6c1d52c8248adb9189c944a28efde52330e99b66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:21:28 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- developer-doc/phb/src-examples.docbook | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'developer-doc/phb') 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); -- cgit v1.2.1