File indexing completed on 2024-05-12 15:48:09

0001 /*
0002  * This file was generated by qdbusxml2cpp version 0.8
0003  * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p voiceinterface ./introspection/org.freedesktop.ModemManager1.Modem.Voice.xml
0004  *
0005  * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
0006  *
0007  * This is an auto-generated file.
0008  * Do not edit! All changes made to it will be lost.
0009  */
0010 
0011 #ifndef VOICEINTERFACE_H
0012 #define VOICEINTERFACE_H
0013 
0014 #include "generictypes.h"
0015 #include <QList>
0016 #include <QObject>
0017 #include <QString>
0018 #include <QVariant>
0019 
0020 /*
0021  * Proxy class for interface org.freedesktop.ModemManager1.Modem.Voice
0022  */
0023 class OrgFreedesktopModemManager1ModemVoiceInterface : public QDBusAbstractInterface
0024 {
0025     Q_OBJECT
0026 public:
0027     static inline const char *staticInterfaceName()
0028     {
0029         return "org.freedesktop.ModemManager1.Modem.Voice";
0030     }
0031 
0032 public:
0033     OrgFreedesktopModemManager1ModemVoiceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0034 
0035     ~OrgFreedesktopModemManager1ModemVoiceInterface() override;
0036 
0037     Q_PROPERTY(QList<QDBusObjectPath> Calls READ calls)
0038     inline QList<QDBusObjectPath> calls() const
0039     {
0040         return qvariant_cast<QList<QDBusObjectPath>>(property("Calls"));
0041     }
0042 
0043 public Q_SLOTS: // METHODS
0044     inline QDBusPendingReply<QDBusObjectPath> CreateCall(const QVariantMap &properties)
0045     {
0046         QList<QVariant> argumentList;
0047         argumentList << QVariant::fromValue(properties);
0048         return asyncCallWithArgumentList(QStringLiteral("CreateCall"), argumentList);
0049     }
0050 
0051     inline QDBusPendingReply<> DeleteCall(const QDBusObjectPath &path)
0052     {
0053         QList<QVariant> argumentList;
0054         argumentList << QVariant::fromValue(path);
0055         return asyncCallWithArgumentList(QStringLiteral("DeleteCall"), argumentList);
0056     }
0057 
0058     inline QDBusPendingReply<QList<QDBusObjectPath>> ListCalls()
0059     {
0060         QList<QVariant> argumentList;
0061         return asyncCallWithArgumentList(QStringLiteral("ListCalls"), argumentList);
0062     }
0063 
0064 Q_SIGNALS: // SIGNALS
0065     void CallAdded(const QDBusObjectPath &path);
0066     void CallDeleted(const QDBusObjectPath &path);
0067 };
0068 
0069 #endif