kbuildservicegroupfactory.h
58 KServiceGroup *addNewChild( const TQString &parent, const char *resource, KSycocaEntry *newEntry);
65 KServiceGroup *addNew( const TQString &menuName, const TQString& file, KServiceGroup *entry, bool isDeleted);
Service group factory for building tdesycoca.
Definition: kbuildservicegroupfactory.h:31
static TQStringList resourceTypes()
Returns all resource types for this service factory.
Definition: kbuildservicegroupfactory.cpp:40
virtual KServiceGroup * createEntry(const TQString &, const char *)
Create new entry.
Definition: kbuildservicegroupfactory.cpp:51
virtual void saveHeader(TQDataStream &str)
Write out header information.
Definition: kbuildservicegroupfactory.cpp:156
KServiceGroup * addNew(const TQString &menuName, const TQString &file, KServiceGroup *entry, bool isDeleted)
Add new menu menuName defined by file When entry is non-null it is re-used, otherwise a new group is ...
Definition: kbuildservicegroupfactory.cpp:75
KServiceGroup * addNewChild(const TQString &parent, const char *resource, KSycocaEntry *newEntry)
Adds the entry newEntry to the "parent group" parent, creating the group if necassery.
Definition: kbuildservicegroupfactory.cpp:121
virtual void save(TQDataStream &str)
Write out servicegroup specific index files.
Definition: kbuildservicegroupfactory.cpp:164
virtual void addEntry(KSycocaEntry *newEntry, const char *resource)
Add a new menu entry.
Definition: kbuildservicegroupfactory.cpp:143
void addNewEntryTo(const TQString &menuName, KService *newEntry)
Adds the entry newEntry to the menu menuName.
Definition: kbuildservicegroupfactory.cpp:59