KDECore
ksycocadict.cpp
Go to the documentation of this file.
132 for(KSycocaDictStringList::Iterator it = d->stringlist->begin(); it != d->stringlist->end(); ++it) {
263 // NOTE: this code is slow, it takes 12% of the _overall_ `kbuildsycoca4 --noincremental` running time
276 for(KSycocaDictStringList::const_iterator it = stringlist->constBegin(), end = stringlist->constEnd(); it != end; ++it)
289 for(KSycocaDictStringList::const_iterator it = stringlist->constBegin(), end = stringlist->constEnd(); it != end; ++it)
311 for(KSycocaDictStringList::const_iterator it = stringlist->constBegin(), end = stringlist->constEnd(); it != end; ++it)
320 for(KSycocaDictStringList::const_iterator it = stringlist->constBegin(), end = stringlist->constEnd(); it != end; ++it)
350 for(KSycocaDictStringList::const_iterator it = d->stringlist->constBegin(); it != d->stringlist->constEnd(); ++it)
422 for(KSycocaDictStringList::Iterator it = d->stringlist->begin(); it != d->stringlist->end(); ++it) {
447 for(KSycocaDictStringList::const_iterator it = d->stringlist->constBegin(); it != d->stringlist->constEnd(); ++it)
450 //kDebug(7011) << "entry keyStr=" << entry->keyStr << entry->payload.data() << entry->payload->entryPath();
503 /*kDebug(7011) << QString("Duplicate lists: Offset = %1 list_size = %2") .arg(hashTable[i].duplicate_offset,8,16).arg(dups->count());
510 kDebug() << "about to assert! dict=" << this << "storageId=" << storageId << (*dup)->payload.data();
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
QList< int > findMultiString(const QString &key) const
Looks up all entries identified by 'key'.
Definition: ksycocadict.cpp:181
Definition: ksycocatype.h:31
void save(QDataStream &str)
Save the dictionary to the stream A reasonable fast hash algorithm will be created.
Definition: ksycocadict.cpp:331
int find_string(const QString &key) const
Looks up an entry identified by 'key'.
Definition: ksycocadict.cpp:146
static void addDiversity(KSycocaDictStringList *stringlist, int pos)
Definition: ksycocadict.cpp:306
static int calcDiversity(KSycocaDictStringList *stringlist, int inPos, uint sz)
Definition: ksycocadict.cpp:265
QString storageId() const
Returns a normalized ID suitable for storing in configuration files.
Definition: kservice.cpp:783
Definition: kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.