mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-05 00:41:19 -05:00
947b429723
This change incorporates a reorganization of the GUI code with widgets, validators, models, and item delegates being moved to sub-directories. Relax the requirements of the ForeignKeyDelegate and related CandidateKeyFilter classes to allow them to work with constant model pointers for both referenced and referencing models.
31 lines
591 B
C++
31 lines
591 B
C++
#ifndef FOX_LOG_HPP_
|
|
#define FOX_LOG_HPP_
|
|
|
|
#include <boost/core/noncopyable.hpp>
|
|
#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<impl> m_;
|
|
};
|
|
|
|
#endif
|