/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -p screensaverproxy -c ScreenSaverProxy org.ukui.ScreenSaver.xml
 *
 * qdbusxml2cpp is Copyright (C) 2023 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef SCREENSAVERPROXY_H
#define SCREENSAVERPROXY_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.ukui.ScreenSaver
 */
class ScreenSaverProxy: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.ukui.ScreenSaver"; }

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

    ~ScreenSaverProxy();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Q_SIGNALS: // SIGNALS
    void ScreenSaverLock();
    void SecondRunParam(const QString &param);
    void SessionIdle();
    void SessionLockIdle();
    void UpdateInformation(const QString &info);
    void lock();
    void prepareForLock();
    void prepareForSessionTools();
    void unlock();
};

namespace org {
  namespace ukui {
    typedef ::ScreenSaverProxy ScreenSaver;
  }
}
#endif
