/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.freedesktop.portal.Settings.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 SETTINGS_INTERFACE_H
#define SETTINGS_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 "dbustypes.h"

/*
 * Proxy class for interface org.freedesktop.portal.Settings
 */
class OrgFreedesktopPortalSettingsInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.freedesktop.portal.Settings"; }

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

    ~OrgFreedesktopPortalSettingsInterface();

    Q_PROPERTY(uint version READ version)
    inline uint version() const
    { return qvariant_cast< uint >(property("version")); }

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<QDBusVariant> Read(const QString &group, const QString &key)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(group) << QVariant::fromValue(key);
        return asyncCallWithArgumentList(QStringLiteral("Read"), argumentList);
    }

    inline QDBusPendingReply<VariantMapMap> ReadAll(const QStringList &groups)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(groups);
        return asyncCallWithArgumentList(QStringLiteral("ReadAll"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void SettingChanged(const QString &group, const QString &key, const QDBusVariant &value);
};

namespace org {
  namespace freedesktop {
    namespace portal {
      using Settings = ::OrgFreedesktopPortalSettingsInterface;
    }
  }
}

#endif
