/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./dde-api-proxy/file/dbus/v0/session/com.deepin.daemon.InputDevices.xml -a ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.InputDevicesAdaptor -i ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.InputDevices.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.InputDevicesAdaptor.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 InputDevicesAdaptor
 */

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

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

InputDeviceList InputDevicesAdaptor::infos() const
{
    // get the value of property Infos
    return qvariant_cast< InputDeviceList >(parent()->property("Infos"));
}

uint InputDevicesAdaptor::wheelSpeed() const
{
    // get the value of property WheelSpeed
    return qvariant_cast< uint >(parent()->property("WheelSpeed"));
}

void InputDevicesAdaptor::setWheelSpeed(uint value)
{
    // set the value of property WheelSpeed
    parent()->setProperty("WheelSpeed", QVariant::fromValue(value));
}

