Typica is a free program for professional coffee roasters. https://typica.us
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

PortListener.h 344B

1234567891011121314151617181920212223242526
  1. #ifndef PORTLISTENER_H_
  2. #define PORTLISTENER_H_
  3. #include <QObject>
  4. #include "qextserialport.h"
  5. class PortListener : public QObject
  6. {
  7. Q_OBJECT
  8. public:
  9. PortListener(const QString & portName);
  10. private:
  11. QextSerialPort *port;
  12. private slots:
  13. void onReadyRead();
  14. void onDsrChanged(bool status);
  15. };
  16. #endif /*PORTLISTENER_H_*/