6#include <private/qv4compileddata_p.h>
7#include <private/qv4executablecompilationunit_p.h>
9#include <QtCore/qdatetime.h>
10#include <QtCore/qmutex.h>
11#include <QtCore/qhash.h>
48QMutex StaticUnitCache::s_mutex;
68 cache.set(cacheFilePath, *
this);
79 cache.remove(cacheFilePath);
\inmodule QtCore\reentrant
bool remove(const Key &key)
Removes the item that has the key from the hash.
const_iterator constFind(const Key &key) const noexcept
const_iterator constEnd() const noexcept
Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the ...
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
\macro QT_RESTRICTED_CAST_FROM_ASCII
static void invalidate(const QString &cacheFilePath)
CompiledData::Unit * get(const QString &cacheFilePath, const QDateTime &sourceTimeStamp, QString *errorString)
static bool verifyHeader(const CompiledData::Unit *unit, QDateTime expectedSourceTimeStamp, QString *errorString)
CompilationUnitMapper get(const QString &file)
void set(const QString &file, const CompilationUnitMapper &staticUnit)
void remove(const QString &file)
QCache< int, Employee > cache
[0]
QSet< QString >::iterator it
Combined button and popup list for selecting options.
\qmltype Particle \inqmlmodule QtQuick.Particles
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data