24 #ifndef TDECMODULEINFO_H
25 #define TDECMODULEINFO_H
118 const TQStringList &
keywords()
const {
return _keywords; }
126 TQString factoryName()
const;
137 KService::Ptr
service()
const {
return _service; }
147 TQString
icon()
const {
return _icon; }
152 TQString docPath()
const;
162 TQString handle()
const;
173 bool needsRootPrivileges()
const;
179 bool isHiddenByDefault() const KDE_DEPRECATED;
187 bool needsTest() const;
196 void setKeywords(const TQStringList &keyword) { _keywords = keyword; }
202 void setName(
const TQString &name) { _name = name; }
208 void setComment(
const TQString &comment) { _comment = comment; }
214 void setIcon(
const TQString &icon) { _icon = icon; }
226 void setHandle(
const TQString &handle) { _handle = handle; }
242 void setNeedsTest(
bool val );
249 void setNeedsRootPrivileges(
bool needsRootPrivileges)
250 { _needsRootPrivileges = needsRootPrivileges; }
255 void setIsHiddenByDefault(
bool isHiddenByDefault)
256 { _isHiddenByDefault = isHiddenByDefault; }
275 void init(KService::Ptr s);
280 TQStringList _keywords;
281 TQString _name, _icon, _lib, _handle, _fileName, _doc, _comment;
282 bool _needsRootPrivileges : 1;
283 bool _isHiddenByDefault : 1;
287 KService::Ptr _service;
289 class TDECModuleInfoPrivate;
290 TDECModuleInfoPrivate *d;
294 #endif // TDECMODULEINFO_H