/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.freedesktop.DisplayManager.Session.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 DISPLAYMANAGERSESSION_H
#define DISPLAYMANAGERSESSION_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.DisplayManager.Session
 */
class DisplaySession: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.freedesktop.DisplayManager.Session"; }

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

    ~DisplaySession();

    Q_PROPERTY(QDBusObjectPath Seat READ seat)
    inline QDBusObjectPath seat() const
    { return qvariant_cast< QDBusObjectPath >(property("Seat")); }

    Q_PROPERTY(QString UserName READ userName)
    inline QString userName() const
    { return qvariant_cast< QString >(property("UserName")); }

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

Q_SIGNALS: // SIGNALS
};

#endif
