/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c TouchPad -p generated/com_deepin_daemon_inputdevice_touchpad /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-0.2.1/xml/com.deepin.daemon.InputDevice.TouchPad.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_TOUCHPAD_H
#define COM_DEEPIN_DAEMON_INPUTDEVICE_TOUCHPAD_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.InputDevice.TouchPad
 */
class __TouchPad : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__TouchPad();

    Q_PROPERTY(int DeltaScroll READ deltaScroll WRITE setDeltaScroll NOTIFY DeltaScrollChanged)
    inline int deltaScroll()
    { return qvariant_cast< int >(internalPropGet("DeltaScroll", &m_DeltaScroll)); }
    inline void setDeltaScroll(int value)
    { internalPropSet("DeltaScroll", QVariant::fromValue(value), &m_DeltaScroll); }

    Q_PROPERTY(QString DeviceList READ deviceList NOTIFY DeviceListChanged)
    inline QString deviceList()
    { return qvariant_cast< QString >(internalPropGet("DeviceList", &m_DeviceList)); }

    Q_PROPERTY(bool DisableIfTyping READ disableIfTyping WRITE setDisableIfTyping NOTIFY DisableIfTypingChanged)
    inline bool disableIfTyping()
    { return qvariant_cast< bool >(internalPropGet("DisableIfTyping", &m_DisableIfTyping)); }
    inline void setDisableIfTyping(bool value)
    { internalPropSet("DisableIfTyping", QVariant::fromValue(value), &m_DisableIfTyping); }

    Q_PROPERTY(int DoubleClick READ doubleClick WRITE setDoubleClick NOTIFY DoubleClickChanged)
    inline int doubleClick()
    { return qvariant_cast< int >(internalPropGet("DoubleClick", &m_DoubleClick)); }
    inline void setDoubleClick(int value)
    { internalPropSet("DoubleClick", QVariant::fromValue(value), &m_DoubleClick); }

    Q_PROPERTY(int DragThreshold READ dragThreshold WRITE setDragThreshold NOTIFY DragThresholdChanged)
    inline int dragThreshold()
    { return qvariant_cast< int >(internalPropGet("DragThreshold", &m_DragThreshold)); }
    inline void setDragThreshold(int value)
    { internalPropSet("DragThreshold", QVariant::fromValue(value), &m_DragThreshold); }

    Q_PROPERTY(bool EdgeScroll READ edgeScroll WRITE setEdgeScroll NOTIFY EdgeScrollChanged)
    inline bool edgeScroll()
    { return qvariant_cast< bool >(internalPropGet("EdgeScroll", &m_EdgeScroll)); }
    inline void setEdgeScroll(bool value)
    { internalPropSet("EdgeScroll", QVariant::fromValue(value), &m_EdgeScroll); }

    Q_PROPERTY(bool Exist READ exist NOTIFY ExistChanged)
    inline bool exist()
    { return qvariant_cast< bool >(internalPropGet("Exist", &m_Exist)); }

    Q_PROPERTY(bool HorizScroll READ horizScroll WRITE setHorizScroll NOTIFY HorizScrollChanged)
    inline bool horizScroll()
    { return qvariant_cast< bool >(internalPropGet("HorizScroll", &m_HorizScroll)); }
    inline void setHorizScroll(bool value)
    { internalPropSet("HorizScroll", QVariant::fromValue(value), &m_HorizScroll); }

    Q_PROPERTY(bool LeftHanded READ leftHanded WRITE setLeftHanded NOTIFY LeftHandedChanged)
    inline bool leftHanded()
    { return qvariant_cast< bool >(internalPropGet("LeftHanded", &m_LeftHanded)); }
    inline void setLeftHanded(bool value)
    { internalPropSet("LeftHanded", QVariant::fromValue(value), &m_LeftHanded); }

    Q_PROPERTY(double MotionAcceleration READ motionAcceleration WRITE setMotionAcceleration NOTIFY MotionAccelerationChanged)
    inline double motionAcceleration()
    { return qvariant_cast< double >(internalPropGet("MotionAcceleration", &m_MotionAcceleration)); }
    inline void setMotionAcceleration(double value)
    { internalPropSet("MotionAcceleration", QVariant::fromValue(value), &m_MotionAcceleration); }

    Q_PROPERTY(double MotionScaling READ motionScaling WRITE setMotionScaling NOTIFY MotionScalingChanged)
    inline double motionScaling()
    { return qvariant_cast< double >(internalPropGet("MotionScaling", &m_MotionScaling)); }
    inline void setMotionScaling(double value)
    { internalPropSet("MotionScaling", QVariant::fromValue(value), &m_MotionScaling); }

    Q_PROPERTY(double MotionThreshold READ motionThreshold WRITE setMotionThreshold NOTIFY MotionThresholdChanged)
    inline double motionThreshold()
    { return qvariant_cast< double >(internalPropGet("MotionThreshold", &m_MotionThreshold)); }
    inline void setMotionThreshold(double value)
    { internalPropSet("MotionThreshold", QVariant::fromValue(value), &m_MotionThreshold); }

    Q_PROPERTY(bool NaturalScroll READ naturalScroll WRITE setNaturalScroll NOTIFY NaturalScrollChanged)
    inline bool naturalScroll()
    { return qvariant_cast< bool >(internalPropGet("NaturalScroll", &m_NaturalScroll)); }
    inline void setNaturalScroll(bool value)
    { internalPropSet("NaturalScroll", QVariant::fromValue(value), &m_NaturalScroll); }

    Q_PROPERTY(bool TPadEnable READ tPadEnable WRITE setTPadEnable NOTIFY TPadEnableChanged)
    inline bool tPadEnable()
    { return qvariant_cast< bool >(internalPropGet("TPadEnable", &m_TPadEnable)); }
    inline void setTPadEnable(bool value)
    { internalPropSet("TPadEnable", QVariant::fromValue(value), &m_TPadEnable); }

    Q_PROPERTY(bool TapClick READ tapClick WRITE setTapClick NOTIFY TapClickChanged)
    inline bool tapClick()
    { return qvariant_cast< bool >(internalPropGet("TapClick", &m_TapClick)); }
    inline void setTapClick(bool value)
    { internalPropSet("TapClick", QVariant::fromValue(value), &m_TapClick); }

    Q_PROPERTY(bool VertScroll READ vertScroll WRITE setVertScroll NOTIFY VertScrollChanged)
    inline bool vertScroll()
    { return qvariant_cast< bool >(internalPropGet("VertScroll", &m_VertScroll)); }
    inline void setVertScroll(bool value)
    { internalPropSet("VertScroll", QVariant::fromValue(value), &m_VertScroll); }

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

