/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -i interface_util.h -p kwin_interface /usr/share/dbus-1/interfaces/org.kde.KWin.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 KWIN_INTERFACE_H
#define KWIN_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 "interface_util.h"

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

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

    ~OrgKdeKWinInterface();

public Q_SLOTS: // METHODS
    inline Q_NOREPLY void cascadeDesktop()
    {
        QList<QVariant> argumentList;
        callWithArgumentList(QDBus::NoBlock, QStringLiteral("cascadeDesktop"), argumentList);
    }

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

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

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

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

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

    inline QDBusPendingReply<bool> setCurrentDesktop(int desktop)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(desktop);
        return asyncCallWithArgumentList(QStringLiteral("setCurrentDesktop"), argumentList);
    }

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

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

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

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

Q_SIGNALS: // SIGNALS
    void reloadConfig();
};

namespace org {
  namespace kde {
    typedef ::OrgKdeKWinInterface KWin;
  }
}
#endif
