KDECore
ksycocafactory.cpp
Go to the documentation of this file.
Definition ksycocadict_p.h:37
void save(QDataStream &str)
Save the dictionary to the stream A reasonable fast hash algorithm will be created.
Definition ksycocadict.cpp:331
void add(const QString &key, const KSycocaEntry::Ptr &payload)
Adds a 'payload' to the dictionary with key 'key'.
Definition ksycocadict.cpp:111
void remove(const QString &key)
Removes the 'payload' from the dictionary with key 'key'.
Definition ksycocadict.cpp:125
const KSycocaResourceList * resourceList() const
Definition ksycocafactory.cpp:226
virtual KSycocaEntry::List allEntries() const
Get a list of all entries from the database.
Definition ksycocafactory.cpp:183
virtual void virtual_hook(int id, void *data)
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Definition ksycocafactory.cpp:246
void removeEntry(const QString &entryName)
Remove all entries with the given name.
Definition ksycocafactory.cpp:172
virtual void saveHeader(QDataStream &str)
Writes out a header to the stream 'str'.
Definition ksycocafactory.cpp:87
virtual void save(QDataStream &str)
Saves all entries it maintains as well as index files for these entries to the stream 'str'.
Definition ksycocafactory.cpp:97
KSycocaFactory(KSycocaFactoryId factory_id)
Create a factory which can be used to lookup from/create a database (depending on KSycoca::isBuilding...
Definition ksycocafactory.cpp:50
virtual void addEntry(const KSycocaEntry::Ptr &newEntry)
Add an entry.
Definition ksycocafactory.cpp:146
virtual KSycocaEntry * createEntry(const QString &file, const char *resource) const =0
Construct an entry from a config file.
KSycocaFactoryId
A KSycocaFactoryId is a code (out of the KSycocaFactoryId enum) assigned to each class type derived f...
Definition ksycocatype.h:44
static KSycoca * self()
Get or create the only instance of KSycoca (read-only)
Definition ksycoca.cpp:293
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.