summaryrefslogtreecommitdiff
path: root/models/FoxLog.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
committerChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
commit0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (patch)
treed702795f99ac38e0cc17e25f0f7e50fa3e05baf9 /models/FoxLog.hpp
parent310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff)
New upstream version 3.0.0~rc1+repackupstream/3.0.0_rc1+repack
Diffstat (limited to 'models/FoxLog.hpp')
-rwxr-xr-xmodels/FoxLog.hpp76
1 files changed, 38 insertions, 38 deletions
diff --git a/models/FoxLog.hpp b/models/FoxLog.hpp
index faf04adc..850ac1f1 100755
--- a/models/FoxLog.hpp
+++ b/models/FoxLog.hpp
@@ -1,38 +1,38 @@
-#ifndef FOX_LOG_HPP_
-#define FOX_LOG_HPP_
-
-#include <boost/core/noncopyable.hpp>
-#include "pimpl_h.hpp"
-
-class QDateTime;
-class QString;
-class QSqlTableModel;
-class QTextStream;
-class Configuration;
-
-class FoxLog final
- : private boost::noncopyable
-{
-public:
- explicit FoxLog (Configuration const *);
- ~FoxLog ();
-
- // returns false if insert fails, dupe call+band
- bool add_QSO (QDateTime const&, QString const& call, QString const& grid
- , QString const& report_sent, QString const& report_received
- , QString const& band);
- bool dupe (QString const& call, QString const& band) const;
-
- QSqlTableModel * model ();
- void reset ();
- void export_qsos (QTextStream&) const;
- QString rate();
- double rate_last_n(int n); // get the rate for the last n
- int rate_60m();
-
-private:
- class impl;
- pimpl<impl> m_;
-};
-
-#endif
+#ifndef FOX_LOG_HPP_
+#define FOX_LOG_HPP_
+
+#include <boost/core/noncopyable.hpp>
+#include "pimpl_h.hpp"
+
+class QDateTime;
+class QString;
+class QSqlTableModel;
+class QTextStream;
+class Configuration;
+
+class FoxLog final
+ : private boost::noncopyable
+{
+public:
+ explicit FoxLog (Configuration const *);
+ ~FoxLog ();
+
+ // returns false if insert fails, dupe call+band
+ bool add_QSO (QDateTime const&, QString const& call, QString const& grid
+ , QString const& report_sent, QString const& report_received
+ , QString const& band);
+ bool dupe (QString const& call, QString const& band) const;
+
+ QSqlTableModel * model ();
+ void reset ();
+ void export_qsos (QTextStream&) const;
+ QString rate();
+ double rate_last_n(int n); // get the rate for the last n
+ int rate_60m();
+
+private:
+ class impl;
+ pimpl<impl> m_;
+};
+
+#endif