/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./dde-api-proxy/file/dbus/v0/system/com.deepin.daemon.Grub2.Theme.xml -a ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.Grub2.ThemeAdaptor -i ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.Grub2.Theme.h
 *
 * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.Grub2.ThemeAdaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class ThemeAdaptor
 */

ThemeAdaptor::ThemeAdaptor(QObject *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

ThemeAdaptor::~ThemeAdaptor()
{
    // destructor
}

QString ThemeAdaptor::itemColor() const
{
    // get the value of property ItemColor
    return qvariant_cast< QString >(parent()->property("ItemColor"));
}

QString ThemeAdaptor::selectedItemColor() const
{
    // get the value of property SelectedItemColor
    return qvariant_cast< QString >(parent()->property("SelectedItemColor"));
}

bool ThemeAdaptor::updating() const
{
    // get the value of property Updating
    return qvariant_cast< bool >(parent()->property("Updating"));
}

QString ThemeAdaptor::GetBackground()
{
    // handle method call com.deepin.daemon.Grub2.Theme.GetBackground
    QString out0;
    QMetaObject::invokeMethod(parent(), "GetBackground", Q_RETURN_ARG(QString, out0));
    return out0;
}

void ThemeAdaptor::SetBackgroundSourceFile(const QString &in0)
{
    // handle method call com.deepin.daemon.Grub2.Theme.SetBackgroundSourceFile
    QMetaObject::invokeMethod(parent(), "SetBackgroundSourceFile", Q_ARG(QString, in0));
}

void ThemeAdaptor::SetItemColor(const QString &in0)
{
    // handle method call com.deepin.daemon.Grub2.Theme.SetItemColor
    QMetaObject::invokeMethod(parent(), "SetItemColor", Q_ARG(QString, in0));
}

void ThemeAdaptor::SetSelectedItemColor(const QString &in0)
{
    // handle method call com.deepin.daemon.Grub2.Theme.SetSelectedItemColor
    QMetaObject::invokeMethod(parent(), "SetSelectedItemColor", Q_ARG(QString, in0));
}

