diff options
Diffstat (limited to 'kiosktool/pageWidget.cpp')
-rw-r--r-- | kiosktool/pageWidget.cpp | 16 |
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) |