// This file generated by libqtelegram-code-generator.
// You can download it from: https://github.com/Aseman-Land/libqtelegram-code-generator
// DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

#ifndef LQTG_TYPE_MASKCOORDS_OBJECT
#define LQTG_TYPE_MASKCOORDS_OBJECT

#include "telegramtypeqobject.h"
#include "telegram/types/maskcoords.h"

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT MaskCoordsObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(MaskCoordsClassType)
    Q_PROPERTY(qint32 n READ n WRITE setN NOTIFY nChanged)
    Q_PROPERTY(qreal x READ x WRITE setX NOTIFY xChanged)
    Q_PROPERTY(qreal y READ y WRITE setY NOTIFY yChanged)
    Q_PROPERTY(qreal zoom READ zoom WRITE setZoom NOTIFY zoomChanged)
    Q_PROPERTY(MaskCoords core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum MaskCoordsClassType {
        TypeMaskCoords
    };

    MaskCoordsObject(const MaskCoords &core, QObject *parent = 0);
    MaskCoordsObject(QObject *parent = 0);
    virtual ~MaskCoordsObject();

    void setN(qint32 n);
    qint32 n() const;

    void setX(qreal x);
    qreal x() const;

    void setY(qreal y);
    qreal y() const;

    void setZoom(qreal zoom);
    qreal zoom() const;

    void setClassType(quint32 classType);
    quint32 classType() const;

    void setCore(const MaskCoords &core);
    MaskCoords core() const;

    MaskCoordsObject &operator =(const MaskCoords &b);
    bool operator ==(const MaskCoords &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void nChanged();
    void xChanged();
    void yChanged();
    void zoomChanged();

private Q_SLOTS:

private:
    MaskCoords m_core;
};

#endif // LQTG_TYPE_MASKCOORDS_OBJECT
