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

(92c5114261a2a2457028b09519a98cb0c11c5335)

#include "qqmlpropertycache_p.h"
#include <private/qqmlengine_p.h>
#include <private/qqmlbinding_p.h>
#include <private/qqmlvmemetaobject_p.h>
#include <private/qmetaobject_p.h>
#include <private/qmetaobjectbuilder_p.h>
#include <private/qqmlpropertycachemethodarguments_p.h>
#include <private/qqmlsignalnames_p.h>
#include <private/qv4codegen_p.h>
#include <private/qv4value_p.h>
#include <QtCore/qdebug.h>
#include <QtCore/QCryptographicHash>
#include <QtCore/private/qtools_p.h>
#include <limits.h>
#include <algorithm>
Include dependency graph for qqmlpropertycache.cpp:

Go to the source code of this file.

Macros

#define Q_INT16_MAX   32767

Functions

static int metaObjectSignalCount (const QMetaObject *metaObject)
static QHashedString signalNameToHandlerName (const QHashedString &methodName)
static QHashedString signalNameToHandlerName (const QHashedCStringRef &methodName)
static std::pair< bool, int > deriveEncodingAndLength (const char *str)
template<typename T>
static QQmlPropertyData qQmlPropertyCacheCreate (const QMetaObject *metaObject, const T &propertyName)
static const char * qQmlPropertyCacheToString (QLatin1String string)
static QByteArray qQmlPropertyCacheToString (QStringView string)
static QByteArray qQmlPropertyCacheToString (const QV4::String *string)
template<typename T>
const QQmlPropertyDataqQmlPropertyCacheProperty (QObject *obj, T name, const QQmlRefPointer< QQmlContextData > &context, QQmlPropertyData *local)
static const QByteArray stringData (const QMetaObject *mo, int index)

Macro Definition Documentation

◆ Q_INT16_MAX

#define Q_INT16_MAX   32767

Definition at line 32 of file qqmlpropertycache.cpp.

Function Documentation

◆ deriveEncodingAndLength()

std::pair< bool, int > deriveEncodingAndLength ( const char * str)
inlinestatic

Definition at line 380 of file qqmlpropertycache.cpp.

◆ metaObjectSignalCount()

int metaObjectSignalCount ( const QMetaObject * metaObject)
static

Definition at line 34 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheCreate()

template<typename T>
QQmlPropertyData qQmlPropertyCacheCreate ( const QMetaObject * metaObject,
const T & propertyName )
static

Definition at line 776 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheProperty()

template<typename T>
const QQmlPropertyData * qQmlPropertyCacheProperty ( QObject * obj,
T name,
const QQmlRefPointer< QQmlContextData > & context,
QQmlPropertyData * local )

Definition at line 851 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheToString() [1/3]

QByteArray qQmlPropertyCacheToString ( const QV4::String * string)
inlinestatic

Definition at line 844 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheToString() [2/3]

const char * qQmlPropertyCacheToString ( QLatin1String string)
inlinestatic

Definition at line 834 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheToString() [3/3]

QByteArray qQmlPropertyCacheToString ( QStringView string)
inlinestatic

Definition at line 839 of file qqmlpropertycache.cpp.

◆ signalNameToHandlerName() [1/2]

QHashedString signalNameToHandlerName ( const QHashedCStringRef & methodName)
static

Definition at line 374 of file qqmlpropertycache.cpp.

◆ signalNameToHandlerName() [2/2]

QHashedString signalNameToHandlerName ( const QHashedString & methodName)
static

Definition at line 369 of file qqmlpropertycache.cpp.

◆ stringData()

const QByteArray stringData ( const QMetaObject * mo,
int index )
inlinestatic

Definition at line 901 of file qqmlpropertycache.cpp.