source: GTP/trunk/Lib/Vis/Preprocessing/src/QtPreprocessorThread.h @ 1387

Revision 1387, 535 bytes checked in by bittner, 18 years ago (diff)

updates to make qt version running again

  • Property svn:executable set to *
Line 
1#ifndef __QT_PREPROCESSOR_THREAD_H
2#define __QT_PREPROCESSOR_THREAD_H
3
4
5#include <QThread>
6#include "PreprocessorThread.h"
7
8namespace GtpVisibilityPreprocessor {
9
10class Preprocessor;
11
12class QtPreprocessorThread : public PreprocessorThread, QThread
13{
14public:
15  QtPreprocessorThread(Preprocessor *p, QObject *parent = 0);
16  ~QtPreprocessorThread();
17 
18  void Main();
19  void InitThread() {}
20  void RunThread() {
21        start(QThread::LowPriority);
22  }
23 
24 
25protected:
26  void run() {
27        Main();
28  }
29};
30
31}
32
33#endif
Note: See TracBrowser for help on using the repository browser.