/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Keyboard -p generated/com_deepin_daemon_inputdevice_keyboard /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-0.4.0/xml/com.deepin.daemon.InputDevice.Keyboard.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_INPUTDEVICE_KEYBOARD_H
#define COM_DEEPIN_DAEMON_INPUTDEVICE_KEYBOARD_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>

#include "types/keyboardlayoutlist.h"

/*
 * Proxy class for interface com.deepin.daemon.InputDevice.Keyboard
 */
class __Keyboard : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__Keyboard();

    Q_PROPERTY(bool CapslockToggle READ capslockToggle WRITE setCapslockToggle NOTIFY CapslockToggleChanged)
    inline bool capslockToggle()
    { return qvariant_cast< bool >(internalPropGet("CapslockToggle", &m_CapslockToggle)); }
    inline void setCapslockToggle(bool value)
    { internalPropSet("CapslockToggle", QVariant::fromValue(value), &m_CapslockToggle); }

    Q_PROPERTY(QString CurrentLayout READ currentLayout WRITE setCurrentLayout NOTIFY CurrentLayoutChanged)
    inline QString currentLayout()
    { return qvariant_cast< QString >(internalPropGet("CurrentLayout", &m_CurrentLayout)); }
    inline void setCurrentLayout(const QString &value)
    { internalPropSet("CurrentLayout", QVariant::fromValue(value), &m_CurrentLayout); }

    Q_PROPERTY(int CursorBlink READ cursorBlink WRITE setCursorBlink NOTIFY CursorBlinkChanged)
    inline int cursorBlink()
    { return qvariant_cast< int >(internalPropGet("CursorBlink", &m_CursorBlink)); }
    inline void setCursorBlink(int value)
    { internalPropSet("CursorBlink", QVariant::fromValue(value), &m_CursorBlink); }

    Q_PROPERTY(uint RepeatDelay READ repeatDelay WRITE setRepeatDelay NOTIFY RepeatDelayChanged)
    inline uint repeatDelay()
    { return qvariant_cast< uint >(internalPropGet("RepeatDelay", &m_RepeatDelay)); }
    inline void setRepeatDelay(uint value)
    { internalPropSet("RepeatDelay", QVariant::fromValue(value), &m_RepeatDelay); }

    Q_PROPERTY(bool RepeatEnabled READ repeatEnabled WRITE setRepeatEnabled NOTIFY RepeatEnabledChanged)
    inline bool repeatEnabled()
    { return qvariant_cast< bool >(internalPropGet("RepeatEnabled", &m_RepeatEnabled)); }
    inline void setRepeatEnabled(bool value)
    { internalPropSet("RepeatEnabled", QVariant::fromValue(value), &m_RepeatEnabled); }

    Q_PROPERTY(uint RepeatInterval READ repeatInterval WRITE setRepeatInterval NOTIFY RepeatIntervalChanged)
    inline uint repeatInterval()
    { return qvariant_cast< uint >(internalPropGet("RepeatInterval", &m_RepeatInterval)); }
    inline void setRepeatInterval(uint value)
    { internalPropSet("RepeatInterval", QVariant::fromValue(value), &m_RepeatInterval); }

    Q_PROPERTY(QStringList UserLayoutList READ userLayoutList NOTIFY UserLayoutListChanged)
    inline QStringList userLayoutList()
    { return qvariant_cast< QStringList >(internalPropGet("UserLayoutList", &m_UserLayoutList)); }

    Q_PROPERTY(QStringList UserOptionList READ userOptionList NOTIFY UserOptionListChanged)
    inline QStringList userOptionList()
    { return qvariant_cast< QStringList >(internalPropGet("UserOptionList", &m_UserOptionList)); }

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

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

    inline QDBusPendingReply<> ClearLayoutOption()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ClearLayoutOption"), argumentList);
    }

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

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

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

    inline QDBusPendingReply<KeyboardLayoutList> LayoutList()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("LayoutList"), argumentList);
    }

    inline QDBusPendingReply<> Reset()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("Reset"), argumentList);
    }

Q_SIGNALS: // SIGNALS
// begin property changed signals
    void CapslockToggleChanged(bool  value) const;
    void CurrentLayoutChanged(const QString & value) const;
    void CursorBlinkChanged(int  value) const;
    void RepeatDelayChanged(uint  value) const;
    void RepeatEnabledChanged(bool  value) const;
    void RepeatIntervalChanged(uint  value) const;
    void UserLayoutListChanged(const QStringList & value) const;
    void UserOptionListChanged(const QStringList & value) const;

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

// begin private member vaiables
private:
    bool m_CapslockToggle;
    QString m_CurrentLayout;
    int m_CursorBlink;
    uint m_RepeatDelay;
    bool m_RepeatEnabled;
    uint m_RepeatInterval;
    QStringList m_UserLayoutList;
    QStringList m_UserOptionList;
};

namespace com {
  namespace deepin {
    namespace daemon {
      namespace inputdevice {
        typedef ::__Keyboard Keyboard;
      }
    }
  }
}
#endif
