6#ifndef __COUNTRIESWORKDED_H
7#define __COUNTRIESWORKDED_H
29 void init(
const QStringList countryNames);
55 QHash<QString, bool> _data;
Simple boolean set indicating which country names have been worked.
Definition CountriesWorked.h:23
qsizetype getWorkedCount() const
Count how many countries have been marked as worked.
Definition CountriesWorked.cpp:40
void init(const QStringList countryNames)
Initialize the set with a list of known country names.
Definition CountriesWorked.cpp:9
void setAsWorked(const QString countryName)
Mark a country as worked.
Definition CountriesWorked.cpp:19
bool getHasWorked(const QString countryName) const
Query whether a country has been worked.
Definition CountriesWorked.cpp:29
qsizetype getSize() const
Get the total number of tracked country names.
Definition CountriesWorked.cpp:52