summaryrefslogtreecommitdiffstats
path: root/twin/clients/modernsystem/config
diff options
context:
space:
mode:
Diffstat (limited to 'twin/clients/modernsystem/config')
-rw-r--r--twin/clients/modernsystem/config/config.cpp10
-rw-r--r--twin/clients/modernsystem/config/config.h8
2 files changed, 9 insertions, 9 deletions
diff --git a/twin/clients/modernsystem/config/config.cpp b/twin/clients/modernsystem/config/config.cpp
index 84bc23506..4c87829be 100644
--- a/twin/clients/modernsystem/config/config.cpp
+++ b/twin/clients/modernsystem/config/config.cpp
@@ -12,7 +12,7 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config(KConfig* conf, TQWidget* parent)
+ KDE_EXPORT TQObject* allocate_config(TDEConfig* conf, TQWidget* parent)
{
return(new ModernSysConfig(conf, parent));
}
@@ -25,9 +25,9 @@ extern "C"
// 'parent' is the parent of the TQObject, which is a VBox inside the
// Configure tab in twindecoration
-ModernSysConfig::ModernSysConfig(KConfig* conf, TQWidget* parent) : TQObject(parent)
+ModernSysConfig::ModernSysConfig(TDEConfig* conf, TQWidget* parent) : TQObject(parent)
{
- clientrc = new KConfig("twinmodernsysrc");
+ clientrc = new TDEConfig("twinmodernsysrc");
TDEGlobal::locale()->insertCatalogue("twin_clients");
mainw = new TQWidget(parent);
vbox = new TQVBoxLayout(mainw);
@@ -95,7 +95,7 @@ void ModernSysConfig::slotSelectionChanged()
}
-void ModernSysConfig::load(KConfig* /*conf*/)
+void ModernSysConfig::load(TDEConfig* /*conf*/)
{
clientrc->setGroup("General");
bool i = clientrc->readBoolEntry("ShowHandle", true );
@@ -109,7 +109,7 @@ void ModernSysConfig::load(KConfig* /*conf*/)
}
-void ModernSysConfig::save(KConfig* /*conf*/)
+void ModernSysConfig::save(TDEConfig* /*conf*/)
{
clientrc->setGroup("General");
clientrc->writeEntry("ShowHandle", cbShowHandle->isChecked());
diff --git a/twin/clients/modernsystem/config/config.h b/twin/clients/modernsystem/config/config.h
index 3a04573cf..20ce5539e 100644
--- a/twin/clients/modernsystem/config/config.h
+++ b/twin/clients/modernsystem/config/config.h
@@ -13,7 +13,7 @@ class ModernSysConfig : public TQObject
Q_OBJECT
public:
- ModernSysConfig(KConfig* conf, TQWidget* parent);
+ ModernSysConfig(TDEConfig* conf, TQWidget* parent);
~ModernSysConfig();
// These public signals/slots work similar to KCM modules
@@ -21,15 +21,15 @@ class ModernSysConfig : public TQObject
void changed();
public slots:
- void load(KConfig* conf);
- void save(KConfig* conf);
+ void load(TDEConfig* conf);
+ void save(TDEConfig* conf);
void defaults();
protected slots:
void slotSelectionChanged(); // Internal use
private:
- KConfig *clientrc;
+ TDEConfig *clientrc;
TQWidget *mainw;
TQVBoxLayout *vbox;
TQWidget *handleBox;