#include <qthread.h>
Inheritance diagram for QThread:Public Types | |
| enum | Priority { IdlePriority, LowestPriority, LowPriority, NormalPriority, HighPriority, HighestPriority, TimeCriticalPriority, InheritPriority } |
Public Slots | |
| void | start (Priority=InheritPriority) |
| void | terminate () |
| void | quit () |
Public Slots inherited from QObject | |
| void | deleteLater () |
Signals | |
| void | started () |
| void | finished () |
| void | terminated () |
Signals inherited from QObject | |
| void | destroyed (QObject *=0) |
Public Member Functions | |
| QThread (QObject *parent=0) | |
| ~QThread () | |
| void | setPriority (Priority priority) |
| Priority | priority () const |
| bool | isFinished () const |
| bool | isRunning () const |
| void | setStackSize (uint stackSize) |
| uint | stackSize () const |
| void | exit (int retcode=0) |
| bool | wait (unsigned long time=ULONG_MAX) |
Public Member Functions inherited from QObject | |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| virtual | ~QObject () |
| virtual bool | event (QEvent *) |
| virtual bool | eventFilter (QObject *, QEvent *) |
| QString | objectName () const |
| void | setObjectName (const QString &name) |
| bool | isWidgetType () const |
| bool | signalsBlocked () const |
| bool | blockSignals (bool b) |
| QThread * | thread () const |
| void | moveToThread (QThread *thread) |
| int | startTimer (int interval) |
| void | killTimer (int id) |
| template<typename T > | |
| T | findChild (const QString &aName=QString()) const |
| template<typename T > | |
| QList< T > | findChildren (const QString &aName=QString()) const |
| template<typename T > | |
| QList< T > | findChildren (const QRegExp &re) const |
| const QObjectList & | children () const |
| void | setParent (QObject *) |
| void | installEventFilter (QObject *) |
| void | removeEventFilter (QObject *) |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| void | dumpObjectTree () |
| void | dumpObjectInfo () |
| bool | setProperty (const char *name, const QVariant &value) |
| QVariant | property (const char *name) const |
| QList< QByteArray > | dynamicPropertyNames () const |
| void | setUserData (uint id, QObjectUserData *data) |
| QObjectUserData * | userData (uint id) const |
| QObject * | parent () const |
| bool | inherits (const char *classname) const |
Static Public Member Functions | |
| static Qt::HANDLE | currentThreadId () |
| static QThread * | currentThread () |
| static int | idealThreadCount () |
| static void | yieldCurrentThread () |
Static Public Member Functions inherited from QObject | |
| static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
| static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
| static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
| static uint | registerUserData () |
Protected Member Functions | |
| virtual void | run () |
| int | exec () |
| QThread (QThreadPrivate &dd, QObject *parent=0) | |
Protected Member Functions inherited from QObject | |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| int | receivers (const char *signal) const |
| virtual void | timerEvent (QTimerEvent *) |
| virtual void | childEvent (QChildEvent *) |
| virtual void | customEvent (QEvent *) |
| virtual void | connectNotify (const char *signal) |
| virtual void | disconnectNotify (const char *signal) |
| QObject (QObjectPrivate &dd, QObject *parent=0) | |
Static Protected Member Functions | |
| static void | setTerminationEnabled (bool enabled=true) |
| static void | sleep (unsigned long) |
| static void | msleep (unsigned long) |
| static void | usleep (unsigned long) |
Friends | |
| class | QCoreApplication |
| class | QThreadData |
Additional Inherited Members | |
Protected Attributes inherited from QObject | |
| QScopedPointer< QObjectData > | d_ptr |
Static Protected Attributes inherited from QObject | |
| static const QMetaObject | staticQtMetaObject |
Properties inherited from QObject | |
| QString | objectName |
| enum Priority |
| Enumerator | |
|---|---|
| IdlePriority | |
| LowestPriority | |
| LowPriority | |
| NormalPriority | |
| HighPriority | |
| HighestPriority | |
| TimeCriticalPriority | |
| InheritPriority | |
Definition at line 70 of file qthread.h.
| ~QThread | ( | ) |
|
static |
|
static |
|
static |
|
static |
| Priority priority | ( | ) | const |
| bool isFinished | ( | ) | const |
| bool isRunning | ( | ) | const |
| void setStackSize | ( | uint | stackSize | ) |
| uint stackSize | ( | ) | const |
|
slot |
|
slot |
|
slot |
| bool wait | ( | unsigned long | time = ULONG_MAX | ) |
|
signal |
|
signal |
|
signal |
|
protectedvirtual |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
friend |