diff options
| author | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:06 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:06 +0100 |
| commit | 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (patch) | |
| tree | fbfdfe6bcb0a8a114be2480dac53d88c977e4869 /models/FoxLog.hpp | |
| parent | 4320ce238aae1fe87fc9f379cdd816e9317885fa (diff) | |
New upstream version 2.7.0~rc8+repackupstream/2.7.0_rc8+repack
Diffstat (limited to 'models/FoxLog.hpp')
| -rwxr-xr-x | models/FoxLog.hpp | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/models/FoxLog.hpp b/models/FoxLog.hpp index 850ac1f1..faf04adc 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 |
