summaryrefslogtreecommitdiffstats
path: root/deco/config/baghiraconfig.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deco/config/baghiraconfig.cc')
-rw-r--r--deco/config/baghiraconfig.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/deco/config/baghiraconfig.cc b/deco/config/baghiraconfig.cc
index 711105c..23faf15 100644
--- a/deco/config/baghiraconfig.cc
+++ b/deco/config/baghiraconfig.cc
@@ -7,9 +7,9 @@
// Please see the header file for copyright and license information.
//////////////////////////////////////////////////////////////////////////////
-#include <kconfig.h>
-#include <klocale.h>
-#include <kglobal.h>
+#include <tdeconfig.h>
+#include <tdelocale.h>
+#include <tdeglobal.h>
#include <kcolorbutton.h>
#include <tqbutton.h>
#include <tqbuttongroup.h>
@@ -38,13 +38,13 @@
// -------------
// Constructor
-BaghiraConfig::BaghiraConfig(KConfig*, TQWidget* parent)
+BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent)
: TQObject(parent), /*config_(0),*/ dialog_(0)
{
-// config_ = new KConfig("baghirarc");
+// config_ = new TDEConfig("baghirarc");
// config_ = new TQSettings;
// config_->beginGroup("/baghira/Deco");
- KGlobal::locale()->insertCatalogue("kwin_baghira_config");
+ TDEGlobal::locale()->insertCatalogue("twin_baghira_config");
dialog_ = new ConfigDialog(parent);
buttonDialog_ = new ButtonColors(parent, "Button Colors");
@@ -162,7 +162,7 @@ BaghiraConfig::~BaghiraConfig()
// ------
// Load configuration data
-void BaghiraConfig::load(KConfig*)
+void BaghiraConfig::load(TDEConfig*)
{
TQSettings *config_ = new TQSettings;
config_->beginGroup("/baghira/Deco");
@@ -279,7 +279,7 @@ void BaghiraConfig::load(KConfig*)
// ------
// Save configuration data
-void BaghiraConfig::save(KConfig*)
+void BaghiraConfig::save(TDEConfig*)
{
TQSettings *config_ = new TQSettings;
config_->beginGroup("/baghira/Deco");
@@ -721,7 +721,7 @@ void ButtonColors::init(){
extern "C"
{
- TQObject* allocate_config(KConfig* config, TQWidget* parent) {
+ TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent));
}
}