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
qqmlengine.cpp File Reference

(6be33f6a54704e3563c265c71f3c163c548f8d7b)

#include "qqmlengine_p.h"
#include "qqmlengine.h"
#include <private/qqmlabstractbinding_p.h>
#include <private/qqmlboundsignal_p.h>
#include <private/qqmlcontext_p.h>
#include <private/qqmlnotifier_p.h>
#include <private/qqmlpluginimporter_p.h>
#include <private/qqmlprofiler_p.h>
#include <private/qqmlscriptdata_p.h>
#include <private/qqmlsourcecoordinate_p.h>
#include <private/qqmltype_p.h>
#include <private/qqmltypedata_p.h>
#include <private/qqmlvmemetaobject_p.h>
#include <private/qqmlcomponent_p.h>
#include <private/qobject_p.h>
#include <private/qthread_p.h>
#include <QtQml/qqml.h>
#include <QtQml/qqmlcomponent.h>
#include <QtQml/qqmlcontext.h>
#include <QtQml/qqmlincubator.h>
#include <QtQml/qqmlscriptstring.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qcryptographichash.h>
#include <QtCore/qdir.h>
#include <QtCore/qdiriterator.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qmutex.h>
#include <QtCore/qstandardpaths.h>
#include <QtCore/qstorageinfo.h>
#include <QtCore/qthread.h>
#include "moc_qqmlengine.cpp"
+ Include dependency graph for qqmlengine.cpp:

Go to the source code of this file.

Classes

class  QQmlThreadNotifierProxyObject
 
class  QQmlDataExtended
 

Functions

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)
 
static bool hasRequiredProperties (const QQmlPropertyCache::ConstPtr &propertyCache)
 
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 *)
 
template<>
int qmlRegisterType< void > (const char *uri, int versionMajor, int versionMinor, const char *qmlName)
 

Function Documentation

◆ dumpwarning() [1/2]

static void dumpwarning ( const QList< QQmlError > & errors)
static

Definition at line 1504 of file qqmlengine.cpp.

◆ dumpwarning() [2/2]

static void dumpwarning ( const QQmlError & error)
static

Definition at line 1477 of file qqmlengine.cpp.

◆ hasJsOwnershipIndicator()

void hasJsOwnershipIndicator ( QQmlGuardImpl * )

Definition at line 2149 of file qqmlengine.cpp.

◆ hasRequiredProperties()

static bool hasRequiredProperties ( const QQmlPropertyCache::ConstPtr & propertyCache)
static

Definition at line 1800 of file qqmlengine.cpp.

◆ qml_register_types_QML()

void qml_register_types_QML ( )

◆ qmlRegisterType< void >() [1/2]

template<>
int qmlRegisterType< void > ( const char * uri,
int versionMajor,
int versionMinor,
const char * qmlName )

Definition at line 427 of file qqmlengine.cpp.

◆ qmlRegisterType< void >() [2/2]

template<>
int qmlRegisterType< void > ( const char * uri,
int versionMajor,
int versionMinor,
const char * qmlName )

Definition at line 427 of file qqmlengine.cpp.

◆ QQml_isFileCaseCorrect()

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.

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 2057 of file qqmlengine.cpp.