diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 15:51:46 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 15:51:46 -0500 |
commit | 6ed1ea98db6b1b369e7561efcc2c666b810e5446 (patch) | |
tree | 69da6d265387965c04a9584547ec42d4d372717d /kutils/kcmoduleinfo.cpp | |
parent | 09d01cacf80d21ad213e6520b35e7f06e9546a83 (diff) | |
download | tdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.tar.gz tdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.zip |
Update XDG information in support of bug report 892.
Diffstat (limited to 'kutils/kcmoduleinfo.cpp')
-rw-r--r-- | kutils/kcmoduleinfo.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kutils/kcmoduleinfo.cpp b/kutils/kcmoduleinfo.cpp index bb27f5c69..c34069c09 100644 --- a/kutils/kcmoduleinfo.cpp +++ b/kutils/kcmoduleinfo.cpp @@ -96,7 +96,7 @@ TQString KCModuleInfo::factoryName() const { if( d->factoryName.isEmpty() ) { - d->factoryName = _service->property("X-KDE-FactoryName", TQVariant::String).toString(); + d->factoryName = _service->property("X-TDE-FactoryName", TQVariant::String).toString(); if ( d->factoryName.isEmpty() ) d->factoryName = library(); } @@ -155,27 +155,27 @@ KCModuleInfo::loadAll() _allLoaded = true; // library and factory - setHandle(_service->property("X-KDE-FactoryName", TQVariant::String).toString()); + setHandle(_service->property("X-TDE-FactoryName", TQVariant::String).toString()); TQVariant tmp; // read weight - tmp = _service->property( "X-KDE-Weight", TQVariant::Int ); + tmp = _service->property( "X-TDE-Weight", TQVariant::Int ); setWeight( tmp.isValid() ? tmp.toInt() : 100 ); // does the module need super user privileges? - tmp = _service->property( "X-KDE-RootOnly", TQVariant::Bool ); + tmp = _service->property( "X-TDE-RootOnly", TQVariant::Bool ); setNeedsRootPrivileges( tmp.isValid() ? tmp.toBool() : false ); // does the module need to be shown to root only? // Deprecated ! KDE 4 - tmp = _service->property( "X-KDE-IsHiddenByDefault", TQVariant::Bool ); + tmp = _service->property( "X-TDE-IsHiddenByDefault", TQVariant::Bool ); setIsHiddenByDefault( tmp.isValid() ? tmp.toBool() : false ); // get the documentation path setDocPath( _service->property( "DocPath", TQVariant::String ).toString() ); - tmp = _service->property( "X-KDE-Test-Module", TQVariant::Bool ); + tmp = _service->property( "X-TDE-Test-Module", TQVariant::Bool ); setNeedsTest( tmp.isValid() ? tmp.asBool() : false ); } |