Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 07551885ca
commit 699807d7eb

@ -58,8 +58,8 @@ typedef struct _ConfigFiles
{
KSimpleConfig *main;
TQString profile;
KConfig *twin;
KConfig *global;
TDEConfig *twin;
TDEConfig *global;
Bool modified;
unsigned int watch;
unsigned int twinWatch;
@ -245,7 +245,7 @@ static void
KdeIntToCCS (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
int val = cfg->readNumEntry (specialOptions[num].kdeName);
@ -256,7 +256,7 @@ static void
KdeBoolToCCS (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
Bool val = (cfg->readBoolEntry (specialOptions[num].kdeName))? TRUE : FALSE;
@ -267,7 +267,7 @@ static void
KdeKeyToCCS (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
KKey key (cfg->readEntry (specialOptions[num].kdeName) );
@ -1041,7 +1041,7 @@ static void
CCSIntToKde (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
int val;
@ -1059,7 +1059,7 @@ static void
CCSBoolToKde (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
Bool val;
@ -1077,7 +1077,7 @@ static void
CCSKeyToKde (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
CCSSettingKeyValue keyVal;
@ -1872,8 +1872,8 @@ init (CCSContext *c)
createFile (wFile);
cFiles->main = new KSimpleConfig (configName);
cFiles->twin = new KConfig ("twinrc");
cFiles->global = new KConfig ("kdeglobals");
cFiles->twin = new TDEConfig ("twinrc");
cFiles->global = new TDEConfig ("kdeglobals");
cFiles->twin->setGroup ("Windows");
cFiles->global->setGroup ("Global Shortcuts");

Loading…
Cancel
Save