diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
| commit | 37f727ac0746fd85504aa46c1f023c09b3eff33a (patch) | |
| tree | c8a7ce04545040a8f161ba279528730bd9a3e6ab /logbook/countriesworked.cpp | |
| parent | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff) | |
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'logbook/countriesworked.cpp')
| -rw-r--r-- | logbook/countriesworked.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logbook/countriesworked.cpp b/logbook/countriesworked.cpp index a70a4e1a..6a991f8a 100644 --- a/logbook/countriesworked.cpp +++ b/logbook/countriesworked.cpp @@ -13,7 +13,7 @@ void CountriesWorked::setAsWorked(const QString countryName) _data.insert(countryName,true); } -bool CountriesWorked::getHasWorked(const QString countryName) +bool CountriesWorked::getHasWorked(const QString countryName) const { if (_data.contains(countryName)) return _data.value(countryName); @@ -21,7 +21,7 @@ bool CountriesWorked::getHasWorked(const QString countryName) return false; } -int CountriesWorked::getWorkedCount() +int CountriesWorked::getWorkedCount() const { int count = 0; foreach (bool value,_data) @@ -30,7 +30,7 @@ int CountriesWorked::getWorkedCount() return count; } -int CountriesWorked::getSize() +int CountriesWorked::getSize() const { return _data.count(); } |
