/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Theme -p generated/com_deepin_daemon_grub2_theme /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory/xml/com.deepin.daemon.Grub2.Theme.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_GRUB2_THEME_H
#define COM_DEEPIN_DAEMON_GRUB2_THEME_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.Grub2.Theme
 */
class __Theme : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__Theme();

    Q_PROPERTY(QString Background READ background NOTIFY BackgroundChanged)
    inline QString background()
    { return qvariant_cast< QString >(internalPropGet("Background", &m_Background)); }

    Q_PROPERTY(QString ItemColor READ itemColor WRITE setItemColor NOTIFY ItemColorChanged)
    inline QString itemColor()
    { return qvariant_cast< QString >(internalPropGet("ItemColor", &m_ItemColor)); }
    inline void setItemColor(const QString &value)
    { internalPropSet("ItemColor", QVariant::fromValue(value), &m_ItemColor); }

    Q_PROPERTY(QString SelectedItemColor READ selectedItemColor WRITE setSelectedItemColor NOTIFY SelectedItemColorChanged)
    inline QString selectedItemColor()
    { return qvariant_cast< QString >(internalPropGet("SelectedItemColor", &m_SelectedItemColor)); }
    inline void setSelectedItemColor(const QString &value)
    { internalPropSet("SelectedItemColor", QVariant::fromValue(value), &m_SelectedItemColor); }

    Q_PROPERTY(bool Updating READ updating NOTIFY UpdatingChanged)
    inline bool updating()
    { return qvariant_cast< bool >(internalPropGet("Updating", &m_Updating)); }

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

Q_SIGNALS: // SIGNALS
// begin property changed signals
    void BackgroundChanged(const QString & value) const;
    void ItemColorChanged(const QString & value) const;
    void SelectedItemColorChanged(const QString & value) const;
    void UpdatingChanged(bool  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_ItemColor;
    QString m_SelectedItemColor;
    bool m_Updating;
};

namespace com {
  namespace deepin {
    namespace daemon {
      namespace grub2 {
        typedef ::__Theme Theme;
      }
    }
  }
}
#endif
