diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 15:46:01 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 15:46:01 -0500 |
commit | 94f3dbe7c5a7dc282c22d347d91e4851cabe77d8 (patch) | |
tree | 4c2b211ee14b20c0c30e0d80cbd813fb40c8f240 /kcontrol/kded | |
parent | 5c3cd105bf9a3f6a1089e18e5edbe2b4ebff68a1 (diff) | |
download | tdebase-94f3dbe7c5a7dc282c22d347d91e4851cabe77d8.tar.gz tdebase-94f3dbe7c5a7dc282c22d347d91e4851cabe77d8.zip |
Update XDG information in support of bug report 892.
Diffstat (limited to 'kcontrol/kded')
-rw-r--r-- | kcontrol/kded/kcmkded.cpp | 12 | ||||
-rw-r--r-- | kcontrol/kded/kcmkded.desktop | 8 |
2 files changed, 10 insertions, 10 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()); diff --git a/kcontrol/kded/kcmkded.desktop b/kcontrol/kded/kcmkded.desktop index fe45333a3..e9a46ec84 100644 --- a/kcontrol/kded/kcmkded.desktop +++ b/kcontrol/kded/kcmkded.desktop @@ -4,9 +4,9 @@ Icon=services Type=Application -X-KDE-Library=kded -X-KDE-Factoryname=kded -X-KDE-ParentApp=kcontrol +X-TDE-Library=kded +X-TDE-Factoryname=kded +X-TDE-ParentApp=kcontrol Name=Service Manager Name[af]=Diens Bestuurder @@ -233,4 +233,4 @@ Keywords[zh_CN]=KDED,Daemon,Services,守护程序,服务 Keywords[zh_TW]=KDED,Daemon,Services,伺服程式,服務 Keywords[zu]=KDED,Daemon,Imisebenzi -Categories=Qt;KDE;X-KDE-settings-components; +Categories=Qt;TDE;X-TDE-settings-components; |