QRunnable Class Reference

QRunnable Class Referenceabstract

#include <qrunnable.h>

Class Description

Definition at line 52 of file qrunnable.h.

+ Inheritance diagram for QRunnable:

Public Member Functions

virtual void run ()=0
 
 QRunnable ()
 
virtual ~QRunnable ()
 
bool autoDelete () const
 
void setAutoDelete (bool _autoDelete)
 

Friends

class QThreadPool
 
class QThreadPoolPrivate
 
class QThreadPoolThread
 

Constructor & Destructor Documentation

QRunnable ( )
inline

Definition at line 63 of file qrunnable.h.

63 : ref(0) { }
GLenum GLint ref
Definition: GLee.h:1701
virtual ~QRunnable ( )
inlinevirtual

Definition at line 64 of file qrunnable.h.

64 { }

Member Function Documentation

bool autoDelete ( ) const
inline

Definition at line 66 of file qrunnable.h.

66 { return ref != -1; }
GLenum GLint ref
Definition: GLee.h:1701
void setAutoDelete ( bool  _autoDelete)
inline

Definition at line 67 of file qrunnable.h.

67 { ref = _autoDelete ? 0 : -1; }
GLenum GLint ref
Definition: GLee.h:1701

Friends And Related Function Documentation

friend class QThreadPool
friend

Definition at line 56 of file qrunnable.h.

friend class QThreadPoolPrivate
friend

Definition at line 57 of file qrunnable.h.

friend class QThreadPoolThread
friend

Definition at line 58 of file qrunnable.h.


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