/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.kde.plasmavault.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef PLASMAVAULT_INTERFACE_H
#define PLASMAVAULT_INTERFACE_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>
#include "../common/vaultinfo.h"

/*
 * Proxy class for interface org.kde.plasmavault
 */
class OrgKdePlasmavaultInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.kde.plasmavault"; }

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

    ~OrgKdePlasmavaultInterface();

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

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

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

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

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

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

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

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

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

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

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

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

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

Q_SIGNALS: // SIGNALS
    void hasOpenVaultsChanged(bool hasOpenVaults);
    void vaultAdded(PlasmaVault::VaultInfo vaultData);
    void vaultChanged(PlasmaVault::VaultInfo vaultData);
    void vaultRemoved(const QString &device);
};

namespace org {
  namespace kde {
    using plasmavault = ::OrgKdePlasmavaultInterface;
  }
}

#endif
