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>.
Loading...
Searching...
No Matches
QQuickStatePrivate Class Reference

#include <qquickstate_p_p.h>

+ Inheritance diagram for QQuickStatePrivate:
+ Collaboration diagram for QQuickStatePrivate:

Classes

struct  OperationGuard
 

Public Types

typedef QList< QQuickSimpleActionSimpleActionList
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Public Member Functions

 QQuickStatePrivate ()
 
QQuickStateOperation::ActionList generateActionList () const
 
void complete ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static void operations_append (QQmlListProperty< QQuickStateOperation > *prop, QQuickStateOperation *op)
 
static void operations_clear (QQmlListProperty< QQuickStateOperation > *prop)
 
static qsizetype operations_count (QQmlListProperty< QQuickStateOperation > *prop)
 
static QQuickStateOperationoperations_at (QQmlListProperty< QQuickStateOperation > *prop, qsizetype index)
 
static void operations_replace (QQmlListProperty< QQuickStateOperation > *prop, qsizetype index, QQuickStateOperation *op)
 
static void operations_removeLast (QQmlListProperty< QQuickStateOperation > *prop)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Public Attributes

QString name
 
bool when
 
bool whenKnown
 
bool named
 
QList< OperationGuardoperations
 
QQuickTransitionManager transitionManager
 
SimpleActionList revertList
 
QList< QQuickRevertActionreverting
 
QString extends
 
bool inState
 
QQuickStateGroupgroup
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Detailed Description

Definition at line 162 of file qquickstate_p_p.h.

Member Typedef Documentation

◆ SimpleActionList

Constructor & Destructor Documentation

◆ QQuickStatePrivate()

QQuickStatePrivate::QQuickStatePrivate ( )
inline

Definition at line 167 of file qquickstate_p_p.h.

Member Function Documentation

◆ complete()

void QQuickStatePrivate::complete ( )

Definition at line 262 of file qquickstate.cpp.

References QList< T >::at(), QList< T >::clear(), emit, QQuickSimpleAction::event(), QQuickRevertAction::event, QQuickSimpleAction::property(), QQuickRevertAction::property, QList< T >::removeAt(), reverting, revertList, and QList< T >::size().

+ Here is the call graph for this function:

◆ generateActionList()

QQuickStateOperation::ActionList QQuickStatePrivate::generateActionList ( ) const

Definition at line 287 of file qquickstate.cpp.

References extends, generateActionList(), inState, QString::isEmpty(), operations, and qmlExecuteDeferred().

Referenced by generateActionList().

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

◆ operations_append()

static void QQuickStatePrivate::operations_append ( QQmlListProperty< QQuickStateOperation > * prop,
QQuickStateOperation * op )
inlinestatic

Definition at line 196 of file qquickstate_p_p.h.

References QList< T >::append(), list, and QQuickStateOperation::setState().

+ Here is the call graph for this function:

◆ operations_at()

static QQuickStateOperation * QQuickStatePrivate::operations_at ( QQmlListProperty< QQuickStateOperation > * prop,
qsizetype index )
inlinestatic

Definition at line 211 of file qquickstate_p_p.h.

References QList< T >::at(), and list.

+ Here is the call graph for this function:

◆ operations_clear()

static void QQuickStatePrivate::operations_clear ( QQmlListProperty< QQuickStateOperation > * prop)
inlinestatic

Definition at line 201 of file qquickstate_p_p.h.

References QList< T >::clear(), and list.

+ Here is the call graph for this function:

◆ operations_count()

static qsizetype QQuickStatePrivate::operations_count ( QQmlListProperty< QQuickStateOperation > * prop)
inlinestatic

Definition at line 207 of file qquickstate_p_p.h.

References list, and QList< T >::size().

+ Here is the call graph for this function:

◆ operations_removeLast()

static void QQuickStatePrivate::operations_removeLast ( QQmlListProperty< QQuickStateOperation > * prop)
inlinestatic

Definition at line 227 of file qquickstate_p_p.h.

References QList< T >::last(), list, and QList< T >::removeLast().

+ Here is the call graph for this function:

◆ operations_replace()

static void QQuickStatePrivate::operations_replace ( QQmlListProperty< QQuickStateOperation > * prop,
qsizetype index,
QQuickStateOperation * op )
inlinestatic

Definition at line 215 of file qquickstate_p_p.h.

References QList< T >::at(), list, QList< T >::replace(), and QQuickStateOperation::setState().

+ Here is the call graph for this function:

Member Data Documentation

◆ extends

QString QQuickStatePrivate::extends

Definition at line 237 of file qquickstate_p_p.h.

Referenced by generateActionList().

◆ group

QQuickStateGroup* QQuickStatePrivate::group

Definition at line 239 of file qquickstate_p_p.h.

◆ inState

bool QQuickStatePrivate::inState
mutable

Definition at line 238 of file qquickstate_p_p.h.

Referenced by generateActionList().

◆ name

QString QQuickStatePrivate::name

Definition at line 172 of file qquickstate_p_p.h.

◆ named

bool QQuickStatePrivate::named

Definition at line 175 of file qquickstate_p_p.h.

◆ operations

QList<OperationGuard> QQuickStatePrivate::operations

Definition at line 194 of file qquickstate_p_p.h.

Referenced by generateActionList().

◆ reverting

QList<QQuickRevertAction> QQuickStatePrivate::reverting

Definition at line 236 of file qquickstate_p_p.h.

Referenced by complete().

◆ revertList

SimpleActionList QQuickStatePrivate::revertList

Definition at line 235 of file qquickstate_p_p.h.

Referenced by QQuickState::apply(), and complete().

◆ transitionManager

QQuickTransitionManager QQuickStatePrivate::transitionManager

Definition at line 233 of file qquickstate_p_p.h.

◆ when

bool QQuickStatePrivate::when

Definition at line 173 of file qquickstate_p_p.h.

◆ whenKnown

bool QQuickStatePrivate::whenKnown

Definition at line 174 of file qquickstate_p_p.h.


The documentation for this class was generated from the following files: