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
QQuickStateGroupPrivate Class Reference
+ Inheritance diagram for QQuickStateGroupPrivate:
+ Collaboration diagram for QQuickStateGroupPrivate:

Public Member Functions

 QQuickStateGroupPrivate ()
 
QQuickTransitionfindTransition (const QString &from, const QString &to)
 
void setCurrentStateInternal (const QString &state, bool=false)
 
bool updateAutoState ()
 
- 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 append_state (QQmlListProperty< QQuickState > *list, QQuickState *state)
 
static qsizetype count_state (QQmlListProperty< QQuickState > *list)
 
static QQuickStateat_state (QQmlListProperty< QQuickState > *list, qsizetype index)
 
static void clear_states (QQmlListProperty< QQuickState > *list)
 
static void replace_states (QQmlListProperty< QQuickState > *list, qsizetype index, QQuickState *state)
 
static void removeLast_states (QQmlListProperty< QQuickState > *list)
 
static void append_transition (QQmlListProperty< QQuickTransition > *list, QQuickTransition *state)
 
static qsizetype count_transitions (QQmlListProperty< QQuickTransition > *list)
 
static QQuickTransitionat_transition (QQmlListProperty< QQuickTransition > *list, qsizetype index)
 
static void clear_transitions (QQmlListProperty< QQuickTransition > *list)
 
- 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 currentState
 
QQuickStatenullState
 
QList< QQuickState * > states
 
QList< QQuickTransition * > transitions
 
bool componentComplete
 
bool ignoreTrans
 
bool applyingState
 
int unnamedCount
 
- 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
 

Additional Inherited Members

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

Detailed Description

Definition at line 24 of file qquickstategroup.cpp.

Constructor & Destructor Documentation

◆ QQuickStateGroupPrivate()

QQuickStateGroupPrivate::QQuickStateGroupPrivate ( )
inline

Definition at line 28 of file qquickstategroup.cpp.

Member Function Documentation

◆ append_state()

void QQuickStateGroupPrivate::append_state ( QQmlListProperty< QQuickState > * list,
QQuickState * state )
static

Definition at line 145 of file qquickstategroup.cpp.

References list, state, and QQuickStateGroup::states.

Referenced by QQuickStateGroup::statesProperty().

+ Here is the caller graph for this function:

◆ append_transition()

void QQuickStateGroupPrivate::append_transition ( QQmlListProperty< QQuickTransition > * list,
QQuickTransition * state )
static

Definition at line 235 of file qquickstategroup.cpp.

References list, and QQuickStateGroup::transitions.

Referenced by QQuickStateGroup::transitionsProperty().

+ Here is the caller graph for this function:

◆ at_state()

QQuickState * QQuickStateGroupPrivate::at_state ( QQmlListProperty< QQuickState > * list,
qsizetype index )
static

Definition at line 159 of file qquickstategroup.cpp.

References list, and QQuickStateGroup::states.

Referenced by QQuickStateGroup::statesProperty().

+ Here is the caller graph for this function:

◆ at_transition()

QQuickTransition * QQuickStateGroupPrivate::at_transition ( QQmlListProperty< QQuickTransition > * list,
qsizetype index )
static

Definition at line 248 of file qquickstategroup.cpp.

References list, and QQuickStateGroup::transitions.

Referenced by QQuickStateGroup::transitionsProperty().

+ Here is the caller graph for this function:

◆ clear_states()

void QQuickStateGroupPrivate::clear_states ( QQmlListProperty< QQuickState > * list)
static

Definition at line 165 of file qquickstategroup.cpp.

References d, list, state, and QQuickStateGroup::states.

Referenced by QQuickStateGroup::statesProperty().

+ Here is the caller graph for this function:

◆ clear_transitions()

void QQuickStateGroupPrivate::clear_transitions ( QQmlListProperty< QQuickTransition > * list)
static

Definition at line 254 of file qquickstategroup.cpp.

