// 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_WALLPAPER_OBJECT
#define LQTG_TYPE_WALLPAPER_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT WallPaperObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(WallPaperClassType)
    Q_PROPERTY(qint32 bgColor READ bgColor WRITE setBgColor NOTIFY bgColorChanged)
    Q_PROPERTY(qint32 color READ color WRITE setColor NOTIFY colorChanged)
    Q_PROPERTY(qint32 id READ id WRITE setId NOTIFY idChanged)
    Q_PROPERTY(QList<PhotoSize> sizes READ sizes WRITE setSizes NOTIFY sizesChanged)
    Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged)
    Q_PROPERTY(WallPaper core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum WallPaperClassType {
        TypeWallPaper,
        TypeWallPaperSolid
    };

    WallPaperObject(const WallPaper &core, QObject *parent = 0);
    WallPaperObject(QObject *parent = 0);
    virtual ~WallPaperObject();

    void setBgColor(qint32 bgColor);
    qint32 bgColor() const;

    void setColor(qint32 color);
    qint32 color() const;

    void setId(qint32 id);
    qint32 id() const;

    void setSizes(const QList<PhotoSize> &sizes);
    QList<PhotoSize> sizes() const;

    void setTitle(const QString &title);
    QString title() const;

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

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

    WallPaperObject &operator =(const WallPaper &b);
    bool operator ==(const WallPaper &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void bgColorChanged();
    void colorChanged();
    void idChanged();
    void sizesChanged();
    void titleChanged();

private Q_SLOTS:

private:
    WallPaper m_core;
};

#endif // LQTG_TYPE_WALLPAPER_OBJECT
