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

#ifndef CONTROLINTERFACE_H
#define CONTROLINTERFACE_H

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

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

    ~OrgFreedesktopAkonadiAgentControlInterface();

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

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

    inline Q_NOREPLY void configure(qlonglong windowId)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(windowId);
        callWithArgumentList(QDBus::NoBlock, QStringLiteral("configure"), argumentList);
    }

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

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

Q_SIGNALS: // SIGNALS
    void configurationDialogAccepted();
    void configurationDialogRejected();
};

namespace org {
  namespace freedesktop {
    namespace Akonadi {
      namespace Agent {
        typedef ::OrgFreedesktopAkonadiAgentControlInterface Control;
      }
    }
  }
}
#endif
