怎么让一个对象在线程中运行
本帖最后由 m15814478834 于 2013-03-08 09:52:55 编辑
class cTaskThd : public QThread, public A
{
Q_OBJECT
public:
explicit cTaskThd(QObject *parent, int id);
A.fun;
private:
int id;
qint32 getsocketDescriptor(cServer *ser);
void run();
};