// 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_GEOPOINT_OBJECT
#define LQTG_TYPE_GEOPOINT_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT GeoPointObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(GeoPointClassType)
    Q_PROPERTY(qreal lat READ lat WRITE setLat NOTIFY latChanged)
    Q_PROPERTY(qreal longValue READ longValue WRITE setLongValue NOTIFY longValueChanged)
    Q_PROPERTY(GeoPoint core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum GeoPointClassType {
        TypeGeoPointEmpty,
        TypeGeoPoint
    };

    GeoPointObject(const GeoPoint &core, QObject *parent = 0);
    GeoPointObject(QObject *parent = 0);
    virtual ~GeoPointObject();

    void setLat(qreal lat);
    qreal lat() const;

    void setLongValue(qreal longValue);
    qreal longValue() const;

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

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

    GeoPointObject &operator =(const GeoPoint &b);
    bool operator ==(const GeoPoint &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void latChanged();
    void longValueChanged();

private Q_SLOTS:

private:
    GeoPoint m_core;
};

#endif // LQTG_TYPE_GEOPOINT_OBJECT
