diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:23 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:23 +0200 |
| commit | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (patch) | |
| tree | d702795f99ac38e0cc17e25f0f7e50fa3e05baf9 /map65/messages.h | |
| parent | 310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff) | |
New upstream version 3.0.0~rc1+repackupstream/3.0.0_rc1+repack
Diffstat (limited to 'map65/messages.h')
| -rwxr-xr-x | map65/messages.h | 96 |
1 files changed, 52 insertions, 44 deletions
diff --git a/map65/messages.h b/map65/messages.h index 995c3d12..65afbe95 100755 --- a/map65/messages.h +++ b/map65/messages.h @@ -1,44 +1,52 @@ -#ifndef MESSAGES_H -#define MESSAGES_H - -#include <QDialog> - -namespace Ui { - class Messages; -} - -class Messages : public QDialog -{ - Q_OBJECT - -public: - explicit Messages (QString const& settings_filename, QWidget * parent = nullptr); - void setText(QString t, QString t2); - void setColors(QString t); - - ~Messages(); - -signals: - void click2OnCallsign(QString hiscall, QString t2, bool ctrl); - -private slots: - void selectCallsign2(bool ctrl); - void on_cbCQ_toggled(bool checked); - void on_cbCQstar_toggled(bool checked); - -private: - Ui::Messages *ui; - QString m_settings_filename; - QString m_t; - QString m_t2; - QString m_colorBackground; - QString m_color0; - QString m_color1; - QString m_color2; - QString m_color3; - - bool m_cqOnly; - bool m_cqStarOnly; -}; - -#endif +#ifndef MESSAGES_H
+#define MESSAGES_H
+
+#include <QDialog>
+#include "commons.h"
+
+namespace Ui {
+ class Messages;
+}
+
+class Messages : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit Messages (QString const& settings_filename, QWidget * parent = nullptr);
+ void setText(QString t, QString t2);
+ void setColors(QString t);
+
+ ~Messages();
+
+signals:
+ void click2OnCallsign(QString hiscall, QString t2, bool ctrl);
+
+private slots:
+ void selectCallsign2(bool ctrl);
+ void on_cbCQ_toggled(bool checked);
+ void on_cbCQstar_toggled(bool checked);
+ void handleReply(); //liveCQ
+
+private:
+ Ui::Messages *ui;
+ QString m_settings_filename;
+ QString m_t;
+ QString m_t2;
+ QString m_colorBackground;
+ QString m_color0;
+ QString m_color1;
+ QString m_color2;
+ QString m_color3;
+
+ bool m_cqOnly;
+ bool m_cqStarOnly;
+ bool doLiveCQ=true; //liveCQ
+ void CreateLiveCQ(QStringList cqliveText); //liveCQ
+ void sendLiveCQData(QStringList decodeList); //liveCQ
+
+ QString w3szUrlAddr="https://w3sz.com/livecq_update.php"; //liveCQ
+
+};
+
+#endif
|
