|
|
|
@ -45,10 +45,10 @@
|
|
|
|
|
#include "crystalconfig.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CrystalConfig::CrystalConfig(KConfig*, TQWidget* parent)
|
|
|
|
|
CrystalConfig::CrystalConfig(TDEConfig*, TQWidget* parent)
|
|
|
|
|
: TQObject(parent), config_(0), dialog_(0)
|
|
|
|
|
{
|
|
|
|
|
config_ = new KConfig("twincrystalrc");
|
|
|
|
|
config_ = new TDEConfig("twincrystalrc");
|
|
|
|
|
|
|
|
|
|
dialog_ = new ConfigDialog(parent);
|
|
|
|
|
dialog_->show();
|
|
|
|
@ -148,7 +148,7 @@ void CrystalConfig::selectionChanged(int)
|
|
|
|
|
emit changed();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CrystalConfig::load(KConfig*)
|
|
|
|
|
void CrystalConfig::load(TDEConfig*)
|
|
|
|
|
{
|
|
|
|
|
TQColor color(255,255,255);
|
|
|
|
|
|
|
|
|
@ -251,7 +251,7 @@ void CrystalConfig::load(KConfig*)
|
|
|
|
|
updateLogo();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CrystalConfig::save(KConfig*)
|
|
|
|
|
void CrystalConfig::save(TDEConfig*)
|
|
|
|
|
{
|
|
|
|
|
config_->setGroup("General");
|
|
|
|
|
|
|
|
|
@ -376,7 +376,7 @@ void CrystalConfig::defaults()
|
|
|
|
|
|
|
|
|
|
extern "C"
|
|
|
|
|
{
|
|
|
|
|
TQObject* allocate_config(KConfig* config, TQWidget* parent) {
|
|
|
|
|
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
|
|
|
|
|
return (new CrystalConfig(config, parent));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|