diff options
| author | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
| commit | cd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch) | |
| tree | 5a622ec4193e9bc899f6499f936848a661be29cb /Network/eqsl.h | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'Network/eqsl.h')
| -rw-r--r-- | Network/eqsl.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Network/eqsl.h b/Network/eqsl.h new file mode 100644 index 00000000..00eb51d8 --- /dev/null +++ b/Network/eqsl.h @@ -0,0 +1,43 @@ +#ifndef EQSL_H +#define EQSL_H + +#include <QObject> +#include <QString> +//#include <QList> +//#include <QHash> +//#include <QQueue> +#include "Radio.hpp" + + +class QNetworkAccessManager; +class QTimer; +class QNetworkReply; + +class EQSL : public QObject +{ + Q_OBJECT; + +public: + explicit EQSL(QNetworkAccessManager *, QObject *parent = nullptr); + void upload(QString const& eqsl_username, QString const& eqsl_passwd, QString const& eqsl_nickname + , QString const& call, QString const& mode + , QDateTime const& QSO_date_on + , QString const& rpt_sent, QString const& band + , QString const& eqslcomments); + +//signals: +// void uploadStatus(QString); + +public slots: + void networkReply(QNetworkReply *); + void work(); + +private: + QNetworkAccessManager *networkManager; + QString myadif; + QTimer *uploadTimer; + QNetworkReply *reply; + bool m_in_progress; +}; + +#endif // EQSL_H |
