Differences From Artifact [c9467afda7]:
- File QtCore/QtThread.h — part of check-in [3ece549448] at 2017-04-15 17:18:52 on branch trunk — Make toOF/toQt more powerful and complete QtWidget (user: js, size: 2062) [annotate] [blame] [check-ins using]
- File
src/QtCore/QtThread.h
— part of check-in
[baf52ea3b1]
at
2017-04-17 23:25:45
on branch trunk
— Add a proper build system
Also lowers the minimum required Qt version to 5.5. (user: js, size: 2062) [annotate] [blame] [check-ins using]
To Artifact [43325aa0ce]:
- File src/QtCore/QtThread.h — part of check-in [860515ac5a] at 2017-05-08 00:11:18 on branch trunk — Update to recent ObjFW changes (user: js, size: 2119) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | @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; | > | | | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | @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; - initWithQObject: (QObject *)qObject OF_UNAVAILABLE; - initWithQThread: (QThread *)qThread; - (void)exitWithReturnCode: (int)returnCode; - (void)requestInterruption; - (bool)waitForMilliseconds: (unsigned long)time; - (void)quit; - (void)startWithPriority: (QThread::Priority)priority; - (void)terminate; @end namespace ObjQt { static OF_INLINE QtThread * toOF(QThread *qThread) { return [[[QtThread alloc] initWithQThread: qThread] autorelease]; } static OF_INLINE QThread * toQt(QtThread *thread) { return [thread qThread]; } } |