mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-17 19:20:46 +00:00
27 lines
392 B
C
27 lines
392 B
C
|
#ifndef CLIENT_H
|
||
|
#define CLIENT_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QVariant>
|
||
|
|
||
|
|
||
|
class Client : QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
Client( const QString &address, quint16 port, QObject *parent = 0 );
|
||
|
|
||
|
void testFunc( const QVariant ¶m );
|
||
|
|
||
|
private slots:
|
||
|
void onDataReady( const QVariant &response );
|
||
|
|
||
|
private:
|
||
|
QString address;
|
||
|
quint16 port;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // CLIENT_H
|