/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Apperance -p generated/com_deepin_daemon_apperance /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-0.2.1/xml/com.deepin.daemon.Apperance.xml
 *
 * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef COM_DEEPIN_DAEMON_APPERANCE_H
#define COM_DEEPIN_DAEMON_APPERANCE_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

#include <DBusExtendedAbstractInterface>
#include <QtDBus/QtDBus>


/*
 * Proxy class for interface com.deepin.daemon.Appearance
 */
class __Apperance : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.deepin.daemon.Appearance"; }

public:
    explicit __Apperance(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~__Apperance();

    Q_PROPERTY(QString Background READ background WRITE setBackground NOTIFY BackgroundChanged)
    inline QString background()
    { return qvariant_cast< QString >(internalPropGet("Background", &m_Background)); }
    inline void setBackground(const QString &value)
    { internalPropSet("Background", QVariant::fromValue(value), &m_Background); }

    Q_PROPERTY(QString CursorTheme READ cursorTheme WRITE setCursorTheme NOTIFY CursorThemeChanged)
    inline QString cursorTheme()
    { return qvariant_cast< QString >(internalPropGet("CursorTheme", &m_CursorTheme)); }
    inline void setCursorTheme(const QString &value)
    { internalPropSet("CursorTheme", QVariant::fromValue(value), &m_CursorTheme); }

    Q_PROPERTY(double FontSize READ fontSize WRITE setFontSize NOTIFY FontSizeChanged)
    inline double fontSize()
    { return qvariant_cast< double >(internalPropGet("FontSize", &m_FontSize)); }
    inline void setFontSize(double value)
    { internalPropSet("FontSize", QVariant::fromValue(value), &m_FontSize); }

    Q_PROPERTY(QString GtkTheme READ gtkTheme WRITE setGtkTheme NOTIFY GtkThemeChanged)
    inline QString gtkTheme()
    { return qvariant_cast< QString >(internalPropGet("GtkTheme", &m_GtkTheme)); }
    inline void setGtkTheme(const QString &value)
    { internalPropSet("GtkTheme", QVariant::fromValue(value), &m_GtkTheme); }

    Q_PROPERTY(QString IconTheme READ iconTheme WRITE setIconTheme NOTIFY IconThemeChanged)
    inline QString iconTheme()
    { return qvariant_cast< QString >(internalPropGet("IconTheme", &m_IconTheme)); }
    inline void setIconTheme(const QString &value)
    { internalPropSet("IconTheme", QVariant::fromValue(value), &m_IconTheme); }

    Q_PROPERTY(QString MonospaceFont READ monospaceFont WRITE setMonospaceFont NOTIFY MonospaceFontChanged)
    inline QString monospaceFont()
    { return qvariant_cast< QString >(internalPropGet("MonospaceFont", &m_MonospaceFont)); }
    inline void setMonospaceFont(const QString &value)
    { internalPropSet("MonospaceFont", QVariant::fromValue(value), &m_MonospaceFont); }

    Q_PROPERTY(QString StandardFont READ standardFont WRITE setStandardFont NOTIFY StandardFontChanged)
    inline QString standardFont()
    { return qvariant_cast< QString >(internalPropGet("StandardFont", &m_StandardFont)); }
    inline void setStandardFont(const QString &value)
    { internalPropSet("StandardFont", QVariant::fromValue(value), &m_StandardFont); }

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> Delete(const QString &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("Delete"), argumentList);
    }

    inline QDBusPendingReply<QString> List(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("List"), argumentList);
    }

    inline QDBusPendingReply<> Set(const QString &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("Set"), argumentList);
    }

    inline QDBusPendingReply<QString> Show(const QString &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("Show"), argumentList);
    }

    inline QDBusPendingReply<QString> Thumbnail(const QString &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("Thumbnail"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void Changed(const QString &in0, const QString &in1);
    void Refreshed(const QString &in0);
// begin property changed signals
    void BackgroundChanged(const QString & value) const;
    void CursorThemeChanged(const QString & value) const;
    void FontSizeChanged(double  value) const;
    void GtkThemeChanged(const QString & value) const;
    void IconThemeChanged(const QString & value) const;
    void MonospaceFontChanged(const QString & value) const;
    void StandardFontChanged(const QString & value) const;

// begin private slots
private Q_SLOTS:
    void onPropertyChanged(const QString &propName, const QVariant &value);

// begin private member vaiables
private:
    QString m_Background;
    QString m_CursorTheme;
    double m_FontSize;
    QString m_GtkTheme;
    QString m_IconTheme;
    QString m_MonospaceFont;
    QString m_StandardFont;
};

namespace com {
  namespace deepin {
    namespace daemon {
      typedef ::__Apperance Appearance;
    }
  }
}
#endif
