summaryrefslogtreecommitdiffstats
path: root/client/config/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/config/config.cpp')
-rw-r--r--client/config/config.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/client/config/config.cpp b/client/config/config.cpp
index 482c1df..5dfffb2 100644
--- a/client/config/config.cpp
+++ b/client/config/config.cpp
@@ -21,8 +21,8 @@
*/
#include "config.h"
-#include <kglobal.h>
-#include <klocale.h>
+#include <tdeglobal.h>
+#include <tdelocale.h>
#include <tqvbox.h>
#include <tqlayout.h>
#include <tqlabel.h>
@@ -31,24 +31,24 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config( KConfig* config, TQWidget* parent )
+ KDE_EXPORT TQObject* allocate_config( TDEConfig* config, TQWidget* parent )
{
return(new DominoConfig(config, parent));
}
}
// NOTE:
-// 'config' is a pointer to the kwindecoration modules open kwin config,
+// 'config' is a pointer to the twindecoration modules open twin config,
// and is by default set to the "Style" group.
// 'parent' is the parent of the TQObject, which is a VBox inside the
-// Configure tab in kwindecoration
+// Configure tab in twindecoration
-DominoConfig::DominoConfig( KConfig* config, TQWidget* parent )
+DominoConfig::DominoConfig( TDEConfig* config, TQWidget* parent )
: TQObject( parent )
{
- conf = new KConfig("kwindominorc");
+ conf = new TDEConfig("twindominorc");
- KGlobal::locale()->insertCatalogue("kwin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
vBox = new TQVBox( parent );
@@ -162,7 +162,7 @@ DominoConfig::DominoConfig( KConfig* config, TQWidget* parent )
connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
- // Make the widgets visible in kwindecoration valueChanged
+ // Make the widgets visible in twindecoration valueChanged
vBox->show();
}
@@ -180,9 +180,9 @@ void DominoConfig::slotSelectionChanged()
}
-// Loads the configurable options from the kwinrc config file
-// It is passed the open config from kwindecoration to improve efficiency
-void DominoConfig::load(KConfig*)
+// Loads the configurable options from the twinrc config file
+// It is passed the open config from twindecoration to improve efficiency
+void DominoConfig::load(TDEConfig*)
{
conf->setGroup("General");
@@ -213,8 +213,8 @@ void DominoConfig::load(KConfig*)
}
-// Saves the configurable options to the kwinrc config file
-void DominoConfig::save(KConfig*)
+// Saves the configurable options to the twinrc config file
+void DominoConfig::save(TDEConfig*)
{
conf->setGroup("General");