JS8Call-Improved master
Loading...
Searching...
No Matches
CountriesWorked Class Reference

Public Member Functions

void init (const QStringList countryNames)
void setAsWorked (const QString countryName)
 Mark a country as worked.
bool getHasWorked (const QString countryName) const
 Check if a country has been worked.
qsizetype getWorkedCount () const
 Get the count of countries that have been worked.
qsizetype getSize () const
 Get the total number of countries being tracked.

Member Function Documentation

◆ getHasWorked()

bool CountriesWorked::getHasWorked ( const QString countryName) const

Check if a country has been worked.

Parameters
countryNameThe name of the country to check.
Returns
True if the country has been worked, false otherwise.

◆ getSize()

qsizetype CountriesWorked::getSize ( ) const

Get the total number of countries being tracked.

Returns
The total number of countries.

◆ getWorkedCount()

qsizetype CountriesWorked::getWorkedCount ( ) const

Get the count of countries that have been worked.

Returns
The number of worked countries.

◆ setAsWorked()

void CountriesWorked::setAsWorked ( const QString countryName)

Mark a country as worked.

Parameters
countryNameThe name of the country to mark as worked.

The documentation for this class was generated from the following files: