/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.freedesktop.UPower.KbdBacklight.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 UPOWER_KBDBACKLIGHT_INTERFACE_H
#define UPOWER_KBDBACKLIGHT_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>

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

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

    ~OrgFreedesktopUPowerKbdBacklightInterface();

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

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

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

Q_SIGNALS: // SIGNALS
    void BrightnessChanged(int value);
    void BrightnessChangedWithSource(int value, const QString &source);
};

namespace org {
  namespace freedesktop {
    namespace UPower {
      using KbdBacklight = ::OrgFreedesktopUPowerKbdBacklightInterface;
    }
  }
}

#endif
