/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -N -m -p devicebatteryinterface /build/kdeconnect/src/build/plugins/battery/org.kde.kdeconnect.device.battery.xml
 *
 * qdbusxml2cpp is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef DEVICEBATTERYINTERFACE_H_1411891712
#define DEVICEBATTERYINTERFACE_H_1411891712

#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.kde.kdeconnect.device.battery
 */
class OrgKdeKdeconnectDeviceBatteryInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.kde.kdeconnect.device.battery"; }

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

    ~OrgKdeKdeconnectDeviceBatteryInterface();

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

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

Q_SIGNALS: // SIGNALS
    void chargeChanged(int charge);
    void stateChanged(bool charging);
};

#endif
