KDED
kbuildservicegroupfactory.cpp
Go to the documentation of this file.
62 void KBuildServiceGroupFactory::addNewEntryTo( const QString &menuName, const KService::Ptr& newEntry)
78 KBuildServiceGroupFactory::addNew( const QString &menuName, const QString& file, KServiceGroup::Ptr entry, bool isDeleted)
125 KBuildServiceGroupFactory::addNewChild( const QString &parent, const KSycocaEntry::Ptr& newEntry)
182 KServiceGroup::Ptr KBuildServiceGroupFactory::findGroupByDesktopPath( const QString &_name, bool deep )
void add(const QString &key, const KSycocaEntry::Ptr &payload)
virtual bool seek(qint64 pos)
static QStringList resourceTypes()
Returns all resource types for this service factory.
Definition: kbuildservicegroupfactory.cpp:43
const char * name(StandardAction id)
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
Definition: ksycocaresourcelist.h:32
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
KSycocaDict * m_baseGroupDict
virtual qint64 pos() const
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
void save(QDataStream &str)
virtual ~KBuildServiceGroupFactory()
Definition: kbuildservicegroupfactory.cpp:48
virtual void save(QDataStream &str)
Write out servicegroup specific index files.
Definition: kbuildservicegroupfactory.cpp:166
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
int m_baseGroupDictOffset
virtual void addEntry(const KSycocaEntry::Ptr &newEntry)
Add a new menu entry.
Definition: kbuildservicegroupfactory.cpp:144
int length() const
virtual KServiceGroup::Ptr findGroupByDesktopPath(const QString &_name, bool deep=true)
Find a group ( by desktop path, e.g.
Definition: kbuildservicegroupfactory.cpp:182
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString left(int n) const
QIODevice * device() const
static KSycoca * self()
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.