|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
#include <tqdir.h>
|
|
|
|
|
|
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
|
#include <ksimpleconfig.h>
|
|
|
|
|
#include <tdesimpleconfig.h>
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
|
#include <tdeglobal.h>
|
|
|
|
|
#include <tdestandarddirs.h>
|
|
|
|
@ -56,7 +56,7 @@ static TDEInstance *instance = NULL;
|
|
|
|
|
|
|
|
|
|
typedef struct _ConfigFiles
|
|
|
|
|
{
|
|
|
|
|
KSimpleConfig *main;
|
|
|
|
|
TDESimpleConfig *main;
|
|
|
|
|
TQString profile;
|
|
|
|
|
TDEConfig *twin;
|
|
|
|
|
TDEConfig *global;
|
|
|
|
@ -640,7 +640,7 @@ readSetting (CCSContext *c,
|
|
|
|
|
CCSSetting *setting)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
KSimpleConfig *cfg = cFiles->main;
|
|
|
|
|
TDESimpleConfig *cfg = cFiles->main;
|
|
|
|
|
|
|
|
|
|
TQString key (setting->name);
|
|
|
|
|
TQString group (setting->parent->name);
|
|
|
|
@ -1393,7 +1393,7 @@ static void
|
|
|
|
|
writeSetting (CCSContext *c,
|
|
|
|
|
CCSSetting *setting)
|
|
|
|
|
{
|
|
|
|
|
KSimpleConfig *cfg = cFiles->main;
|
|
|
|
|
TDESimpleConfig *cfg = cFiles->main;
|
|
|
|
|
|
|
|
|
|
TQString key (setting->name);
|
|
|
|
|
TQString group (setting->parent->name);
|
|
|
|
@ -1778,7 +1778,7 @@ readInit (CCSContext *c)
|
|
|
|
|
TQString(), false) + configName;
|
|
|
|
|
createFile (wFile);
|
|
|
|
|
|
|
|
|
|
cFiles->main = new KSimpleConfig (configName);
|
|
|
|
|
cFiles->main = new TDESimpleConfig (configName);
|
|
|
|
|
ccsRemoveFileWatch (cFiles->watch);
|
|
|
|
|
cFiles->watch = ccsAddFileWatch (wFile.ascii(), true,
|
|
|
|
|
reload, (void *) c);
|
|
|
|
@ -1815,7 +1815,7 @@ writeInit (CCSContext *c)
|
|
|
|
|
|
|
|
|
|
createFile (wFile);
|
|
|
|
|
|
|
|
|
|
cFiles->main = new KSimpleConfig (configName);
|
|
|
|
|
cFiles->main = new TDESimpleConfig (configName);
|
|
|
|
|
ccsRemoveFileWatch (cFiles->watch);
|
|
|
|
|
cFiles->watch = ccsAddFileWatch (wFile.ascii(), true,
|
|
|
|
|
reload, (void *) c);
|
|
|
|
@ -1870,7 +1870,7 @@ init (CCSContext *c)
|
|
|
|
|
|
|
|
|
|
createFile (wFile);
|
|
|
|
|
|
|
|
|
|
cFiles->main = new KSimpleConfig (configName);
|
|
|
|
|
cFiles->main = new TDESimpleConfig (configName);
|
|
|
|
|
cFiles->twin = new TDEConfig ("twinrc");
|
|
|
|
|
cFiles->global = new TDEConfig ("kdeglobals");
|
|
|
|
|
|
|
|
|
|