summaryrefslogtreecommitdiffstats
path: root/tdeui/ktip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/ktip.cpp')
-rw-r--r--tdeui/ktip.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/ktip.cpp b/tdeui/ktip.cpp
index b9e3bc594..085aba857 100644
--- a/tdeui/ktip.cpp
+++ b/tdeui/ktip.cpp
@@ -301,7 +301,7 @@ KTipDialog::KTipDialog(KTipDatabase *db, TQWidget *parent, const char *name)
ok->setDefault(true);
hbox2->addWidget(ok);
- KConfigGroup config(kapp->config(), "TipOfDay");
+ TDEConfigGroup config(kapp->config(), "TipOfDay");
mTipOnStart->setChecked(config.readBoolEntry("RunOnStart", true));
connect(next, TQT_SIGNAL(clicked()), this, TQT_SLOT(nextTip()));
@@ -332,7 +332,7 @@ void KTipDialog::showTip(TQWidget *parent, const TQString &tipFile, bool force)
void KTipDialog::showMultiTip(TQWidget *parent, const TQStringList &tipFiles, bool force)
{
- KConfigGroup configGroup(kapp->config(), "TipOfDay");
+ TDEConfigGroup configGroup(kapp->config(), "TipOfDay");
const bool runOnStart = configGroup.readBoolEntry("RunOnStart", true);
@@ -418,7 +418,7 @@ static TQString fixTip(TQString tip)
void KTipDialog::setShowOnStart(bool on)
{
- KConfigGroup config(kapp->config(), "TipOfDay");
+ TDEConfigGroup config(kapp->config(), "TipOfDay");
config.writeEntry("RunOnStart", on);
config.sync();
}