/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -p statusinterface /usr/src/ports/akonadi/akonadi-1.13.0-6.i686/src/akonadi-1.13.0/interfaces/org.freedesktop.Akonadi.Agent.Status.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef STATUSINTERFACE_H_1515514765
#define STATUSINTERFACE_H_1515514765

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>

/*
 * Proxy class for interface org.freedesktop.Akonadi.Agent.Status
 */
class OrgFreedesktopAkonadiAgentStatusInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.freedesktop.Akonadi.Agent.Status"; }

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

    ~OrgFreedesktopAkonadiAgentStatusInterface();

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

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

    inline Q_NOREPLY void setOnline(bool state)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(state);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setOnline"), argumentList);
    }

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

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

Q_SIGNALS: // SIGNALS
    void advancedStatus(const QVariantMap &status);
    void error(const QString &message);
    void onlineChanged(bool state);
    void percent(int percent);
    void status(int status, const QString &message);
    void warning(const QString &message);
};

namespace org {
  namespace freedesktop {
    namespace Akonadi {
      namespace Agent {
        typedef ::OrgFreedesktopAkonadiAgentStatusInterface Status;
      }
    }
  }
}
#endif
