mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-02 14:04:55 -04:00
Scan ADIF log asynchronously and new settings button to rescan ADIF log
This commit is contained in:
+8
-1
@@ -1,13 +1,15 @@
|
||||
#include "logbook.h"
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
#include "Configuration.hpp"
|
||||
#include "AD1CCty.hpp"
|
||||
|
||||
#include "moc_logbook.cpp"
|
||||
|
||||
LogBook::LogBook (Configuration const * configuration)
|
||||
: config_ {configuration}
|
||||
{
|
||||
connect (&worked_before_, &WorkedBefore::finished_loading, this, &LogBook::finished_loading);
|
||||
}
|
||||
|
||||
void LogBook::match (QString const& call, QString const& mode, QString const& grid,
|
||||
@@ -52,6 +54,11 @@ bool LogBook::add (QString const& call
|
||||
return worked_before_.add (call, grid, band, mode, ADIF_record);
|
||||
}
|
||||
|
||||
void LogBook::rescan ()
|
||||
{
|
||||
worked_before_.reload ();
|
||||
}
|
||||
|
||||
QByteArray LogBook::QSOToADIF (QString const& hisCall, QString const& hisGrid, QString const& mode,
|
||||
QString const& rptSent, QString const& rptRcvd, QDateTime const& dateTimeOn,
|
||||
QDateTime const& dateTimeOff, QString const& band, QString const& comments,
|
||||
|
||||
Reference in New Issue
Block a user