TimeZoneConfigurationWindow.hpp   TimeZoneConfigurationWindow.hpp 
skipping to change at line 32 skipping to change at line 32
#include "StelDialog.hpp" #include "StelDialog.hpp"
#include <QString> #include <QString>
#include <QDoubleSpinBox> #include <QDoubleSpinBox>
class Ui_timeZoneConfigurationWindowForm; class Ui_timeZoneConfigurationWindowForm;
class TimeZoneConfiguration; class TimeZoneConfiguration;
class DefineTimeZoneWindow; class DefineTimeZoneWindow;
//! Main window of the Time Zone configuration plug-in.
class TimeZoneConfigurationWindow : public StelDialog class TimeZoneConfigurationWindow : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
TimeZoneConfigurationWindow(); TimeZoneConfigurationWindow();
~TimeZoneConfigurationWindow(); ~TimeZoneConfigurationWindow();
void languageChanged();
//! Parses an offset string in the format [+|-]hh[:mm[:ss]].
//! \returns a fraction of hours. The sign is inverted,
//! as in the TZ format offset = (UTC - local time),
//! and the traditional offset = (local time - UTC).
static double readTzOffsetString(const QString& string);
//! Parses a time string in the format hh[:mm[:ss]] to separate valu
es.
//! Used both by readTzOffsetString() and in DefineTimeZoneWindow.
static void readTzTimeString(const QString& string, int& hour, int&
minutes, int& seconds);
//! Converts a decimal fraction of hours to a string containing a si gned //! Converts a decimal fraction of hours to a string containing a si gned
//! offset in the format used in the TZ variable. //! offset in the format used in the TZ variable.
//! The sign is inverted, as in the TZ format offset = (UTC - local time), //! The sign is inverted, as in the TZ format offset = (UTC - local time),
//! not the traditional offset = (local time - UTC). //! not the traditional offset = (local time - UTC).
static QString getTzOffsetStringFrom(QDoubleSpinBox * spinBox); static QString getTzOffsetStringFrom(QDoubleSpinBox * spinBox);
public slots:
void languageChanged();
protected: protected:
void createDialogContent(); void createDialogContent();
private: private:
Ui_timeZoneConfigurationWindowForm * ui; Ui_timeZoneConfigurationWindowForm * ui;
DefineTimeZoneWindow * defineTimeZoneWindow; DefineTimeZoneWindow * defineTimeZoneWindow;
TimeZoneConfiguration * timeZoneConfiguration; TimeZoneConfiguration * timeZoneConfiguration;
private slots: private slots:
void saveTimeZoneSettings(); void saveTimeZoneSettings();
 End of changes. 3 change blocks. 
1 lines changed or deleted 16 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/