/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c trafficdetails -p generated/com_deepin_defender_trafficdetails ../xml/com.deepin.defender.trafficdetails.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_TRAFFICDETAILS_H
#define COM_DEEPIN_DEFENDER_TRAFFICDETAILS_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/defenderappflow.h"
#include "types/defenderdisplay.h"

/*
 * Proxy class for interface com.deepin.defender.trafficdetails
 */
class __trafficdetailsPrivate;
class __trafficdetails : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__trafficdetails();

    Q_PROPERTY(DefenderDisplay Display READ display NOTIFY DisplayChanged)
    DefenderDisplay display();

    Q_PROPERTY(DefenderAppFlow defenderAppFlow READ defenderAppFlow NOTIFY DefenderAppFlowChanged)
    DefenderAppFlow defenderAppFlow();

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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



Q_SIGNALS: // SIGNALS
    void Display(DefenderDisplay in0);
    void NotifyHeartbeat();
    void displayflow(DefenderDisplayList in0);
    void displayspped(DefenderDisplayList in0);
    void sendAppFlowData(DefenderAppFlowList in0);
    void updatedisplay();
    // begin property changed signals
    void DisplayChanged(DefenderDisplay  value) const;
    void DefenderAppFlowChanged(DefenderAppFlow  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:
    __trafficdetailsPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace defender {
      typedef ::__trafficdetails trafficdetails;
    }
  }
}
#endif
