[libcalamares] Document the methods of TimeZone

This commit is contained in:
Adriaan de Groot 2024-09-06 13:46:09 +02:00
parent e945af0aa3
commit c51fa0e2f1

View File

@ -60,9 +60,12 @@ public:
TimeZoneData( const TimeZoneData& ) = delete;
TimeZoneData( TimeZoneData&& ) = delete;
///@brief Returns a translated, human-readable form of region/zone (e.g. "America/New York")
QString translated() const override;
///@brief Returns the region key (e.g. "Europe") with no translation and no human-readable tweaks
QString region() const { return m_region; }
///@brief Returns the zone key (e.g. "New_York") with no translation and no human-readable tweaks
QString zone() const { return key(); }
QString country() const { return m_country; }