diff options
Diffstat (limited to 'deco/config/baghiraconfig.cc.new')
-rw-r--r-- | deco/config/baghiraconfig.cc.new | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/deco/config/baghiraconfig.cc.new b/deco/config/baghiraconfig.cc.new index 2f35515..5c64932 100644 --- a/deco/config/baghiraconfig.cc.new +++ b/deco/config/baghiraconfig.cc.new @@ -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> @@ -39,13 +39,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"); @@ -163,7 +163,7 @@ BaghiraConfig::~BaghiraConfig() // ------ // Load configuration data -void BaghiraConfig::load(KConfig*) +void BaghiraConfig::load(TDEConfig*) { TQSettings *config_ = new TQSettings; config_->beginGroup("/baghira/Deco"); @@ -280,7 +280,7 @@ void BaghiraConfig::load(KConfig*) // ------ // Save configuration data -void BaghiraConfig::save(KConfig*) +void BaghiraConfig::save(TDEConfig*) { TQSettings *config_ = new TQSettings; config_->beginGroup("/baghira/Deco"); @@ -722,7 +722,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)); } } |