mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 20:20:44 +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
|