EquationOfTime.hpp   EquationOfTime.hpp 
skipping to change at line 64 skipping to change at line 64
//! @class EquationOfTime //! @class EquationOfTime
//! @ingroup equationOfTime //! @ingroup equationOfTime
//! Main class of the %Equation of Time plugin. //! Main class of the %Equation of Time plugin.
//! @author Alexander Wolf //! @author Alexander Wolf
class EquationOfTime : public StelModule class EquationOfTime : public StelModule
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(bool showEOT Q_PROPERTY(bool showEOT
READ isEnabled READ isEnabled
WRITE enableEquationOfTime) WRITE enableEquationOfTime
NOTIFY equationOfTimeStateChanged)
public: public:
EquationOfTime(); EquationOfTime();
virtual ~EquationOfTime(); virtual ~EquationOfTime();
virtual void init(); virtual void init();
virtual void deinit(); virtual void deinit();
virtual void update(double) {;} virtual void update(double) {;}
virtual void draw(StelCore *core); virtual void draw(StelCore *core);
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
skipping to change at line 141 skipping to change at line 142
//! Enable plugin usage at startup //! Enable plugin usage at startup
void setFlagEnableAtStartup(bool b); void setFlagEnableAtStartup(bool b);
//! Set font size for message //! Set font size for message
void setFontSize(int size); void setFontSize(int size);
//! Display plugin button on toolbar //! Display plugin button on toolbar
void setFlagShowEOTButton(bool b); void setFlagShowEOTButton(bool b);
private slots: private slots:
void updateMessageText(); void updateMessageText();
signals:
void equationOfTimeStateChanged(bool b);
private: private:
// if existing, delete EquationOfTime section in main config.ini, th en create with default values // if existing, delete EquationOfTime section in main config.ini, th en create with default values
void restoreDefaultConfigIni(void); void restoreDefaultConfigIni(void);
EquationOfTimeWindow* mainWindow; EquationOfTimeWindow* mainWindow;
QSettings* conf; QSettings* conf;
StelGui* gui; StelGui* gui;
QFont font; QFont font;
bool flagShowSolutionEquationOfTime; bool flagShowSolutionEquationOfTime;
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 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/