KUtils
Go to the documentation of this file.
26 #include <QtCore/QVariant>
34 class KCModuleInfo::Private
54 KCModuleInfo::Private::Private()
64 kDebug(712) <<
"Could not find the service.";
69 name = service->name();
70 comment = service->comment();
71 icon = service->icon();
72 fileName = service->entryPath();
73 lib = service->library();
74 keywords = service->keywords();
89 d =
new Private( moduleInfo );
106 return ( ( d->name == rhs.d->name ) && ( d->lib == rhs.d->lib ) && ( d->fileName == rhs.d->fileName ) );
119 void KCModuleInfo::Private::loadAll()
127 doc = service->property(
"X-DocPath", QVariant::String ).toString();
129 doc = service->property(
"DocPath", QVariant::String ).toString();
132 QVariant tmp = service->property(
"X-KDE-Weight", QVariant::Int );
133 weight = tmp.isValid() ? tmp.toInt() : 100;
136 tmp = service->property(
"X-KDE-FactoryName", QVariant::String);
137 handle = tmp.isValid() ? tmp.toString() : lib;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Apr 16 2013 21:06:47 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.