diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
| commit | 2d1068e60bce7ae1fff11623454900e8cee956b1 (patch) | |
| tree | acebe276e30466ef0ab91bc3da5e379bec0d7dc5 /logbook/WorkedBefore.hpp | |
| parent | 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff) | |
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'logbook/WorkedBefore.hpp')
| -rwxr-xr-x | logbook/WorkedBefore.hpp | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/logbook/WorkedBefore.hpp b/logbook/WorkedBefore.hpp index 1aae1aca..59adc91b 100755 --- a/logbook/WorkedBefore.hpp +++ b/logbook/WorkedBefore.hpp @@ -1,47 +1,47 @@ -#ifndef WORKWED_BEFORE_HPP_ -#define WORKWED_BEFORE_HPP_ - -#include <QObject> -#include "AD1CCty.hpp" -#include "pimpl_h.hpp" - -class Configuration; -class CountryDat; -class QString; -class QByteArray; - -class WorkedBefore final - : public QObject -{ - Q_OBJECT - -public: - using Continent = AD1CCty::Continent; - - explicit WorkedBefore (Configuration const *); - ~WorkedBefore (); - - Q_SLOT void reload (); - Q_SLOT bool add (QString const& call - , QString const& grid - , QString const& band - , QString const& mode - , QByteArray const& ADIF_record); - - QString const& path () const; - AD1CCty const * countries () const; - bool country_worked (QString const& call, QString const& mode, QString const& band) const; - bool grid_worked (QString const& grid, QString const& mode, QString const& band) const; - bool call_worked (QString const& call, QString const& mode, QString const& band) const; - bool continent_worked (Continent continent, QString const& mode, QString const& band) const; - bool CQ_zone_worked (int CQ_zone, QString const& mode, QString const& band) const; - bool ITU_zone_worked (int ITU_zone, QString const& mode, QString const& band) const; - - Q_SIGNAL void finished_loading (int worked_before_record_count, QString const& error) const; - -private: - class impl; - pimpl<impl> m_; -}; - -#endif +#ifndef WORKWED_BEFORE_HPP_
+#define WORKWED_BEFORE_HPP_
+
+#include <QObject>
+#include "AD1CCty.hpp"
+#include "pimpl_h.hpp"
+
+class Configuration;
+class CountryDat;
+class QString;
+class QByteArray;
+
+class WorkedBefore final
+ : public QObject
+{
+ Q_OBJECT
+
+public:
+ using Continent = AD1CCty::Continent;
+
+ explicit WorkedBefore (Configuration const *);
+ ~WorkedBefore ();
+
+ Q_SLOT void reload ();
+ Q_SLOT bool add (QString const& call
+ , QString const& grid
+ , QString const& band
+ , QString const& mode
+ , QByteArray const& ADIF_record);
+
+ QString const& path () const;
+ AD1CCty const * countries () const;
+ bool country_worked (QString const& call, QString const& mode, QString const& band) const;
+ bool grid_worked (QString const& grid, QString const& mode, QString const& band) const;
+ bool call_worked (QString const& call, QString const& mode, QString const& band) const;
+ bool continent_worked (Continent continent, QString const& mode, QString const& band) const;
+ bool CQ_zone_worked (int CQ_zone, QString const& mode, QString const& band) const;
+ bool ITU_zone_worked (int ITU_zone, QString const& mode, QString const& band) const;
+
+ Q_SIGNAL void finished_loading (int worked_before_record_count, QString const& error) const;
+
+private:
+ class impl;
+ pimpl<impl> m_;
+};
+
+#endif
|
