Telescope.hpp   Telescope.hpp 
skipping to change at line 35 skipping to change at line 35
//! @ingroup oculars //! @ingroup oculars
class Telescope : public QObject class Telescope : public QObject
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(QString name READ name WRITE setName) Q_PROPERTY(QString name READ name WRITE setName)
Q_PROPERTY(double diameter READ diameter WRITE setDiameter) Q_PROPERTY(double diameter READ diameter WRITE setDiameter)
Q_PROPERTY(double focalLength READ focalLength WRITE setFocalLength) Q_PROPERTY(double focalLength READ focalLength WRITE setFocalLength)
Q_PROPERTY(bool hFlipped READ isHFlipped WRITE setHFlipped) Q_PROPERTY(bool hFlipped READ isHFlipped WRITE setHFlipped)
Q_PROPERTY(bool vFlipped READ isVFlipped WRITE setVFlipped) Q_PROPERTY(bool vFlipped READ isVFlipped WRITE setVFlipped)
Q_PROPERTY(bool equatorial READ isEquatorial WRITE setEquatorial)
public: public:
Telescope(); Telescope();
Q_INVOKABLE Telescope(const QObject& other); Q_INVOKABLE Telescope(const QObject& other);
virtual ~Telescope(); virtual ~Telescope();
static Telescope* telescopeFromSettings(QSettings* theSettings, int telescopeIndex); static Telescope* telescopeFromSettings(QSettings* theSettings, int telescopeIndex);
void writeToSettings(QSettings * settings, const int index); void writeToSettings(QSettings * settings, const int index);
static Telescope* telescopeModel(); static Telescope* telescopeModel();
double diameter() const; double diameter() const;
void setDiameter(double theValue); void setDiameter(double theValue);
double focalLength() const; double focalLength() const;
void setFocalLength(double theValue); void setFocalLength(double theValue);
const QString name() const; const QString name() const;
void setName(QString theValue); void setName(QString theValue);
bool isHFlipped() const; bool isHFlipped() const;
void setHFlipped(bool flipped); void setHFlipped(bool flipped);
bool isVFlipped() const; bool isVFlipped() const;
void setVFlipped(bool flipped); void setVFlipped(bool flipped);
bool isEquatorial() const;
void setEquatorial(bool eq);
QMap<int, QString> propertyMap(); QMap<int, QString> propertyMap();
private: private:
QString m_name; QString m_name;
double m_diameter; double m_diameter;
double m_focalLength; double m_focalLength;
bool m_hFlipped; bool m_hFlipped;
bool m_vFlipped; bool m_vFlipped;
bool m_equatorial;
}; };
#endif /*TELESCOPE_HPP_*/ #endif /*TELESCOPE_HPP_*/
 End of changes. 3 change blocks. 
0 lines changed or deleted 4 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/