From 6ed1ea98db6b1b369e7561efcc2c666b810e5446 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:51:46 -0500 Subject: Update XDG information in support of bug report 892. --- kutils/kcmoduleinfo.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kutils/kcmoduleinfo.cpp') 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 ); } -- cgit v1.2.1