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

(a910cd9f1379e87953922a7642f313ef980ae9a2)

#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.

Namespaces

namespace  OverrideSemantics
namespace  OverrideSemantics::detail

Macros

#define Q_INT16_MAX   32767

Functions

static bool OverrideSemantics::detail::hasInvalidModifierCombintation (const QQmlPropertyData &overridingProperty)
static Status OverrideSemantics::detail::checkMinimal (const QQmlPropertyData *const existingProperty)
static Status OverrideSemantics::detail::checkFull (const QQmlPropertyData &overridingProperty, const QQmlPropertyData *const existingProperty)
static Status OverrideSemantics::detail::check (const QQmlPropertyData &overridingProperty, const QQmlPropertyData *const existingProperty, CheckMode mode)
Status OverrideSemantics::handleOverride (QQmlPropertyData &overridingProperty, QQmlPropertyData *existingProperty, CheckMode mode)
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 524 of file qqmlpropertycache.cpp.

◆ metaObjectSignalCount()

int metaObjectSignalCount ( const QMetaObject * metaObject)
static

Definition at line 157 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheCreate()

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

Definition at line 962 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheProperty()

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

Definition at line 1037 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheToString() [1/3]

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

Definition at line 1030 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheToString() [2/3]

const char * qQmlPropertyCacheToString ( QLatin1String string)
inlinestatic

Definition at line 1020 of file qqmlpropertycache.cpp.

◆ qQmlPropertyCacheToString() [3/3]

QByteArray qQmlPropertyCacheToString ( QStringView string)
inlinestatic

Definition at line 1025 of file qqmlpropertycache.cpp.

◆ signalNameToHandlerName() [1/2]

QHashedString signalNameToHandlerName ( const QHashedCStringRef & methodName)
static

Definition at line 518 of file qqmlpropertycache.cpp.

◆ signalNameToHandlerName() [2/2]

QHashedString signalNameToHandlerName ( const QHashedString & methodName)
static

Definition at line 513 of file qqmlpropertycache.cpp.

◆ stringData()

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

Definition at line 1087 of file qqmlpropertycache.cpp.