|
|
void | init () |
| | Initialize the logbook by loading country data and existing log entries.
|
| bool | hasWorkedBefore (const QString &call, const QString &band) |
| | Check if a call has been worked before on a specific band.
|
| void | match (const QString call, QString &countryName, bool &callWorkedBefore, bool &countryWorkedBefore) const |
| | Match a callsign to its country and check if it has been worked before.
|
| bool | findCallDetails (const QString call, QString &grid, QString &date, QString &name, QString &comment) const |
| | Find details associated with a callsign in the logbook.
|
| void | addAsWorked (const QString call, const QString band, const QString mode, const QString submode, const QString grid, const QString date, const QString name, const QString comment) |
| | Add a new QSO to the logbook and mark the country as worked.
|
◆ addAsWorked()
| void LogBook::addAsWorked |
( |
const QString | call, |
|
|
const QString | band, |
|
|
const QString | mode, |
|
|
const QString | submode, |
|
|
const QString | grid, |
|
|
const QString | date, |
|
|
const QString | name, |
|
|
const QString | comment ) |
Add a new QSO to the logbook and mark the country as worked.
- Parameters
-
| call | The callsign of the contacted station. |
| band | The band on which the QSO was made. |
| mode | The mode of the QSO. |
| submode | The submode of the QSO. |
| grid | The grid locator of the contacted station. |
| date | The date of the QSO. |
| name | The name of the operator. |
| comment | Any comments associated with the QSO. |
◆ findCallDetails()
| bool LogBook::findCallDetails |
( |
const QString | call, |
|
|
QString & | grid, |
|
|
QString & | date, |
|
|
QString & | name, |
|
|
QString & | comment ) const |
Find details associated with a callsign in the logbook.
- Parameters
-
| call | The callsign to search for. |
| grid | Output parameter to hold the grid locator. |
| date | Output parameter to hold the date of the QSO. |
| name | Output parameter to hold the name of the operator. |
| comment | Output parameter to hold any comments associated with the QSO. |
- Returns
- True if details were found, false otherwise.
◆ hasWorkedBefore()
| bool LogBook::hasWorkedBefore |
( |
const QString & | call, |
|
|
const QString & | band ) |
Check if a call has been worked before on a specific band.
- Parameters
-
| call | The callsign to check. |
| band | The band to check. |
- Returns
- True if the call has been worked before on the specified band, false otherwise.
◆ match()
| void LogBook::match |
( |
const QString | call, |
|
|
QString & | countryName, |
|
|
bool & | callWorkedBefore, |
|
|
bool & | countryWorkedBefore ) const |
Match a callsign to its country and check if it has been worked before.
- Parameters
-
| call | The callsign to match. |
| countryName | Output parameter to hold the matched country name. |
| callWorkedBefore | Output parameter indicating if the call has been worked before. |
| countryWorkedBefore | Output parameter indicating if the country has been worked before. |
The documentation for this class was generated from the following files: