summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/charlatan
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/charlatan')
-rw-r--r--noatun-plugins/charlatan/configmodule.cpp4
-rw-r--r--noatun-plugins/charlatan/userinterface.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/noatun-plugins/charlatan/configmodule.cpp b/noatun-plugins/charlatan/configmodule.cpp
index 08056ae..b48f011 100644
--- a/noatun-plugins/charlatan/configmodule.cpp
+++ b/noatun-plugins/charlatan/configmodule.cpp
@@ -53,7 +53,7 @@ CharlatanConfigModule::CharlatanConfigModule(TQObject * parent)
void
CharlatanConfigModule::save()
{
- KConfig * c(TDEGlobal::config());
+ TDEConfig * c(TDEGlobal::config());
c->setGroup("CharlatanInterface");
c->writeEntry("ScrollTitle", scroll_->isChecked());
c->sync();
@@ -63,7 +63,7 @@ CharlatanConfigModule::save()
void
CharlatanConfigModule::reopen()
{
- KConfig * c(TDEGlobal::config());
+ TDEConfig * c(TDEGlobal::config());
c->setGroup("CharlatanInterface");
scroll_->setChecked(c->readBoolEntry("ScrollTitle", true));
}
diff --git a/noatun-plugins/charlatan/userinterface.cpp b/noatun-plugins/charlatan/userinterface.cpp
index b708f02..91cff44 100644
--- a/noatun-plugins/charlatan/userinterface.cpp
+++ b/noatun-plugins/charlatan/userinterface.cpp
@@ -394,7 +394,7 @@ void Charlatan::slotTimeout()
void Charlatan::loadConfig()
{
- KConfig * c(TDEGlobal::config());
+ TDEConfig * c(TDEGlobal::config());
c->setGroup("CharlatanInterface");
titleLabel_->setScroll(c->readBoolEntry("ScrollTitle", true));
}