summaryrefslogtreecommitdiffstats
path: root/developer-doc/phb/src-examples.docbook
diff options
context:
space:
mode:
Diffstat (limited to 'developer-doc/phb/src-examples.docbook')
-rw-r--r--developer-doc/phb/src-examples.docbook12
1 files changed, 6 insertions, 6 deletions
diff --git a/developer-doc/phb/src-examples.docbook b/developer-doc/phb/src-examples.docbook
index 78c26fa..84db1ac 100644
--- a/developer-doc/phb/src-examples.docbook
+++ b/developer-doc/phb/src-examples.docbook
@@ -53,7 +53,7 @@ This appendix contains an example of a
*
* It uses KDialogBase to implement it's interface.
*
- * It uses the global KConfig object to read and write the application
+ * It uses the global TDEConfig object to read and write the application
* settings.
*
* @see KDialogBase
@@ -398,12 +398,12 @@ void KSettingsDlg::setPageList()
qtabwidget->addTab(qvboxInsideTab2, i18n("Cell Font"));
}
-/** Read all the settings in from the global KConfig object and set all the
+/** Read all the settings in from the global TDEConfig object and set all the
* widgets appropriately.
**/
void KSettingsDlg::configRead()
{
- KConfig *kconfig = TDEGlobal::config();
+ TDEConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("Settings Dialog");
QSize *qsizeDefaultSize = new QSize(470,470);
this->resize(kconfig->readSizeEntry("Geometry", qsizeDefaultSize));
@@ -445,11 +445,11 @@ void KSettingsDlg::configRead()
m_qradiobuttonOtherRow->setChecked(!m_bTempColourPerTransaction);
}
-/** Write out all the settings to the global KConfig object.
+/** Write out all the settings to the global TDEConfig object.
**/
void KSettingsDlg::configWrite()
{
- KConfig *kconfig = TDEGlobal::config();
+ TDEConfig *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 = TDEGlobal::config();
+ TDEConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("List Options");
kconfig->writeEntry("listColor", m_qcolorTempList);
kconfig->writeEntry("listBGColor", m_qcolorTempListBG);