diff options
| author | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
| commit | f647d78463c1250ce9c99af664615fafccf5e959 (patch) | |
| tree | 5b00428cef68aef1c9d407e2d4535687422419b6 /Network/eqsl.h | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
New upstream version 3.0.0upstream/3.0.0
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 |
