/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -p agentmanagerinterface /usr/share/dbus-1/interfaces/org.freedesktop.Akonadi.AgentManager.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 AGENTMANAGERINTERFACE_H_1437460439
#define AGENTMANAGERINTERFACE_H_1437460439

#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.AgentManager
 */
class OrgFreedesktopAkonadiAgentManagerInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.freedesktop.Akonadi.AgentManager"; }

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

    ~OrgFreedesktopAkonadiAgentManagerInterface();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<QStringList> agentCapabilities(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentCapabilities"), argumentList);
    }

    inline QDBusPendingReply<QString> agentComment(const QString &identifier, const QString &language)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(language);
        return asyncCallWithArgumentList(QLatin1String("agentComment"), argumentList);
    }

    inline QDBusPendingReply<QString> agentComment(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentComment"), argumentList);
    }

    inline QDBusPendingReply<QVariantMap> agentCustomProperties(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentCustomProperties"), argumentList);
    }

    inline QDBusPendingReply<QString> agentIcon(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentIcon"), argumentList);
    }

    inline QDBusPendingReply<> agentInstanceConfigure(const QString &identifier, qlonglong windowId)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(windowId);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceConfigure"), argumentList);
    }

    inline QDBusPendingReply<QString> agentInstanceName(const QString &identifier, const QString &language)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(language);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceName"), argumentList);
    }

    inline QDBusPendingReply<QString> agentInstanceName(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceName"), argumentList);
    }

    inline QDBusPendingReply<bool> agentInstanceOnline(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceOnline"), argumentList);
    }

    inline QDBusPendingReply<uint> agentInstanceProgress(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceProgress"), argumentList);
    }

    inline QDBusPendingReply<QString> agentInstanceProgressMessage(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceProgressMessage"), argumentList);
    }

    inline QDBusPendingReply<int> agentInstanceStatus(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceStatus"), argumentList);
    }

    inline QDBusPendingReply<QString> agentInstanceStatusMessage(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceStatusMessage"), argumentList);
    }

    inline QDBusPendingReply<> agentInstanceSynchronize(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceSynchronize"), argumentList);
    }

    inline QDBusPendingReply<> agentInstanceSynchronizeCollection(const QString &identifier, qlonglong collection, bool recursive)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(collection) << QVariant::fromValue(recursive);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceSynchronizeCollection"), argumentList);
    }

    inline QDBusPendingReply<> agentInstanceSynchronizeCollection(const QString &identifier, qlonglong collection)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(collection);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceSynchronizeCollection"), argumentList);
    }

    inline QDBusPendingReply<> agentInstanceSynchronizeCollectionTree(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceSynchronizeCollectionTree"), argumentList);
    }

    inline QDBusPendingReply<QString> agentInstanceType(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceType"), argumentList);
    }

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

    inline QDBusPendingReply<QStringList> agentMimeTypes(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentMimeTypes"), argumentList);
    }

    inline QDBusPendingReply<QString> agentName(const QString &identifier, const QString &language)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(language);
        return asyncCallWithArgumentList(QLatin1String("agentName"), argumentList);
    }

    inline QDBusPendingReply<QString> agentName(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("agentName"), argumentList);
    }

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

    inline QDBusPendingReply<QString> createAgentInstance(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("createAgentInstance"), argumentList);
    }

    inline QDBusPendingReply<> removeAgentInstance(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("removeAgentInstance"), argumentList);
    }

    inline QDBusPendingReply<> restartAgentInstance(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("restartAgentInstance"), argumentList);
    }

    inline QDBusPendingReply<> setAgentInstanceName(const QString &identifier, const QString &name)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(name);
        return asyncCallWithArgumentList(QLatin1String("setAgentInstanceName"), argumentList);
    }

    inline QDBusPendingReply<> setAgentInstanceOnline(const QString &identifier, bool state)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(state);
        return asyncCallWithArgumentList(QLatin1String("setAgentInstanceOnline"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void agentInstanceAdded(const QString &agentIdentifier);
    void agentInstanceAdvancedStatusChanged(const QString &agentIdentifier, const QVariantMap &status);
    void agentInstanceError(const QString &agentIdentifier, const QString &message);
    void agentInstanceNameChanged(const QString &agentIdentifier, const QString &name);
    void agentInstanceOnlineChanged(const QString &agentIdentifier, bool state);
    void agentInstanceProgressChanged(const QString &agentIdentifier, uint progress, const QString &message);
    void agentInstanceRemoved(const QString &agentIdentifier);
    void agentInstanceStatusChanged(const QString &agentIdentifier, int status, const QString &message);
    void agentInstanceWarning(const QString &agentIdentifier, const QString &message);
    void agentTypeAdded(const QString &agentType);
    void agentTypeRemoved(const QString &agentType);
};

namespace org {
  namespace freedesktop {
    namespace Akonadi {
      typedef ::OrgFreedesktopAkonadiAgentManagerInterface AgentManager;
    }
  }
}
#endif
