summaryrefslogtreecommitdiffstats
path: root/kcontrol/kded/kcmkded.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:46:01 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:46:01 -0500
commit94f3dbe7c5a7dc282c22d347d91e4851cabe77d8 (patch)
tree4c2b211ee14b20c0c30e0d80cbd813fb40c8f240 /kcontrol/kded/kcmkded.cpp
parent5c3cd105bf9a3f6a1089e18e5edbe2b4ebff68a1 (diff)
downloadtdebase-94f3dbe7c5a7dc282c22d347d91e4851cabe77d8.tar.gz
tdebase-94f3dbe7c5a7dc282c22d347d91e4851cabe77d8.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'kcontrol/kded/kcmkded.cpp')
-rw-r--r--kcontrol/kded/kcmkded.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/kded/kcmkded.cpp b/kcontrol/kded/kcmkded.cpp
index 51d742894..c74b46e08 100644
--- a/kcontrol/kded/kcmkded.cpp
+++ b/kcontrol/kded/kcmkded.cpp
@@ -159,7 +159,7 @@ void KDEDConfig::load( bool useDefaults ) {
if ( KDesktopFile::isDesktopFile( *it ) ) {
KDesktopFile file( *it, true, "services" );
- if ( file.readBoolEntry("X-KDE-Kded-autoload") ) {
+ if ( file.readBoolEntry("X-TDE-Kded-autoload") ) {
clitem = new CheckListItem(_lvStartup, TQString::null);
connect(clitem, TQT_SIGNAL(changed(TQCheckListItem*)), TQT_SLOT(slotItemChecked(TQCheckListItem*)));
clitem->setOn(autoloadEnabled(&kdedrc, *it));
@@ -167,13 +167,13 @@ void KDEDConfig::load( bool useDefaults ) {
item->setText(1, file.readName());
item->setText(2, file.readComment());
item->setText(3, NOT_RUNNING);
- item->setText(4, file.readEntry("X-KDE-Library"));
+ item->setText(4, file.readEntry("X-TDE-Library"));
}
- else if ( file.readBoolEntry("X-KDE-Kded-load-on-demand") ) {
+ else if ( file.readBoolEntry("X-TDE-Kded-load-on-demand") ) {
item = new TQListViewItem(_lvLoD, file.readName());
item->setText(1, file.readComment());
item->setText(2, NOT_RUNNING);
- item->setText(4, file.readEntry("X-KDE-Library"));
+ item->setText(4, file.readEntry("X-TDE-Library"));
}
}
}
@@ -199,9 +199,9 @@ void KDEDConfig::save() {
KConfig file( *it, false, false, "services" );
file.setGroup("Desktop Entry");
- if (file.readBoolEntry("X-KDE-Kded-autoload")){
+ if (file.readBoolEntry("X-TDE-Kded-autoload")){
- item = static_cast<TQCheckListItem *>(_lvStartup->findItem(file.readEntry("X-KDE-Library"),4));
+ item = static_cast<TQCheckListItem *>(_lvStartup->findItem(file.readEntry("X-TDE-Library"),4));
if (item) {
// we found a match, now compare and see what changed
setAutoloadEnabled(&kdedrc, *it, item->isOn());