#ifndef FOX_LOG_HPP_ #define FOX_LOG_HPP_ #include #include "pimpl_h.hpp" class QDateTime; class QString; class QAbstractItemModel; class FoxLog final : private boost::noncopyable { public: explicit FoxLog (); ~FoxLog (); // returns false if insert fails, dupe call+band bool add_QSO (QDateTime const&, QString const& call, QString const& grid , QString const& report_received, QString const& report_sent , QString const& band); QAbstractItemModel * model (); private: class impl; pimpl m_; }; #endif