summaryrefslogtreecommitdiffstats
path: root/ksame/KSameWidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /ksame/KSameWidget.cpp
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ksame/KSameWidget.cpp')
-rw-r--r--ksame/KSameWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksame/KSameWidget.cpp b/ksame/KSameWidget.cpp
index a49db4f7..7d28b276 100644
--- a/ksame/KSameWidget.cpp
+++ b/ksame/KSameWidget.cpp
@@ -93,7 +93,7 @@ KSameWidget::KSameWidget(TQWidget *parent, const char* name, WFlags fl) :
if (!kapp->isRestored())
newGame(kapp->random(),default_colors);
- KConfig *cfg = kapp->config();
+ TDEConfig *cfg = kapp->config();
if (cfg->readBoolEntry("showRemaining"))
{
showNumberRemaining->setChecked(true);
@@ -101,12 +101,12 @@ KSameWidget::KSameWidget(TQWidget *parent, const char* name, WFlags fl) :
}
}
-void KSameWidget::readProperties(KConfig *conf) {
+void KSameWidget::readProperties(TDEConfig *conf) {
Q_ASSERT(conf);
stone->readProperties(conf);
}
-void KSameWidget::saveProperties(KConfig *conf) {
+void KSameWidget::saveProperties(TDEConfig *conf) {
Q_ASSERT(conf);
stone->saveProperties(conf);
conf->sync();
@@ -127,7 +127,7 @@ void KSameWidget::showNumberRemainingToggled()
}
else status->changeItem(i18n("%1 Colors").arg(stone->colors()),1);
- KConfig *cfg = kapp->config();
+ TDEConfig *cfg = kapp->config();
cfg->writeEntry("showRemaining", showNumberRemaining->isChecked());
cfg->sync();
}