Q_SIGNALS: // SIGNALS
// begin property changed signals
    void DeltaScrollChanged(int  value) const;
    void DeviceListChanged(const QString & value) const;
    void DisableIfTypingChanged(bool  value) const;
    void DoubleClickChanged(int  value) const;
    void DragThresholdChanged(int  value) const;
    void EdgeScrollChanged(bool  value) const;
    void ExistChanged(bool  value) const;
    void HorizScrollChanged(bool  value) const;
    void LeftHandedChanged(bool  value) const;
    void MotionAccelerationChanged(double  value) const;
    void MotionScalingChanged(double  value) const;
    void MotionThresholdChanged(double  value) const;
    void NaturalScrollChanged(bool  value) const;
    void TPadEnableChanged(bool  value) const;
    void TapClickChanged(bool  value) const;
    void VertScrollChanged(bool  value) const;

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

// begin private member vaiables
private:
    int m_DeltaScroll;
    QString m_DeviceList;
    bool m_DisableIfTyping;
    int m_DoubleClick;
    int m_DragThreshold;
    bool m_EdgeScroll;
    bool m_Exist;
    bool m_HorizScroll;
    bool m_LeftHanded;
    double m_MotionAcceleration;
    double m_MotionScaling;
    double m_MotionThreshold;
    bool m_NaturalScroll;
    bool m_TPadEnable;
    bool m_TapClick;
    bool m_VertScroll;
};

namespace com {
  namespace deepin {
    namespace daemon {
      namespace inputdevice {
        typedef ::__TouchPad TouchPad;
      }
    }
  }
}
#endif
