Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 8c8931bcec
commit 07551885ca

@ -612,7 +612,7 @@ getExistingProfiles (CCSContext *)
if (!instance)
instance = new TDEInstance ("ccs-backend-kconfig");
TQDir dir (KGlobal::dirs()->saveLocation ("config", TQString(), false),
TQDir dir (TDEGlobal::dirs()->saveLocation ("config", TQString(), false),
"compizrc.*");
TQStringList files = dir.entryList();
@ -1775,7 +1775,7 @@ readInit (CCSContext *c)
delete cFiles->main;
TQString wFile = KGlobal::dirs()->saveLocation ("config",
TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName;
createFile (wFile);
@ -1811,7 +1811,7 @@ writeInit (CCSContext *c)
delete cFiles->main;
TQString wFile = KGlobal::dirs()->saveLocation ("config",
TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName;
createFile (wFile);
@ -1866,7 +1866,7 @@ init (CCSContext *c)
cFiles->profile = ccsGetProfile (c);
}
TQString wFile = KGlobal::dirs()->saveLocation ("config",
TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName;
createFile (wFile);
@ -1880,11 +1880,11 @@ init (CCSContext *c)
cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE, reload, (void *) c);
wFile = KGlobal::dirs()->saveLocation ("config",
wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + "twinrc";
cFiles->twinWatch = ccsAddFileWatch (wFile.ascii(), TRUE, reload,
(void *) c);
wFile = KGlobal::dirs()->saveLocation ("config",
wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + "kdeglobals";
cFiles->globalWatch = ccsAddFileWatch (wFile.ascii(), TRUE, reload,
(void *) c);
@ -1922,7 +1922,7 @@ static Bool
deleteProfile (CCSContext *,
char *profile)
{
TQString file (KGlobal::dirs()->saveLocation ("config",
TQString file (TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) );
file += "compizrc";

Loading…
Cancel
Save