/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c daemonservice -p generated/com_deepin_defender_daemonservice ../xml/com.deepin.defender.daemonservice.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_DEFENDER_DAEMONSERVICE_H
#define COM_DEEPIN_DEFENDER_DAEMONSERVICE_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.defender.daemonservice
 */
class __daemonservicePrivate;
class __daemonservice : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__daemonservice();

    Q_PROPERTY(int MaturityDay READ maturityDay WRITE setMaturityDay NOTIFY MaturityDayChanged)
    int maturityDay();
    void setMaturityDay(int value);

    Q_PROPERTY(int Safetygrade READ safetygrade WRITE setSafetygrade NOTIFY SafetygradeChanged)
    int safetygrade();
    void setSafetygrade(int value);

    Q_PROPERTY(QStringList ScanningUsbPaths READ scanningUsbPaths NOTIFY ScanningUsbPathsChanged)
    QStringList scanningUsbPaths();

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

    inline void ExitAllServiceQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void ExitAnalysisServiceQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void ExitAppQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void ExitAutoStartServiceQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void ExitMonitorNetFloServiceQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void ExitNetControlServiceQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void ExitTrafficDetailServiceQueued()
    {
        QList<QVariant> argumentList;

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


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



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



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



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



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

    inline void JumpScreenSecurityQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void JumpUpdatePolicyQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void PasswordUpdateQueued()
    {
        QList<QVariant> argumentList;

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


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

    inline void RequestStopUsbScannigQueued(const QString &path)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(path);

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


    inline QDBusPendingReply<> SetGesttingMaturityDay(int value)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(value);
        return asyncCallWithArgumentList(QStringLiteral("SetGesttingMaturityDay"), argumentList);
    }

    inline void SetGesttingMaturityDayQueued(int value)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(value);

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


    inline QDBusPendingReply<> SetGsetting(int value)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(value);
        return asyncCallWithArgumentList(QStringLiteral("SetGsetting"), argumentList);
    }

    inline void SetGsettingQueued(int value)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(value);

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


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

    inline void StartAppQueued()
    {
        QList<QVariant> argumentList;

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


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




Q_SIGNALS: // SIGNALS
    void GotoScreenSecurity();
    void GotoUpdatePolicy();
    void NotifyHeartbeat();
    void ScanningUsbPathsChanged(const QStringList &paths);
    void UpdateUI();
    void UsbScanningStopped(const QString &path);
    // begin property changed signals
    void MaturityDayChanged(int  value) const;
    void SafetygradeChanged(int  value) const;
    void ScanningUsbPathsChanged(const QStringList & 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:
    __daemonservicePrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace defender {
      typedef ::__daemonservice daemonservice;
    }
  }
}
#endif
