Stellarium 0.14.3
|
Public Member Functions | |
virtual void | init () |
virtual void | deinit () |
virtual void | update (double deltaTime) |
virtual double | getCallOrder (StelModuleActionName actionName) const |
virtual bool | configureGui (bool show) |
void | setTimeZone (QString timeZoneString) |
Sets the time zone field in Stellarium's configuration file. More... | |
QString | readTimeZone () |
Reads the time zone field in Stellarium's configuration file. More... | |
void | saveDisplayFormats () |
Saves the formats used to display date and time in the bottom bar. More... | |
Definition at line 30 of file TimeZoneConfiguration.hpp.
QString TimeZoneConfiguration::readTimeZone | ( | ) |
Reads the time zone field in Stellarium's configuration file.
void TimeZoneConfiguration::saveDisplayFormats | ( | ) |
Saves the formats used to display date and time in the bottom bar.
void TimeZoneConfiguration::setTimeZone | ( | QString | timeZoneString | ) |
Sets the time zone field in Stellarium's configuration file.
To work, timeZoneString should be a valid value of the TZ environmental variable according to the POSIX format. (See http://www.gnu.org/s/libc/manual/html_node/TZ-Variable.html) Note that Microsoft Windows may use a truncated version of the TZ format. For now, Stellarium needs to be restarted for the new settings to take effect.