diff options
Diffstat (limited to 'printerclient.h')
| -rw-r--r-- | printerclient.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/printerclient.h b/printerclient.h index 5f4f2a3..08bf0c2 100644 --- a/printerclient.h +++ b/printerclient.h @@ -6,21 +6,23 @@ class QSerialPort; -class PrinterClient : public QObject +class PrinterClient + : public QObject { - Q_OBJECT + // Q_OBJECT public: explicit PrinterClient(QObject *parent = nullptr); - ~PrinterClient() override = default; + // ~PrinterClient() override = default; + // ~PrinterClient -signals: - void newData(const QString output); +// signals: +// void newData(const QString output); -public slots: +public: void sendCommand(const QString command); -private slots: +private: void onReadyRead(); void onErrorOccured(QSerialPort::SerialPortError error); |
