DefineTimeZoneWindow.hpp   DefineTimeZoneWindow.hpp 
skipping to change at line 36 skipping to change at line 36
class QRegExpValidator; class QRegExpValidator;
class QSpinBox; class QSpinBox;
class DefineTimeZoneWindow : public StelDialog class DefineTimeZoneWindow : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
DefineTimeZoneWindow(); DefineTimeZoneWindow();
~DefineTimeZoneWindow(); ~DefineTimeZoneWindow();
//! Fills the fields of the form with the time zone described in the
string.
//! Call after createDialogContent() or setVisible() to avoid a cras
h.
void setTimeZone(QString timeZoneString);
public slots:
void languageChanged(); void languageChanged();
signals: signals:
void timeZoneDefined(QString timeZoneString); void timeZoneDefined(QString timeZoneString);
protected: protected:
void createDialogContent(); void createDialogContent();
private: private:
Ui_defineTimeZoneForm * ui; Ui_defineTimeZoneForm * ui;
QRegExpValidator * timeZoneNameValidator; QRegExpValidator * timeZoneNameValidator;
void resetWindowState(); void resetWindowState();
void populateDateLists(); void populateDateLists();
void updateDayNumberMaximum(int monthIndex, QSpinBox * spinBoxDay); void updateDayNumberMaximum(int monthIndex, QSpinBox * spinBoxDay);
enum DstEndpoint {DstStart, DstEnd};
//! \returns false if #string is not a valid TZ DST end point descri
ption.
bool readDstEndpoint(const QString& string, DstEndpoint endpoint);
void setEndPointDate(int ordinalDate, bool leapYear, DstEndpoint end
point);
private slots: private slots:
void useDefinition(); void useDefinition();
void updateDstOffset(double normalOffset); void updateDstOffset(double normalOffset);
void updateDayNumberMaximumDstStart(int monthIndex); void updateDayNumberMaximumDstStart(int monthIndex);
void updateDayNumberMaximumDstEnd(int monthIndex); void updateDayNumberMaximumDstEnd(int monthIndex);
}; };
#endif //_DEFINE_TIME_ZONE_HPP_ #endif //_DEFINE_TIME_ZONE_HPP_
 End of changes. 2 change blocks. 
0 lines changed or deleted 15 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/