- Timestamp:
- 01/02/07 01:44:59 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtPreprocessorThread.h
r1867 r1926 2 2 #define __QT_PREPROCESSOR_THREAD_H 3 3 4 #ifndef NO_QT 4 #ifdef USE_QT 5 5 6 #include <QThread> 6 7 #include "PreprocessorThread.h" … … 13 14 { 14 15 public: 15 QtPreprocessorThread(Preprocessor *p, QObject *parent = 0); 16 ~QtPreprocessorThread(); 17 18 void InitThread() { 19 PreprocessorThread::InitThread(); 20 } 21 void RunThread() { 22 start(QThread::LowPriority); 23 } 16 QtPreprocessorThread(Preprocessor *p, QObject *parent = 0); 17 ~QtPreprocessorThread(); 24 18 25 // This function has to be defined by the thread library used... 26 virtual int GetCurrentThreadId() const; 19 void InitThread() { 20 PreprocessorThread::InitThread(); 21 } 22 void RunThread() { 23 start(QThread::LowPriority); 24 } 27 25 28 26 // This function has to be defined by the thread library used... 27 virtual int GetCurrentThreadId() const; 28 29 29 protected: 30 31 Main();32 30 void run() { 31 Main(); 32 } 33 33 }; 34 34 35 35 } 36 36 37 #endif 37 38 #endif
Note: See TracChangeset
for help on using the changeset viewer.