From 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Jan 2025 22:12:06 +0100 Subject: New upstream version 2.7.0~rc8+repack --- Network/LotWUsers.hpp | 84 +++++++++++++++++++++++++-------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'Network/LotWUsers.hpp') diff --git a/Network/LotWUsers.hpp b/Network/LotWUsers.hpp index cfb9b890..2d4d1307 100755 --- a/Network/LotWUsers.hpp +++ b/Network/LotWUsers.hpp @@ -1,42 +1,42 @@ -#ifndef LOTW_USERS_HPP_ -#define LOTW_USERS_HPP_ - -#include -#include -#include "pimpl_h.hpp" - -class QString; -class QDate; -class QNetworkAccessManager; - -// -// LotWUsers - Lookup Logbook of the World users -// -class LotWUsers final - : public QObject -{ - Q_OBJECT - -public: - explicit LotWUsers (QNetworkAccessManager *, QObject * parent = 0); - ~LotWUsers (); - - void set_local_file_path (QString const&); - - Q_SLOT void load (QString const& url, bool fetch = true, bool force_download = false); - Q_SLOT void set_age_constraint (qint64 uploaded_since_days); - - // returns true if the specified call sign 'call' has uploaded their - // log to LotW in the last 'age_constraint_days' days - bool user (QString const& call) const; - - Q_SIGNAL void LotW_users_error (QString const& reason) const; - Q_SIGNAL void progress (QString const& reason) const; - Q_SIGNAL void load_finished () const; - -private: - class impl; - pimpl m_; -}; - -#endif +#ifndef LOTW_USERS_HPP_ +#define LOTW_USERS_HPP_ + +#include +#include +#include "pimpl_h.hpp" + +class QString; +class QDate; +class QNetworkAccessManager; + +// +// LotWUsers - Lookup Logbook of the World users +// +class LotWUsers final + : public QObject +{ + Q_OBJECT + +public: + explicit LotWUsers (QNetworkAccessManager *, QObject * parent = 0); + ~LotWUsers (); + + void set_local_file_path (QString const&); + + Q_SLOT void load (QString const& url, bool fetch = true, bool force_download = false); + Q_SLOT void set_age_constraint (qint64 uploaded_since_days); + + // returns true if the specified call sign 'call' has uploaded their + // log to LotW in the last 'age_constraint_days' days + bool user (QString const& call) const; + + Q_SIGNAL void LotW_users_error (QString const& reason) const; + Q_SIGNAL void progress (QString const& reason) const; + Q_SIGNAL void load_finished () const; + +private: + class impl; + pimpl m_; +}; + +#endif -- cgit v1.2.3