diff options
Diffstat (limited to 'models/FoxLog.hpp')
| -rwxr-xr-x | models/FoxLog.hpp | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/models/FoxLog.hpp b/models/FoxLog.hpp index 9af0b254..67ea66bc 100755 --- a/models/FoxLog.hpp +++ b/models/FoxLog.hpp @@ -1,35 +1,35 @@ -#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; - -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;
+
+private:
+ class impl;
+ pimpl<impl> m_;
+};
+
+#endif
|
