File indexing completed on 2025-03-16 12:58:00
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.7 0003 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p locationinterface \ 0004 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.Location.xml 0005 * 0006 * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 0007 * 0008 * This is an auto-generated file. 0009 * Do not edit! All changes made to it will be lost. 0010 */ 0011 0012 #ifndef MODEMMANAGERQT_LOCATIONINTERFACE_H 0013 #define MODEMMANAGERQT_LOCATIONINTERFACE_H 0014 0015 #include "generictypes.h" 0016 #include <QList> 0017 #include <QObject> 0018 #include <QString> 0019 #include <QVariant> 0020 0021 /* 0022 * Proxy class for interface org.freedesktop.ModemManager1.Modem.Location 0023 */ 0024 class OrgFreedesktopModemManager1ModemLocationInterface : public QDBusAbstractInterface 0025 { 0026 Q_OBJECT 0027 public: 0028 static inline const char *staticInterfaceName() 0029 #ifdef MMQT_STATIC 0030 { 0031 return "org.kde.fakemodem.Modem.Location"; 0032 } 0033 #else 0034 { 0035 return "org.freedesktop.ModemManager1.Modem.Location"; 0036 } 0037 #endif 0038 public: 0039 OrgFreedesktopModemManager1ModemLocationInterface(const QString &service, 0040 const QString &path, 0041 const QDBusConnection &connection, 0042 QObject *parent = nullptr); 0043 0044 ~OrgFreedesktopModemManager1ModemLocationInterface() override; 0045 0046 Q_PROPERTY(uint Capabilities READ capabilities) 0047 inline uint capabilities() const 0048 { 0049 return qvariant_cast<uint>(property("Capabilities")); 0050 } 0051 0052 Q_PROPERTY(uint Enabled READ enabled) 0053 inline uint enabled() const 0054 { 0055 return qvariant_cast<uint>(property("Enabled")); 0056 } 0057 0058 Q_PROPERTY(ModemManager::LocationInformationMap Location READ location) 0059 inline ModemManager::LocationInformationMap location() const 0060 { 0061 return qvariant_cast<ModemManager::LocationInformationMap>(property("Location")); 0062 } 0063 0064 Q_PROPERTY(bool SignalsLocation READ signalsLocation) 0065 inline bool signalsLocation() const 0066 { 0067 return qvariant_cast<bool>(property("SignalsLocation")); 0068 } 0069 0070 public Q_SLOTS: // METHODS 0071 inline QDBusPendingReply<ModemManager::LocationInformationMap> GetLocation() 0072 { 0073 QList<QVariant> argumentList; 0074 return asyncCallWithArgumentList(QLatin1String("GetLocation"), argumentList); 0075 } 0076 0077 inline QDBusPendingReply<> Setup(uint sources, bool signal_location) 0078 { 0079 QList<QVariant> argumentList; 0080 argumentList << QVariant::fromValue(sources) << QVariant::fromValue(signal_location); 0081 return asyncCallWithArgumentList(QLatin1String("Setup"), argumentList); 0082 } 0083 0084 Q_SIGNALS: // SIGNALS 0085 }; 0086 0087 #endif