#include "qdeclarativeimport_p.h"
#include <QtCore/qdebug.h>
#include <QtCore/qdir.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qpluginloader.h>
#include <QtCore/qlibraryinfo.h>
#include <QtCore/qalgorithms.h>
#include <QtDeclarative/qdeclarativeextensioninterface.h>
#include <private/qdeclarativeglobal_p.h>
#include <private/qdeclarativetypenamecache_p.h>
#include <private/qdeclarativeengine_p.h>
Go to the source code of this file.
◆ StringStringMap
◆ cacheForNamespace()
Definition at line 173 of file qdeclarativeimport.cpp.
Referenced by QDeclarativeImports::populateCache().
181 for (
int ii = 0; ii <
set.uris.count(); ++ii) {
183 int major =
set.majversions.at(ii);
184 int minor =
set.minversions.at(ii);
193 cache->
add(name, type);
The QByteArray class provides an array of bytes.
void add(const QString &, int)
The QString class provides a Unicode character string.
bool startsWith(const QByteArray &a) const
Returns true if this byte array starts with byte array ba; otherwise returns false.
int lastIndexOf(char c, int from=-1) const
Returns the index position of the last occurrence of character ch in the byte array, searching backward from index position from.
static QString fromUtf8(const char *, int size=-1)
Returns a QString initialized with the first size bytes of the UTF-8 string str.
QByteArray qmlTypeName() const
QByteArray mid(int index, int len=-1) const
Returns a byte array containing len bytes from this byte array, starting at position pos...
int length() const
Same as size().
bool availableInVersion(int vmajor, int vminor) const
The QList class is a template class that provides lists.
◆ greaterThan()
◆ Q_GLOBAL_STATIC()