summaryrefslogtreecommitdiff
path: root/logbook/logbook.h
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
committerChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
commit2d1068e60bce7ae1fff11623454900e8cee956b1 (patch)
treeacebe276e30466ef0ab91bc3da5e379bec0d7dc5 /logbook/logbook.h
parent43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff)
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'logbook/logbook.h')
-rwxr-xr-xlogbook/logbook.h126
1 files changed, 63 insertions, 63 deletions
diff --git a/logbook/logbook.h b/logbook/logbook.h
index de7ffae1..6a515f48 100755
--- a/logbook/logbook.h
+++ b/logbook/logbook.h
@@ -1,63 +1,63 @@
-// -*- Mode: C++ -*-
-/*
- * From an ADIF file and cty.dat, get a call's DXCC entity and its worked before status
- */
-
-#ifndef LOG_BOOK_H_
-#define LOG_BOOK_H_
-
-#include <QObject>
-#include <QString>
-#include <QScopedPointer>
-
-#include "WorkedBefore.hpp"
-
-class Configuration;
-class QByteArray;
-class QDateTime;
-class CabrilloLog;
-class Multiplier;
-class FoxLog;
-
-class LogBook final
- : public QObject
-{
- Q_OBJECT
-
-public:
- LogBook (Configuration const *);
- ~LogBook ();
- QString const& path () const {return worked_before_.path ();}
- bool add (QString const& call
- , QString const& grid
- , QString const& band
- , QString const& mode
- , QByteArray const& ADIF_record);
- AD1CCty const * countries () const {return worked_before_.countries ();}
- void rescan ();
- void match (QString const& call, QString const& mode, QString const& grid,
- AD1CCty::Record const&, bool& callB4, bool& countryB4,
- bool &gridB4, bool &continentB4, bool& CQZoneB4, bool& ITUZoneB4,
- QString const& currentBand = QString {}) const;
- QByteArray QSOToADIF (QString const& hisCall, QString const& hisGrid, QString const& mode,
- QString const& rptSent, QString const& rptRcvd, QDateTime const& dateTimeOn,
- QDateTime const& dateTimeOff, QString const& band, QString const& comments,
- QString const& name, QString const& strDialFreq, QString const& myCall,
- QString const& m_myGrid, QString const& m_txPower, QString const& operator_call,
- QString const& xSent, QString const& xRcvd, QString const& propmode);
-
- Q_SIGNAL void finished_loading (int worked_before_record_count, QString const& error) const;
-
- CabrilloLog * contest_log ();
- Multiplier const * multiplier () const;
- FoxLog * fox_log ();
-
-private:
- Configuration const * config_;
- WorkedBefore worked_before_;
- QScopedPointer<CabrilloLog> contest_log_;
- QScopedPointer<Multiplier> mutable multiplier_;
- QScopedPointer<FoxLog> fox_log_;
-};
-
-#endif
+// -*- Mode: C++ -*-
+/*
+ * From an ADIF file and cty.dat, get a call's DXCC entity and its worked before status
+ */
+
+#ifndef LOG_BOOK_H_
+#define LOG_BOOK_H_
+
+#include <QObject>
+#include <QString>
+#include <QScopedPointer>
+
+#include "WorkedBefore.hpp"
+
+class Configuration;
+class QByteArray;
+class QDateTime;
+class CabrilloLog;
+class Multiplier;
+class FoxLog;
+
+class LogBook final
+ : public QObject
+{
+ Q_OBJECT
+
+public:
+ LogBook (Configuration const *);
+ ~LogBook ();
+ QString const& path () const {return worked_before_.path ();}
+ bool add (QString const& call
+ , QString const& grid
+ , QString const& band
+ , QString const& mode
+ , QByteArray const& ADIF_record);
+ AD1CCty const * countries () const {return worked_before_.countries ();}
+ void rescan ();
+ void match (QString const& call, QString const& mode, QString const& grid,
+ AD1CCty::Record const&, bool& callB4, bool& countryB4,
+ bool &gridB4, bool &continentB4, bool& CQZoneB4, bool& ITUZoneB4,
+ QString const& currentBand = QString {}) const;
+ QByteArray QSOToADIF (QString const& hisCall, QString const& hisGrid, QString const& mode,
+ QString const& rptSent, QString const& rptRcvd, QDateTime const& dateTimeOn,
+ QDateTime const& dateTimeOff, QString const& band, QString const& comments,
+ QString const& name, QString const& strDialFreq, QString const& myCall,
+ QString const& m_myGrid, QString const& m_txPower, QString const& operator_call,
+ QString const& xSent, QString const& xRcvd, QString const& propmode);
+
+ Q_SIGNAL void finished_loading (int worked_before_record_count, QString const& error) const;
+
+ CabrilloLog * contest_log ();
+ Multiplier const * multiplier () const;
+ FoxLog * fox_log ();
+
+private:
+ Configuration const * config_;
+ WorkedBefore worked_before_;
+ QScopedPointer<CabrilloLog> contest_log_;
+ QScopedPointer<Multiplier> mutable multiplier_;
+ QScopedPointer<FoxLog> fox_log_;
+};
+
+#endif