![]() |
Qt 4.8
|
#include "qobject.h"#include "qobject_p.h"#include "qmetaobject_p.h"#include "qabstracteventdispatcher.h"#include "qcoreapplication.h"#include "qcoreapplication_p.h"#include "qvariant.h"#include "qmetaobject.h"#include <qregexp.h>#include <qthread.h>#include <private/qthread_p.h>#include <qdebug.h>#include <qhash.h>#include <qpair.h>#include <qset.h>#include <qsemaphore.h>#include <qsharedpointer.h>#include <private/qorderedmutexlocker_p.h>#include <private/qmutexpool_p.h>#include <new>#include <ctype.h>#include <limits.h>#include "moc_qobject.cpp"Go to the source code of this file.
Classes | |
| class | QObjectConnectionListVector |
Typedefs | |
| typedef QMultiHash< QObject *, QObject ** > | GuardHash |
Functions | |
| static void | check_and_warn_compat (const QMetaObject *sender, const QMetaMethod &signal, const QMetaObject *receiver, const QMetaMethod &method) |
| static bool | check_method_code (int code, const QObject *object, const char *method, const char *func) |
| static bool | check_parent_thread (QObject *parent, QThreadData *parentThreadData, QThreadData *currentThreadData) |
| static bool | check_signal_macro (const QObject *sender, const char *signal, const char *func, const char *op) |
| static void | computeOffsets (const QMetaObject *metaobject, int *signalOffset, int *methodOffset) |
| static void | dumpRecursive (int level, QObject *object) |
| static void | err_info_about_objects (const char *func, const QObject *sender, const QObject *receiver) |
| static void | err_method_notfound (const QObject *object, const char *method, const char *func) |
| static int | extract_code (const char *member) |
| static const char * | extract_location (const char *member) |
| static int | methodIndexToSignalIndex (const QMetaObject *metaObject, int signal_index) |
| QDebug | operator<< (QDebug dbg, const QObject *o) |
| void | qDeleteInEventHandler (QObject *o) |
| const char * | qFlagLocation (const char *method) |
| Q_CORE_EXPORT void | qt_addObject (QObject *) |
| QObject * | qt_qFindChild_helper (const QObject *parent, const QString &name, const QMetaObject &mo) |
| void | qt_qFindChildren_helper (const QObject *parent, const QString &name, const QRegExp *re, const QMetaObject &mo, QList< void *> *list) |
| Q_CORE_EXPORT void | qt_removeObject (QObject *) |
| static void | queued_activate (QObject *sender, int signal, QObjectPrivate::Connection *c, void **argv) |
| static int * | queuedConnectionTypes (const QList< QByteArray > &typeNames) |
| static QMutex * | signalSlotLock (const QObject *o) |
Variables | |
| static int | DIRECT_CONNECTION_ONLY = 0 |
| static QBasicAtomicInt | objectCount = Q_BASIC_ATOMIC_INITIALIZER(0) |
| static QBasicAtomicPointer< QMutexPool > | signalSlotMutexes = Q_BASIC_ATOMIC_INITIALIZER(0) |
| typedef QMultiHash<QObject *, QObject **> GuardHash |
Definition at line 384 of file qobject.cpp.
|
inlinestatic |
Definition at line 2497 of file qobject.cpp.
Referenced by QObject::connect().
|
static |
Definition at line 2261 of file qobject.cpp.
Referenced by QObject::connect(), and QObject::disconnect().
|
static |
Definition at line 718 of file qobject.cpp.
Referenced by QObject::QObject().
|
static |
Definition at line 2245 of file qobject.cpp.
Referenced by QObject::connect(), QObject::disconnect(), and QObject::receivers().
|
static |
Definition at line 225 of file qobject.cpp.
Referenced by QMetaObject::activate(), QObject::connect(), QMetaObject::connectSlotsByName(), QObject::disconnect(), QObject::dumpObjectInfo(), QMetaObjectPrivate::memberIndexes(), methodIndexToSignalIndex(), and QObjectPrivate::signalIndex().
|
static |
Definition at line 3854 of file qobject.cpp.
Referenced by QObject::dumpObjectTree().
|
static |
Definition at line 2293 of file qobject.cpp.
Referenced by QObject::connect(), and QObject::disconnect().
|
static |
Definition at line 2272 of file qobject.cpp.
Referenced by QObject::connect(), QObject::disconnect(), and QObject::receivers().
|
static |
Definition at line 2228 of file qobject.cpp.
Referenced by check_signal_macro(), QObject::connect(), QObject::disconnect(), and err_method_notfound().
|
static |
|
static |
Definition at line 3169 of file qobject.cpp.
Referenced by QMetaObject::connect(), QMetaObject::disconnect(), and QMetaObject::disconnectOne().
Definition at line 4030 of file qobject.cpp.
| void qDeleteInEventHandler | ( | QObject * | o | ) |
Definition at line 4348 of file qobject.cpp.
Referenced by QProcessPrivate::cleanup(), QStatusBar::clearMessage(), QNativeSocketEngine::close(), QProcessPrivate::closeWriteChannel(), QObject::event(), findRealWindow(), QWhatsThis::hideText(), and QSingleShotTimer::timerEvent().
| const char* qFlagLocation | ( | const char * | method | ) |
Definition at line 2222 of file qobject.cpp.
| Q_CORE_EXPORT void qt_addObject | ( | QObject * | ) |
| QObject* qt_qFindChild_helper | ( | const QObject * | parent, |
| const QString & | name, | ||
| const QMetaObject & | mo | ||
| ) |
Definition at line 1924 of file qobject.cpp.
Referenced by QObject::findChild(), and qt_qFindChild_helper().
| void qt_qFindChildren_helper | ( | const QObject * | parent, |
| const QString & | name, | ||
| const QRegExp * | re, | ||
| const QMetaObject & | mo, | ||
| QList< void *> * | list | ||
| ) |
Definition at line 1900 of file qobject.cpp.
Referenced by QObject::findChildren(), and qt_qFindChildren_helper().
| Q_CORE_EXPORT void qt_removeObject | ( | QObject * | ) |
Definition at line 119 of file qobject.cpp.
Referenced by QObject::~QObject().
|
static |
Definition at line 3459 of file qobject.cpp.
Referenced by QMetaObject::activate().
|
static |
Definition at line 73 of file qobject.cpp.
Referenced by QObject::connect(), and queued_activate().
Definition at line 103 of file qobject.cpp.
Referenced by QMetaObject::activate(), QMetaObjectPrivate::connect(), QMetaObjectPrivate::disconnect(), QMetaObjectPrivate::disconnectHelper(), QObject::dumpObjectInfo(), QObjectPrivate::isSender(), QObjectPrivate::receiverList(), QObject::receivers(), QObject::sender(), QObjectPrivate::senderList(), QObject::senderSignalIndex(), and QObject::~QObject().
|
static |
Definition at line 71 of file qobject.cpp.
Referenced by queued_activate(), and QObjectPrivate::Connection::~Connection().
|
static |
Definition at line 98 of file qobject.cpp.
Referenced by QDeclarativeEngineDebugPrivate::decode().
|
static |
Definition at line 97 of file qobject.cpp.