#ifndef CLIENT_H #define CLIENT_H #include #include 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