/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -N -m -p daemoninterface /tmp/kde-build/extragear/kdeconnect-kde-0.8/build/core/org.kde.kdeconnect.daemon.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef DAEMONINTERFACE_H_1447978174
#define DAEMONINTERFACE_H_1447978174

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

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

    ~OrgKdeKdeconnectDaemonInterface();

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

    inline QDBusPendingReply<QStringList> devices(bool onlyReachable)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(onlyReachable);
        return asyncCallWithArgumentList(QLatin1String("devices"), argumentList);
    }

    inline QDBusPendingReply<QStringList> devices(bool onlyReachable, bool onlyVisible)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(onlyReachable) << QVariant::fromValue(onlyVisible);
        return asyncCallWithArgumentList(QLatin1String("devices"), argumentList);
    }

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

    inline QDBusPendingReply<> setDiscoveryEnabled(bool b)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(b);
        return asyncCallWithArgumentList(QLatin1String("setDiscoveryEnabled"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void deviceAdded(const QString &id);
    void deviceRemoved(const QString &id);
    void deviceVisibilityChanged(const QString &id, bool isVisible);
};

#endif
