summaryrefslogtreecommitdiffstats
path: root/twin/clients/default
diff options
context:
space:
mode:
Diffstat (limited to 'twin/clients/default')
-rw-r--r--twin/clients/default/config/config.cpp8
-rw-r--r--twin/clients/default/config/config.h6
-rw-r--r--twin/clients/default/kdedefault.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/twin/clients/default/config/config.cpp b/twin/clients/default/config/config.cpp
index 43302b552..8e53dcc75 100644
--- a/twin/clients/default/config/config.cpp
+++ b/twin/clients/default/config/config.cpp
@@ -17,7 +17,7 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent )
+ KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return(new KDEDefaultConfig(conf, parent));
}
@@ -29,7 +29,7 @@ extern "C"
// 'parent' is the parent of the TQObject, which is a VBox inside the
// Configure tab in twindecoration
-KDEDefaultConfig::KDEDefaultConfig( KConfig* conf, TQWidget* parent )
+KDEDefaultConfig::KDEDefaultConfig( TDEConfig* conf, TQWidget* parent )
: TQObject( parent )
{
TDEGlobal::locale()->insertCatalogue("twin_clients");
@@ -88,7 +88,7 @@ void KDEDefaultConfig::slotSelectionChanged()
// Loads the configurable options from the twinrc config file
// It is passed the open config from twindecoration to improve efficiency
-void KDEDefaultConfig::load( KConfig* conf )
+void KDEDefaultConfig::load( TDEConfig* conf )
{
conf->setGroup("KDEDefault");
bool override = conf->readBoolEntry( "ShowTitleBarStipple", true );
@@ -105,7 +105,7 @@ void KDEDefaultConfig::load( KConfig* conf )
// Saves the configurable options to the twinrc config file
-void KDEDefaultConfig::save( KConfig* conf )
+void KDEDefaultConfig::save( TDEConfig* conf )
{
conf->setGroup("KDEDefault");
conf->writeEntry( "ShowTitleBarStipple", cbShowStipple->isChecked() );
diff --git a/twin/clients/default/config/config.h b/twin/clients/default/config/config.h
index 733b96141..fcd9fbf23 100644
--- a/twin/clients/default/config/config.h
+++ b/twin/clients/default/config/config.h
@@ -22,7 +22,7 @@ class KDEDefaultConfig: public TQObject
Q_OBJECT
public:
- KDEDefaultConfig( KConfig* conf, TQWidget* parent );
+ KDEDefaultConfig( TDEConfig* conf, TQWidget* parent );
~KDEDefaultConfig();
// These public signals/slots work similar to KCM modules
@@ -30,8 +30,8 @@ class KDEDefaultConfig: 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:
diff --git a/twin/clients/default/kdedefault.cpp b/twin/clients/default/kdedefault.cpp
index 3c8ce2365..52fff00f3 100644
--- a/twin/clients/default/kdedefault.cpp
+++ b/twin/clients/default/kdedefault.cpp
@@ -192,7 +192,7 @@ bool KDEDefaultHandler::reset( unsigned long changed )
unsigned long KDEDefaultHandler::readConfig( bool update )
{
unsigned long changed = 0;
- KConfig* conf = TDEGlobal::config();
+ TDEConfig* conf = TDEGlobal::config();
conf->setGroup("KDEDefault");
bool new_showGrabBar = conf->readBoolEntry("ShowGrabBar", true);