Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qqmlengine_p.h"
#include "qqmlengine.h"
#include "qqmlcontext_p.h"
#include "qqml.h"
#include "qqmlcontext.h"
#include "qqmlscriptstring.h"
#include "qqmlglobal_p.h"
#include "qqmlnotifier_p.h"
#include "qqmlincubator.h"
#include "qqmlabstracturlinterceptor.h"
#include <private/qqmldirparser_p.h>
#include <private/qqmlboundsignal_p.h>
#include <private/qqmljsdiagnosticmessage_p.h>
#include <private/qqmltype_p_p.h>
#include <private/qqmlpluginimporter_p.h>
#include <QtCore/qstandardpaths.h>
#include <QtCore/qmetaobject.h>
#include <QDebug>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qcryptographichash.h>
#include <QtCore/qdir.h>
#include <QtCore/qmutex.h>
#include <QtCore/qthread.h>
#include <private/qthread_p.h>
#include <private/qqmlscriptdata_p.h>
#include <QtQml/private/qqmlcomponentattached_p.h>
#include <QtQml/private/qqmlsourcecoordinate_p.h>
#include <QtQml/private/qqmlcomponent_p.h>
#include <private/qobject_p.h>
#include <private/qmetaobject_p.h>
#include <private/qqmlbind_p.h>
#include <private/qqmlconnections_p.h>
#include <private/qqmlplatform_p.h>
#include <private/qqmlloggingcategory_p.h>
#include <private/qv4sequenceobject_p.h>
#include "moc_qqmlengine.cpp"
Go to the source code of this file.
Classes | |
class | QQmlThreadNotifierProxyObject |
class | QQmlDataExtended |
Functions | |
QT_BEGIN_NAMESPACE void | qml_register_types_QML () |
template<> | |
int | qmlRegisterType< void > (const char *uri, int versionMajor, int versionMinor, const char *qmlName) |
static void | dumpwarning (const QQmlError &error) |
static void | dumpwarning (const QList< QQmlError > &errors) |
bool | QQml_isFileCaseCorrect (const QString &fileName, int lengthIn) |
Returns true if the case of fileName is equivalent to the file case of fileName on disk, and false otherwise. | |
void | hasJsOwnershipIndicator (QQmlGuardImpl *) |
Definition at line 1528 of file qqmlengine.cpp.
References dumpwarning().
Definition at line 1501 of file qqmlengine.cpp.
References QMessageLogger::critical(), QMessageLogger::debug(), error, QMessageLogger::info(), QtCriticalMsg, QtDebugMsg, QtFatalMsg, QtInfoMsg, QtWarningMsg, and QMessageLogger::warning().
Referenced by dumpwarning(), QQmlEnginePrivate::warning(), QQmlEnginePrivate::warning(), QQmlEnginePrivate::warning(), QQmlEnginePrivate::warning(), QQmlEnginePrivate::warning(), and QQmlEnginePrivate::warning().
void hasJsOwnershipIndicator | ( | QQmlGuardImpl * | ) |
Definition at line 2116 of file qqmlengine.cpp.
QT_BEGIN_NAMESPACE void qml_register_types_QML | ( | ) |
int qmlRegisterType< void > | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor, | ||
const char * | qmlName ) |
Definition at line 438 of file qqmlengine.cpp.
References QQmlPrivate::RegisterType::CurrentVersion, QTypeRevision::fromVersion(), QQmlPrivate::None, QQmlPrivate::qmlregister(), QQmlPrivate::TypeRegistration, and QTypeRevision::zero().
bool QQml_isFileCaseCorrect | ( | const QString & | fileName, |
int | length = -1 ) |
Returns true if the case of fileName is equivalent to the file case of fileName on disk, and false otherwise.
This is used to ensure that the behavior of QML on a case-insensitive file system is the same as on a case-sensitive file system. This function performs a "best effort" attempt to determine the real case of the file. It may have false positives (say the case is correct when it isn't), but it should never have a false negative (say the case is incorrect when it is correct).
Length specifies specifies the number of characters to be checked from behind. That is, if a file name results from a relative path specification like "foo/bar.qml" and is made absolute, the original length (11) should be passed indicating that only the last part of the relative path should be checked.
Definition at line 2043 of file qqmlengine.cpp.
References QString::at(), fileName, info, QString::lastIndexOf(), QString::length(), Q_UNUSED, and qMin().
Referenced by QQmlPluginImporter::importDynamicPlugin(), QQmlFile::load(), QQmlFile::load(), QQmlTypeLoader::qmldirContent(), and QQmlImportInstance::resolveType().