QtBase
v6.3.1
|
#include <qobject_p.h>
Classes | |
struct | Connection |
struct | ConnectionData |
struct | ConnectionList |
struct | ConnectionOrSignalVector |
struct | ExtraData |
struct | Sender |
struct | SignalVector |
Public Types | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Static Public Member Functions | |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (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) |
static bool | disconnect (Connection *c) |
Public Attributes | |
ExtraData * | extraData |
QAtomicPointer< QThreadData > | threadData |
QAtomicPointer< ConnectionData > | connections |
union { | |
QObject * currentChildBeingDeleted | |
QAbstractDeclarativeData * declarativeData | |
}; | |
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount |
Public Attributes inherited from QObjectData | |
QObject * | q_ptr |
QObject * | parent |
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 | unused: 24 |
int | postedEvents |
QDynamicMetaObjectData * | metaObject |
QBindingStorage | bindingStorage |
Definition at line 98 of file qobject_p.h.
Definition at line 422 of file qobject_p.h.
typedef void(* QObjectPrivate::StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Definition at line 127 of file qobject_p.h.
QObjectPrivate::QObjectPrivate | ( | int | version = QObjectPrivateVersion | ) |
|
virtual |
void QObjectPrivate::addConnection | ( | int | signal, |
Connection * | c | ||
) |
|
inline |
Definition at line 444 of file qobject_p.h.
void QObjectPrivate::clearBindingStorage | ( | ) |
Definition at line 954 of file qobject.cpp.
|
static |
|
static |
|
inlinestatic |
Definition at line 533 of file qobject_p.h.
|
static |
|
inline |
void QObjectPrivate::deleteChildren | ( | ) |
|
static |
Definition at line 5279 of file qobject.cpp.
|
static |
Definition at line 5265 of file qobject.cpp.
|
inlinestatic |
|
inline |
Definition at line 470 of file qobject_p.h.
|
inline |
Definition at line 404 of file qobject_p.h.
|
inlinestatic |
|
inlinestatic |
|
inline |
Definition at line 460 of file qobject.cpp.
bool QObjectPrivate::maybeSignalConnected | ( | uint | signalIndex | ) | const |
void QObjectPrivate::moveToThread_helper | ( | ) |
QObjectList QObjectPrivate::receiverList | ( | const char * | signal | ) | const |
QObjectList QObjectPrivate::senderList | ( | ) | const |
Definition at line 291 of file qobject.cpp.
Definition at line 2132 of file qobject.cpp.
void QObjectPrivate::setThreadData_helper | ( | QThreadData * | currentData, |
QThreadData * | targetData | ||
) |
int QObjectPrivate::signalIndex | ( | const char * | signalName, |
const QMetaObject ** | meta = nullptr |
||
) | const |
Definition at line 4018 of file qobject.cpp.
union { ... } |
QAtomicPointer<ConnectionData> QObjectPrivate::connections |
Definition at line 423 of file qobject_p.h.
QObject* QObjectPrivate::currentChildBeingDeleted |
Definition at line 426 of file qobject_p.h.
QAbstractDeclarativeData* QObjectPrivate::declarativeData |
Definition at line 427 of file qobject_p.h.
|
mutable |
Definition at line 414 of file qobject_p.h.
QAtomicPointer<QtSharedPointer::ExternalRefCountData> QObjectPrivate::sharedRefcount |
Definition at line 432 of file qobject_p.h.
QAtomicPointer<QThreadData> QObjectPrivate::threadData |
Definition at line 420 of file qobject_p.h.