KDED
kbuildservicegroupfactory.h
Go to the documentation of this file.
65 KServiceGroup::Ptr addNew( const QString &menuName, const QString& file, KServiceGroup::Ptr entry, bool isDeleted);
static QStringList resourceTypes()
Returns all resource types for this service factory.
Definition: kbuildservicegroupfactory.cpp:43
void addNewChild(const QString &parent, const KSycocaEntry::Ptr &newEntry)
Adds the entry newEntry to the "parent group" parent, creating the group if necassery.
Definition: kbuildservicegroupfactory.cpp:125
virtual void saveHeader(QDataStream &str)
Write out header information.
Definition: kbuildservicegroupfactory.cpp:158
virtual KServiceGroup * createEntry(const QString &, const char *) const
Create new entry.
Definition: kbuildservicegroupfactory.cpp:54
virtual ~KBuildServiceGroupFactory()
Definition: kbuildservicegroupfactory.cpp:48
virtual void save(QDataStream &str)
Write out servicegroup specific index files.
Definition: kbuildservicegroupfactory.cpp:166
Service group factory for building ksycoca.
Definition: kbuildservicegroupfactory.h:30
KServiceGroup::Ptr addNew(const QString &menuName, const QString &file, KServiceGroup::Ptr 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:78
virtual KServiceGroup * createEntry(int) const
Definition: kbuildservicegroupfactory.h:45
virtual void addEntry(const KSycocaEntry::Ptr &newEntry)
Add a new menu entry.
Definition: kbuildservicegroupfactory.cpp:144
virtual KServiceGroup::Ptr findGroupByDesktopPath(const QString &_name, bool deep=true)
Find a group ( by desktop path, e.g.
Definition: kbuildservicegroupfactory.cpp:182
void addNewEntryTo(const QString &menuName, const KService::Ptr &newEntry)
Adds the entry newEntry to the menu menuName.
Definition: kbuildservicegroupfactory.cpp:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.