Initial commit
This commit is contained in:
commit
f38ff5fbc2
18 changed files with 1016 additions and 0 deletions
22
QtCore/QtThread.h
Normal file
22
QtCore/QtThread.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#import "QtObject.h"
|
||||
|
||||
#include <QThread>
|
||||
|
||||
@interface QtThread: QtObject
|
||||
@property (readonly) QThread *qThread;
|
||||
@property QAbstractEventDispatcher *eventDispatcher;
|
||||
@property (readonly, getter=isFinished) bool finished;
|
||||
@property (readonly, getter=isInterruptionRequested) bool interruptionRequested;
|
||||
@property (readonly, getter=isRunning) bool running;
|
||||
@property (readonly) int loopLevel;
|
||||
@property QThread::Priority priority;
|
||||
@property unsigned int stackSize;
|
||||
|
||||
- initWithQThread: (QThread*)qThread;
|
||||
- (void)exitWithReturnCode: (int)returnCode;
|
||||
- (void)requestInterruption;
|
||||
- (bool)waitForMilliseconds: (unsigned long)time;
|
||||
- (void)quit;
|
||||
- (void)startWithPriority: (QThread::Priority)priority;
|
||||
- (void)terminate;
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue