Lens.hpp   Lens.hpp 
skipping to change at line 33 skipping to change at line 33
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include <QMap> #include <QMap>
class QSettings; class QSettings;
//! @ingroup oculars //! @ingroup oculars
class Lens : public QObject class Lens : public QObject
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(QString name READ name WRITE setName) Q_PROPERTY(QString name READ getName WRITE setName)
Q_PROPERTY(double multipler READ multipler WRITE setMultipler) Q_PROPERTY(double multipler READ getMultipler WRITE setMultipler)
public: public:
Lens(); Lens();
Q_INVOKABLE Lens(const QObject& other); Q_INVOKABLE Lens(const QObject& other);
virtual ~Lens(); virtual ~Lens();
static Lens* lensFromSettings(QSettings* theSettings, int lensIndex); static Lens* lensFromSettings(QSettings* theSettings, int lensIndex)
void writeToSettings(QSettings * settings, const int index); ;
static Lens* lensModel(); void writeToSettings(QSettings * settings, const int index);
static Lens* lensModel();
double multipler() const;
void setMultipler(double theValue); double getMultipler() const;
const QString name() const; void setMultipler(double theValue);
void setName(const QString& theValue); const QString getName() const;
QMap<int, QString> propertyMap(); void setName(const QString& theValue);
QMap<int, QString> propertyMap();
private: private:
QString m_name; QString m_name;
double m_multipler; double m_multipler;
}; };
#endif #endif
 End of changes. 3 change blocks. 
17 lines changed or deleted 18 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/