References list, and QQuickStateGroup::transitions.

Referenced by QQuickStateGroup::transitionsProperty().

+ Here is the caller graph for this function:

◆ count_state()

qsizetype QQuickStateGroupPrivate::count_state ( QQmlListProperty< QQuickState > * list)
static

Definition at line 153 of file qquickstategroup.cpp.

References list, and QQuickStateGroup::states.

Referenced by QQuickStateGroup::statesProperty().

+ Here is the caller graph for this function:

◆ count_transitions()

qsizetype QQuickStateGroupPrivate::count_transitions ( QQmlListProperty< QQuickTransition > * list)
static

Definition at line 242 of file qquickstategroup.cpp.

References list, and QQuickStateGroup::transitions.

Referenced by QQuickStateGroup::transitionsProperty().

+ Here is the caller graph for this function:

◆ findTransition()

QQuickTransition * QQuickStateGroupPrivate::findTransition ( const QString & from,
const QString & to )

Definition at line 393 of file qquickstategroup.cpp.

References QList< T >::at(), done, QStringLiteral, qSwap(), QList< T >::size(), QStringView::split(), and transitions.

Referenced by setCurrentStateInternal().

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

◆ removeLast_states()

void QQuickStateGroupPrivate::removeLast_states ( QQmlListProperty< QQuickState > * list)
static

Definition at line 193 of file qquickstategroup.cpp.

References d, list, and QQuickState::setStateGroup().

Referenced by QQuickStateGroup::statesProperty().

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

◆ replace_states()

void QQuickStateGroupPrivate::replace_states ( QQmlListProperty< QQuickState > * list,
qsizetype index,
QQuickState * state )
static

Definition at line 176 of file qquickstategroup.cpp.

References QString::at(), d, list, and state.

Referenced by QQuickStateGroup::statesProperty().

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

◆ setCurrentStateInternal()

void QQuickStateGroupPrivate::setCurrentStateInternal ( const QString & state,
bool ignoreTrans = false )

Definition at line 459 of file qquickstategroup.cpp.

References QQuickState::apply(), applyingState, componentComplete, currentState, emit, findTransition(), QQuickTransition::fromState(), ignoreTrans, QString::isEmpty(), newState(), nullptr, nullState, qCDebug, qmlWarning(), QQml_setParent_noEvent(), QQuickState::setStateGroup(), state, and QQuickTransition::toState().

+ Here is the call graph for this function:

◆ updateAutoState()

bool QQuickStateGroupPrivate::updateAutoState ( )

Definition at line 343 of file qquickstategroup.cpp.

References componentComplete, currentState, QQmlBinding::evaluate(), QQmlJavaScriptExpression::hasValidContext(), QString::isEmpty(), QQmlAnyBinding::ofProperty(), Q_ASSERT, qCDebug, QQmlAbstractBinding::QmlBinding, and state.

+ Here is the call graph for this function:

Member Data Documentation

◆ applyingState

bool QQuickStateGroupPrivate::applyingState

Definition at line 52 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal().

◆ componentComplete

bool QQuickStateGroupPrivate::componentComplete

Definition at line 50 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal(), and updateAutoState().

◆ currentState

QString QQuickStateGroupPrivate::currentState

Definition at line 32 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal(), and updateAutoState().

◆ ignoreTrans

bool QQuickStateGroupPrivate::ignoreTrans

Definition at line 51 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal().

◆ nullState

QQuickState* QQuickStateGroupPrivate::nullState

Definition at line 33 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal().

◆ states

QList<QQuickState *> QQuickStateGroupPrivate::states

Definition at line 47 of file qquickstategroup.cpp.

◆ transitions

QList<QQuickTransition *> QQuickStateGroupPrivate::transitions

Definition at line 48 of file qquickstategroup.cpp.

Referenced by findTransition().

◆ unnamedCount

int QQuickStateGroupPrivate::unnamedCount

Definition at line 53 of file qquickstategroup.cpp.


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