From d0709a1e0a04bf74f240dc0fdb8697f030b68cea Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 29 Oct 2024 22:45:21 +0000 Subject: New upstream version 0.0.0.73~rc1 --- QtSoundModem.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'QtSoundModem.h') diff --git a/QtSoundModem.h b/QtSoundModem.h index b02f9c2..a759f4b 100644 --- a/QtSoundModem.h +++ b/QtSoundModem.h @@ -43,6 +43,7 @@ private slots: void updateFont(); void MinimizetoTray(); void TrayActivated(QSystemTrayIcon::ActivationReason reason); + void StatsTimer(); void MyTimerSlot(); void returnPressed(); void clickedSlotI(int i); @@ -77,6 +78,7 @@ private slots: void StartWatchdog(); void StopWatchdog(); void PTTWatchdogExpired(); + void showRequest(QByteArray Data); void clickedSlot(); void startCWIDTimerSlot(); void setWaterfallImage(); @@ -124,3 +126,25 @@ protected: #define WaterfallTotalPixels WaterfallDisplayPixels + WaterfallHeaderPixels #define WaterfallImageHeight (WaterfallTotalPixels + WaterfallTotalPixels) + +class serialThread : public QThread +{ + Q_OBJECT + +public: + void run() Q_DECL_OVERRIDE; + void startSlave(const QString &portName, int waitTimeout, const QString &response); + +signals: + void request(const QByteArray &s); + void error(const QString &s); + void timeout(const QString &s); + +private: + QString portName; + QString response; + int waitTimeout; + QMutex mutex; + bool quit; +}; + -- cgit v1.2.3