KDECore
ksycocafactory.cpp
Go to the documentation of this file.
162 //kDebug(7021) << "removing" << oldEntry.data() << oldEntry->entryPath() << "because of" << newEntry->entryPath() << "they have the same storageId" << newEntry->storageId();
Definition: ksycocadict_p.h:36
const KSycocaResourceList * resourceList() const
Definition: ksycocafactory.cpp:226
iterator insert(const Key &key, const T &value)
virtual bool seek(qint64 pos)
virtual KSycocaEntry * createEntry(const QString &file, const char *resource) const =0
Construct an entry from a config file.
virtual qint64 pos() const
void removeEntry(const QString &entryName)
Remove all entries with the given name.
Definition: ksycocafactory.cpp:172
void append(const T &value)
virtual void addEntry(const KSycocaEntry::Ptr &newEntry)
Add an entry.
Definition: ksycocafactory.cpp:146
iterator begin()
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
int remove(const Key &key)
const T value(const Key &key) const
QThread * currentThread()
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 saveHeader(QDataStream &str)
Writes out a header to the stream 'str'.
Definition: ksycocafactory.cpp:87
QIODevice * device() const
iterator end()
typedef Iterator
static KSycoca * self()
Get or create the only instance of KSycoca (read-only)
Definition: ksycoca.cpp:293
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22: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:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.