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 --- logbook/WorkedBefore.hpp | 96 ++++++++++++++++++++++++------------------------ 1 file changed, 48 insertions(+), 48 deletions(-) (limited to 'logbook/WorkedBefore.hpp') diff --git a/logbook/WorkedBefore.hpp b/logbook/WorkedBefore.hpp index c1302f06..0be9d783 100755 --- a/logbook/WorkedBefore.hpp +++ b/logbook/WorkedBefore.hpp @@ -1,48 +1,48 @@ -#ifndef WORKWED_BEFORE_HPP_ -#define WORKWED_BEFORE_HPP_ - -#include -#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; - QString cty_version () const; - - Q_SIGNAL void finished_loading (int worked_before_record_count, QString const, QString const& error) const; - -private: - class impl; - pimpl m_; -}; - -#endif +#ifndef WORKWED_BEFORE_HPP_ +#define WORKWED_BEFORE_HPP_ + +#include +#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; + QString cty_version () const; + + Q_SIGNAL void finished_loading (int worked_before_record_count, QString const, QString const& error) const; + +private: + class impl; + pimpl m_; +}; + +#endif -- cgit v1.2.3