summaryrefslogtreecommitdiffstats
path: root/kiosktool/pageWidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:08:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:08:06 -0600
commit3b6aefe251409d6fba19aab4085e18d90b77550f (patch)
tree2b299dc627f49dabf27ce74851c7e81367eab5e6 /kiosktool/pageWidget.cpp
parent033160606842587f113a62c987d5bee31a1349cc (diff)
downloadkiosktool-3b6aefe251409d6fba19aab4085e18d90b77550f.tar.gz
kiosktool-3b6aefe251409d6fba19aab4085e18d90b77550f.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kiosktool/pageWidget.cpp')
-rw-r--r--kiosktool/pageWidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kiosktool/pageWidget.cpp b/kiosktool/pageWidget.cpp
index 20eab51..51bcfd0 100644
--- a/kiosktool/pageWidget.cpp
+++ b/kiosktool/pageWidget.cpp
@@ -66,7 +66,7 @@ PageWidget::fillActionList(KListView *listView, ComponentData *componentData)
TQString file = action->file;
if (file.isEmpty())
file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup("KDE Action Restrictions");
bool restricted = !cfg->readBoolEntry(action->key, true);
item->setOn(restricted);
@@ -76,7 +76,7 @@ PageWidget::fillActionList(KListView *listView, ComponentData *componentData)
TQString file = action->file;
if (file.isEmpty())
file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup("KDE Resource Restrictions");
bool restricted = !cfg->readBoolEntry(action->key, true);
item->setOn(restricted);
@@ -84,7 +84,7 @@ PageWidget::fillActionList(KListView *listView, ComponentData *componentData)
else if (action->type == ComponentAction::ActModule)
{
TQString file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup("KDE Control Module Restrictions");
bool restricted = !cfg->readBoolEntry(action->key, true);
item->setOn(restricted);
@@ -109,7 +109,7 @@ tqWarning("File = %s Group = %s Immutable = %s", file.latin1(), group.latin1(),
TQString file = action->file;
if (file.isEmpty())
file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup(action->group);
bool checked = cfg->readBoolEntry(action->key, action->defaultValue);
item->setOn(checked);
@@ -126,7 +126,7 @@ PageWidget::saveActionListItem(ComponentAction *action, bool b)
TQString file = action->file;
if (file.isEmpty())
file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup("KDE Action Restrictions");
bool allowed = !b; // reverse logic
@@ -141,7 +141,7 @@ PageWidget::saveActionListItem(ComponentAction *action, bool b)
TQString file = action->file;
if (file.isEmpty())
file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup("KDE Resource Restrictions");
bool allowed = !b; // reverse logic
@@ -154,7 +154,7 @@ PageWidget::saveActionListItem(ComponentAction *action, bool b)
else if (action->type == ComponentAction::ActModule)
{
TQString file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup("KDE Control Module Restrictions");
bool allowed = !b; // reverse logic
@@ -181,7 +181,7 @@ PageWidget::saveActionListItem(ComponentAction *action, bool b)
TQString file = action->file;
if (file.isEmpty())
file = "kdeglobals";
- KConfig *cfg = KioskRun::self()->configFile(file);
+ TDEConfig *cfg = KioskRun::self()->configFile(file);
cfg->setGroup(action->group);
if (cfg->readBoolEntry(action->key, action->defaultValue) != b)