QThread

#include <QtCore/QThread>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QThread


Overview

Public Functions Index

QThread (QObject *parent=0)
~QThread ()
voidexit (int retcode=0)
boolisFinished () const
boolisRunning () const
Prioritypriority () const
voidsetPriority (Priority priority)
voidsetStackSize (uint stackSize)
uintstackSize () const
boolwait (unsigned long time=ULONG_MAX)

Static Public Functions Index

Protected Functions Index

QThread (QThreadPrivate &dd, QObject *parent=0)
intexec ()
virtual voidrun ()

Protected Static Functions Index

voidmsleep (unsigned long)
voidsetTerminationEnabled (bool enabled=true)
voidsleep (unsigned long)
voidusleep (unsigned long)

Public Slots Index

voidquit ()
voidstart (Priority=InheritPriority)
voidterminate ()

Signals Index

voidfinished ()
voidstarted ()
voidterminated ()

Public Types

Priority

IdlePriority
LowestPriority
LowPriority
NormalPriority
HighPriority
HighestPriority
TimeCriticalPriority
InheritPriority

Public Functions

QThread (

~QThread ()

Destructor.

void exit (
  • intretcode)

bool isFinished ()

bool isRunning ()

Priority priority ()

void setPriority (
  • Prioritypriority)

void setStackSize (
  • uintstackSize)

uint stackSize ()

bool wait (
  • unsigned longtime)

Static Public Functions

QThread * currentThread ()

Qt::HANDLE currentThreadId ()

int idealThreadCount ()

void yieldCurrentThread ()

Protected Functions

QThread (
  • QThreadPrivate &dd,
  • QObject *parent )

int exec ()

virtual void run ()

Protected Static Functions

void msleep (
  • unsignedlong)

void setTerminationEnabled (
  • boolenabled)

void sleep (
  • unsignedlong)

void usleep (
  • unsignedlong)

Public Slots

void quit ()

void start (
  • Priority)

void terminate ()

Signals

void finished ()

void started ()

void terminated ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus