22 lines
371 B
C
22 lines
371 B
C
|
|
#ifndef INFORECEIVEWORKER_H
|
||
|
|
#define INFORECEIVEWORKER_H
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
#include <QSharedPointer>
|
||
|
|
|
||
|
|
class InfoReceiveWorker : public QObject
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
public:
|
||
|
|
InfoReceiveWorker(QObject* aParent);
|
||
|
|
|
||
|
|
public slots:
|
||
|
|
void startListen();
|
||
|
|
|
||
|
|
signals:
|
||
|
|
void infoReceived(int aServerID, int aActionID, const QString& aContents);
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // INFORECEIVEWORKER_H
|