Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmljsimporter.cpp File Reference

(d16bcf083a0d216411702d45f3884d77902c09a6)

#include "qqmljsimporter_p.h"
#include "qqmljstypedescriptionreader_p.h"
#include "qqmljstypereader_p.h"
#include "qqmljsimportvisitor_p.h"
#include "qqmljslogger_p.h"
#include "qqmljsutils_p.h"
#include <QtQml/private/qqmlimportresolver_p.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qdiriterator.h>
+ Include dependency graph for qqmljsimporter.cpp:

Go to the source code of this file.

Functions

static const QString prefixedName (const QString &prefix, const QString &name)
 
static QString internalName (const QQmlJSScope::ConstPtr &scope)
 
static bool isComposite (const QQmlJSScope::ConstPtr &scope)
 
static QStringList aliases (const QQmlJSScope::ConstPtr &scope)
 
static QString resolvePreferredPath (const QString &qmldirPath, const QString &prefer, QQmlJSResourceFileMapper *mapper)
 
static bool isVersionAllowed (const QQmlJSScope::Export &exportEntry, const QQmlJS::Import &importDescription)
 

Variables

static const QLatin1String SlashQmldir = QLatin1String("/qmldir")
 
static const QLatin1String PluginsDotQmltypes = QLatin1String("plugins.qmltypes")
 

Function Documentation

◆ aliases()

static QStringList aliases ( const QQmlJSScope::ConstPtr & scope)
static

Definition at line 157 of file qqmljsimporter.cpp.

◆ internalName()

static QString internalName ( const QQmlJSScope::ConstPtr & scope)
static

Definition at line 144 of file qqmljsimporter.cpp.

◆ isComposite()

static bool isComposite ( const QQmlJSScope::ConstPtr & scope)
static

Definition at line 151 of file qqmljsimporter.cpp.

◆ isVersionAllowed()

static bool isVersionAllowed ( const QQmlJSScope::Export & exportEntry,
const QQmlJS::Import & importDescription )
static

Definition at line 391 of file qqmljsimporter.cpp.

◆ prefixedName()

static const QString prefixedName ( const QString & prefix,
const QString & name )
static

Definition at line 39 of file qqmljsimporter.cpp.

◆ resolvePreferredPath()

static QString resolvePreferredPath ( const QString & qmldirPath,
const QString & prefer,
QQmlJSResourceFileMapper * mapper )
static

Definition at line 178 of file qqmljsimporter.cpp.

Variable Documentation

◆ PluginsDotQmltypes

static const QLatin1String PluginsDotQmltypes = QLatin1String("plugins.qmltypes")
static

Definition at line 21 of file qqmljsimporter.cpp.

◆ SlashQmldir

static const QLatin1String SlashQmldir = QLatin1String("/qmldir")
static

Definition at line 20 of file qqmljsimporter.cpp.