#ifndef DATASENDER_H #define DATASENDER_H #include #include class DataSender : public QObject { Q_OBJECT public: virtual void send(const QByteArray& data) = 0; virtual ~DataSender() { } signals: void dataReady(const QByteArray& data); }; #endif //DATASENDER_H