diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-10-29 22:45:25 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-10-29 22:45:25 +0000 |
| commit | 6c8e7093c0c01dbf0e7b2d3b3e8909a209faebbd (patch) | |
| tree | 8d4a8ff6b2aff51cd6235b9923eb9c5db5017075 /QtSoundModem.h | |
| parent | a724b7ca21df2a3b98bc203f719396d5e62d55d4 (diff) | |
| parent | d0709a1e0a04bf74f240dc0fdb8697f030b68cea (diff) | |
Update upstream source from tag 'upstream/0.0.0.73_rc1'
Update to upstream version '0.0.0.73~rc1'
with Debian dir 676c65807274e34716fecd1055a3812ab33a8229
Diffstat (limited to 'QtSoundModem.h')
| -rw-r--r-- | QtSoundModem.h | 24 |
1 files changed, 24 insertions, 0 deletions
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;
+};
+
|
