/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Smartmirror -p generated/com_deepin_lastore_smartmirror /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-1.1.1/xml/com.deepin.lastore.Smartmirror.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_LASTORE_SMARTMIRROR_H
#define COM_DEEPIN_LASTORE_SMARTMIRROR_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.lastore.Smartmirror
 */
class __SmartmirrorPrivate;
class __Smartmirror : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.deepin.lastore.Smartmirror"; }

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

    ~__Smartmirror();

    Q_PROPERTY(bool Enable READ enable NOTIFY EnableChanged)
    bool enable();

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



    inline QDBusPendingReply<> SetEnable(bool enable)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(enable);
        return asyncCallWithArgumentList(QStringLiteral("SetEnable"), argumentList);
    }

    inline void SetEnableQueued(bool enable)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(enable);

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



Q_SIGNALS: // SIGNALS
    // begin property changed signals
    void EnableChanged(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:
    __SmartmirrorPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace lastore {
      typedef ::__Smartmirror Smartmirror;
    }
  }
}
#endif
