/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -N -i geocluetypes.h -p client_interface.h: /scratch/mhatle/git/internal/rel-v2020.1/build/binary-distro/zynqmp-genericcg/work/aarch64-xilinx-linux/qtlocation/5.13.2+gitAUTOINC+b8cc5f3ae5_4b85252fbe-r0/git/src/plugins/position/geoclue2/org.freedesktop.GeoClue2.Client.xml
 *
 * qdbusxml2cpp is Copyright (C) 2019 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef CLIENT_INTERFACE_H
#define CLIENT_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>
#include "geocluetypes.h"

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

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

    ~OrgFreedesktopGeoClue2ClientInterface();

    Q_PROPERTY(bool Active READ active)
    inline bool active() const
    { return qvariant_cast< bool >(property("Active")); }

    Q_PROPERTY(QString DesktopId READ desktopId WRITE setDesktopId)
    inline QString desktopId() const
    { return qvariant_cast< QString >(property("DesktopId")); }
    inline void setDesktopId(const QString &value)
    { setProperty("DesktopId", QVariant::fromValue(value)); }

    Q_PROPERTY(uint DistanceThreshold READ distanceThreshold WRITE setDistanceThreshold)
    inline uint distanceThreshold() const
    { return qvariant_cast< uint >(property("DistanceThreshold")); }
    inline void setDistanceThreshold(uint value)
    { setProperty("DistanceThreshold", QVariant::fromValue(value)); }

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

    Q_PROPERTY(uint RequestedAccuracyLevel READ requestedAccuracyLevel WRITE setRequestedAccuracyLevel)
    inline uint requestedAccuracyLevel() const
    { return qvariant_cast< uint >(property("RequestedAccuracyLevel")); }
    inline void setRequestedAccuracyLevel(uint value)
    { setProperty("RequestedAccuracyLevel", QVariant::fromValue(value)); }

    Q_PROPERTY(uint TimeThreshold READ timeThreshold WRITE setTimeThreshold)
    inline uint timeThreshold() const
    { return qvariant_cast< uint >(property("TimeThreshold")); }
    inline void setTimeThreshold(uint value)
    { setProperty("TimeThreshold", QVariant::fromValue(value)); }

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

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

Q_SIGNALS: // SIGNALS
    void LocationUpdated(const QDBusObjectPath &oldLocation, const QDBusObjectPath &newLocation);
};

#endif
