QThread 繼承自QObject類,且提供QMutex類以實現同步。 ... myThreadSlot(const int); protected: void run() override; }; #endif // MYTHREAD_H
確定! 回上一頁