/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Theme -p generated/com_deepin_daemon_grub2_theme ../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 __ThemePrivate;
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 ItemColor READ itemColor NOTIFY ItemColorChanged)
    QString itemColor();

    Q_PROPERTY(QString SelectedItemColor READ selectedItemColor NOTIFY SelectedItemColorChanged)
    QString selectedItemColor();

    Q_PROPERTY(bool Updating READ updating NOTIFY UpdatingChanged)
    bool updating();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<QString> GetBackground()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetBackground"), argumentList);
    }



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

    inline void SetBackgroundSourceFileQueued(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);

        CallQueued(QStringLiteral("SetBackgroundSourceFile"), argumentList);
    }


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

    inline void SetItemColorQueued(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);

        CallQueued(QStringLiteral("SetItemColor"), argumentList);
    }


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

    inline void SetSelectedItemColorQueued(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);

        CallQueued(QStringLiteral("SetSelectedItemColor"), argumentList);
    }



Q_SIGNALS: // SIGNALS
    void BackgroundChanged();
    // begin property changed signals
    void ItemColorChanged(const QString & value) const;
    void SelectedItemColorChanged(const QString & value) const;
    void UpdatingChanged(bool  value) const;

public Q_SLOTS:
    void CallQueued(const QString &callName, const QList<QVariant> &args);

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);
    void onPropertyChanged(const QString &propName, const QVariant &value);

private:
    __ThemePrivate *d_ptr;
};

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