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

(1df5b5d53aaa02b7de26f221b4a0ab8bf5360992)

#include "qproperty.h"
#include "qproperty_p.h"
#include <qscopedvaluerollback.h>
#include <QScopeGuard>
#include <QtCore/qalloc.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/private/qthread_p.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qmutex.h>
#include "qobject_p.h"
Include dependency graph for qproperty.cpp:

Go to the source code of this file.

Classes

struct  QPropertyDelayedNotifications
struct  QBindingStorageData
struct  QBindingStoragePrivate
struct  QBindingStoragePrivate::Pair

Namespaces

namespace  QtPrivate
namespace  QtPrivate::BindableWarnings
namespace  QtPrivate::PropertyAdaptorSlotObjectHelpers

Functions

QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY (lcQPropertyBinding, "qt.qproperty.binding")
static Q_NEVER_INLINE void initBindingStatus ()
static QBindingStatusbindingStatus ()
void Q_CORE_EXPORT QtPrivate::initBindingStatusThreadId ()
Q_CORE_EXPORT BindingEvaluationStateQtPrivate::suspendCurrentBindingStatus ()
Q_CORE_EXPORT void QtPrivate::restoreBindingStatus (BindingEvaluationState *status)
Q_CORE_EXPORT bool QtPrivate::isAnyBindingEvaluating ()
Q_CORE_EXPORT bool QtPrivate::isPropertyInBindingWrapper (const QUntypedPropertyData *property)
void QtPrivate::BindableWarnings::printUnsuitableBindableWarning (QAnyStringView prefix, BindableWarnings::Reason reason)
void QtPrivate::BindableWarnings::printMetaTypeMismatch (QMetaType actual, QMetaType expected)
QBindingStatusQtPrivate::getBindingStatus (QtPrivate::QBindingStatusAccessToken)
void QtPrivate::setBindingStatus (QBindingStatus *status, QBindingStatusAccessToken)
void QtPrivate::PropertyAdaptorSlotObjectHelpers::getter (const QUntypedPropertyData *d, void *value)
void QtPrivate::PropertyAdaptorSlotObjectHelpers::setter (QUntypedPropertyData *d, const void *value)
QUntypedPropertyBinding QtPrivate::PropertyAdaptorSlotObjectHelpers::getBinding (const QUntypedPropertyData *d)
bool QtPrivate::PropertyAdaptorSlotObjectHelpers::bindingWrapper (QMetaType type, QUntypedPropertyData *d, QtPrivate::QPropertyBindingFunction binding, QUntypedPropertyData *temp, void *value)
QUntypedPropertyBinding QtPrivate::PropertyAdaptorSlotObjectHelpers::setBinding (QUntypedPropertyData *d, const QUntypedPropertyBinding &binding, QPropertyBindingWrapper wrapper)
void QtPrivate::PropertyAdaptorSlotObjectHelpers::setObserver (const QUntypedPropertyData *d, QPropertyObserver *observer)

Variables

Q_CONSTINIT thread_local QBindingStatustl_status = nullptr

Function Documentation

◆ bindingStatus()

QBindingStatus & bindingStatus ( )
static

Definition at line 217 of file qproperty.cpp.

References initBindingStatus().

Referenced by QtPrivate::suspendCurrentBindingStatus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initBindingStatus()

Q_NEVER_INLINE void initBindingStatus ( )
static

Definition at line 196 of file qproperty.cpp.

Referenced by bindingStatus().

Here is the caller graph for this function:

◆ Q_STATIC_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY ( lcQPropertyBinding ,
"qt.qproperty.binding"  )

Variable Documentation

◆ tl_status

Q_CONSTINIT thread_local QBindingStatus * tl_status = nullptr

Definition at line 194 of file qproperty.cpp.