ModemManagerQt

voiceinterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p voiceinterface ./introspection/org.freedesktop.ModemManager1.Modem.Voice.xml
4 *
5 * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11#ifndef VOICEINTERFACE_H
12#define VOICEINTERFACE_H
13
14#include "generictypes.h"
15#include <QDBusAbstractInterface>
16#include <QDBusPendingReply>
17#include <QList>
18#include <QObject>
19#include <QString>
20#include <QVariant>
21
22/*
23 * Proxy class for interface org.freedesktop.ModemManager1.Modem.Voice
24 */
25class OrgFreedesktopModemManager1ModemVoiceInterface : public QDBusAbstractInterface
26{
28public:
29 static inline const char *staticInterfaceName()
30 {
31 return "org.freedesktop.ModemManager1.Modem.Voice";
32 }
33
34public:
35 OrgFreedesktopModemManager1ModemVoiceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
36
37 ~OrgFreedesktopModemManager1ModemVoiceInterface() override;
38
39 Q_PROPERTY(QList<QDBusObjectPath> Calls READ calls)
40 inline QList<QDBusObjectPath> calls() const
41 {
42 return qvariant_cast<QList<QDBusObjectPath>>(property("Calls"));
43 }
44
45public Q_SLOTS: // METHODS
46 inline QDBusPendingReply<QDBusObjectPath> CreateCall(const QVariantMap &properties)
47 {
48 QList<QVariant> argumentList;
49 argumentList << QVariant::fromValue(properties);
50 return asyncCallWithArgumentList(QStringLiteral("CreateCall"), argumentList);
51 }
52
53 inline QDBusPendingReply<> DeleteCall(const QDBusObjectPath &path)
54 {
55 QList<QVariant> argumentList;
56 argumentList << QVariant::fromValue(path);
57 return asyncCallWithArgumentList(QStringLiteral("DeleteCall"), argumentList);
58 }
59
61 {
62 QList<QVariant> argumentList;
63 return asyncCallWithArgumentList(QStringLiteral("ListCalls"), argumentList);
64 }
65
66Q_SIGNALS: // SIGNALS
67 void CallAdded(const QDBusObjectPath &path);
68 void CallDeleted(const QDBusObjectPath &path);
69};
70
71#endif
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QVariant property(const char *name) const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.