diff options
Diffstat (limited to 'printerclient.h')
| -rw-r--r-- | printerclient.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/printerclient.h b/printerclient.h deleted file mode 100644 index d1266dd..0000000 --- a/printerclient.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once - -#include <QObject> - -#include <QSerialPort> - -class QSerialPort; - -class PrinterClient : public QObject -{ - // Q_OBJECT - -public: - explicit PrinterClient(QObject *parent = nullptr); - // ~PrinterClient() override = default; - // ~PrinterClient - - // signals: - // void newData(const QString output); - -public: - void sendCommand(const QString command); - -private: - void onReadyRead(); - void onErrorOccured(QSerialPort::SerialPortError error); - -private: - QSerialPort* m_serialPort { nullptr }; -}; |
