Mercurial > hg > svcore
comparison base/Thread.h @ 392:183ee2a55fc7
* More work to abstract out interactive components used in the data library,
so that it does not need to depend on QtGui.
author | Chris Cannam |
---|---|
date | Fri, 14 Mar 2008 17:14:21 +0000 |
parents | 85bf384db35f |
children | 115f60df1e4d |
comparison
equal
deleted
inserted
replaced
391:5858cc462d0a | 392:183ee2a55fc7 |
---|---|
29 Thread(Type type = NonRTThread, QObject *parent = 0); | 29 Thread(Type type = NonRTThread, QObject *parent = 0); |
30 | 30 |
31 public slots: | 31 public slots: |
32 void start(); | 32 void start(); |
33 | 33 |
34 protected: | |
35 virtual void run() = 0; | |
36 | |
34 private: | 37 private: |
35 Type m_type; | 38 Type m_type; |
36 }; | 39 }; |
37 | 40 |
38 | 41 |