Warning, file /frameworks/modemmanager-qt/src/dbus/messaginginterface.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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 <QList> 0018 #include <QObject> 0019 #include <QString> 0020 #include <QVariant> 0021 0022 /* 0023 * Proxy class for interface org.freedesktop.ModemManager1.Modem.Messaging 0024 */ 0025 class OrgFreedesktopModemManager1ModemMessagingInterface : public QDBusAbstractInterface 0026 { 0027 Q_OBJECT 0028 public: 0029 static inline const char *staticInterfaceName() 0030 #ifdef MMQT_STATIC 0031 { 0032 return "org.kde.fakemodem.Modem.Messaging"; 0033 } 0034 #else 0035 { 0036 return "org.freedesktop.ModemManager1.Modem.Messaging"; 0037 } 0038 #endif 0039 public: 0040 OrgFreedesktopModemManager1ModemMessagingInterface(const QString &service, 0041 const QString &path, 0042 const QDBusConnection &connection, 0043 QObject *parent = nullptr); 0044 0045 ~OrgFreedesktopModemManager1ModemMessagingInterface() override; 0046 0047 Q_PROPERTY(uint DefaultStorage READ defaultStorage) 0048 inline uint defaultStorage() const 0049 { 0050 return qvariant_cast<uint>(property("DefaultStorage")); 0051 } 0052 0053 Q_PROPERTY(QList<QDBusObjectPath> Messages READ messages) 0054 inline QList<QDBusObjectPath> messages() const 0055 { 0056 return qvariant_cast<QList<QDBusObjectPath>>(property("Messages")); 0057 } 0058 0059 Q_PROPERTY(ModemManager::UIntList SupportedStorages READ supportedStorages) 0060 inline ModemManager::UIntList supportedStorages() const 0061 { 0062 return qvariant_cast<ModemManager::UIntList>(property("SupportedStorages")); 0063 } 0064 0065 public Q_SLOTS: // METHODS 0066 inline QDBusPendingReply<QDBusObjectPath> Create(const QVariantMap &properties) 0067 { 0068 QList<QVariant> argumentList; 0069 argumentList << QVariant::fromValue(properties); 0070 return asyncCallWithArgumentList(QLatin1String("Create"), argumentList); 0071 } 0072 0073 inline QDBusPendingReply<> Delete(const QDBusObjectPath &path) 0074 { 0075 QList<QVariant> argumentList; 0076 argumentList << QVariant::fromValue(path); 0077 return asyncCallWithArgumentList(QLatin1String("Delete"), argumentList); 0078 } 0079 0080 inline QDBusPendingReply<QList<QDBusObjectPath>> List() 0081 { 0082 QList<QVariant> argumentList; 0083 return asyncCallWithArgumentList(QLatin1String("List"), argumentList); 0084 } 0085 0086 Q_SIGNALS: // SIGNALS 0087 void Added(const QDBusObjectPath &path, bool received); 0088 void Deleted(const QDBusObjectPath &path); 0089 }; 0090 0091 #endif