File indexing completed on 2025-04-20 06:47:18
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.7 0003 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p messaginginterface \ 0004 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.Messaging.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_MESSAGINGINTERFACE_H 0013 #define MODEMMANAGERQT_MESSAGINGINTERFACE_H 0014 0015 #include "generictypes.h" 0016 #include "generictypes_p.h" 0017 #include <QDBusAbstractInterface> 0018 #include <QDBusPendingReply> 0019 #include <QList> 0020 #include <QObject> 0021 #include <QString> 0022 #include <QVariant> 0023 0024 /* 0025 * Proxy class for interface org.freedesktop.ModemManager1.Modem.Messaging 0026 */ 0027 class OrgFreedesktopModemManager1ModemMessagingInterface : public QDBusAbstractInterface 0028 { 0029 Q_OBJECT 0030 public: 0031 static inline const char *staticInterfaceName() 0032 #ifdef MMQT_STATIC 0033 { 0034 return "org.kde.fakemodem.Modem.Messaging"; 0035 } 0036 #else 0037 { 0038 return "org.freedesktop.ModemManager1.Modem.Messaging"; 0039 } 0040 #endif 0041 public: 0042 OrgFreedesktopModemManager1ModemMessagingInterface(const QString &service, 0043 const QString &path, 0044 const QDBusConnection &connection, 0045 QObject *parent = nullptr); 0046 0047 ~OrgFreedesktopModemManager1ModemMessagingInterface() override; 0048 0049 Q_PROPERTY(uint DefaultStorage READ defaultStorage) 0050 inline uint defaultStorage() const 0051 { 0052 return qvariant_cast<uint>(property("DefaultStorage")); 0053 } 0054 0055 Q_PROPERTY(QList<QDBusObjectPath> Messages READ messages) 0056 inline QList<QDBusObjectPath> messages() const 0057 { 0058 return qvariant_cast<QList<QDBusObjectPath>>(property("Messages")); 0059 } 0060 0061 Q_PROPERTY(ModemManager::UIntList SupportedStorages READ supportedStorages) 0062 inline ModemManager::UIntList supportedStorages() const 0063 { 0064 return qvariant_cast<ModemManager::UIntList>(property("SupportedStorages")); 0065 } 0066 0067 public Q_SLOTS: // METHODS 0068 inline QDBusPendingReply<QDBusObjectPath> Create(const QVariantMap &properties) 0069 { 0070 QList<QVariant> argumentList; 0071 argumentList << QVariant::fromValue(properties); 0072 return asyncCallWithArgumentList(QLatin1String("Create"), argumentList); 0073 } 0074 0075 inline QDBusPendingReply<> Delete(const QDBusObjectPath &path) 0076 { 0077 QList<QVariant> argumentList; 0078 argumentList << QVariant::fromValue(path); 0079 return asyncCallWithArgumentList(QLatin1String("Delete"), argumentList); 0080 } 0081 0082 inline QDBusPendingReply<QList<QDBusObjectPath>> List() 0083 { 0084 QList<QVariant> argumentList; 0085 return asyncCallWithArgumentList(QLatin1String("List"), argumentList); 0086 } 0087 0088 Q_SIGNALS: // SIGNALS 0089 void Added(const QDBusObjectPath &path, bool received); 0090 void Deleted(const QDBusObjectPath &path); 0091 }; 0092 0093 #endif