45 #include <QtCore/qglobal.h> 47 #include <QtCore/qthread.h> 48 #include <QtCore/qrunnable.h> 64 int activeThreadCount;
73 void start(
QRunnable *runnable,
int priority = 0);
76 int expiryTimeout() const;
77 void setExpiryTimeout(
int expiryTimeout);
79 int maxThreadCount() const;
80 void setMaxThreadCount(
int maxThreadCount);
82 int activeThreadCount() const;
88 bool waitForDone(
int msecs);
94 #endif // QT_NO_THREAD #define QT_END_NAMESPACE
This macro expands to.
The QObject class is the base class of all Qt objects.
The QRunnable class is the base class for all runnable objects.
The QThreadPool class manages a collection of QThreads.
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_DECLARE_PRIVATE(Class)