File indexing completed on 2024-04-28 03:59:48

0001 /*
0002  * This file was generated by qdbusxml2cpp version 0.7
0003  * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p modemmanager1interface \
0004  * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.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_MODEMMANAGER1INTERFACE_H
0013 #define MODEMMANAGERQT_MODEMMANAGER1INTERFACE_H
0014 
0015 #include "generictypes.h"
0016 #include <QDBusAbstractInterface>
0017 #include <QDBusPendingReply>
0018 #include <QList>
0019 #include <QObject>
0020 #include <QString>
0021 #include <QVariant>
0022 
0023 /*
0024  * Proxy class for interface org.freedesktop.ModemManager1
0025  */
0026 class OrgFreedesktopModemManager1Interface : public QDBusAbstractInterface
0027 {
0028     Q_OBJECT
0029 public:
0030     static inline const char *staticInterfaceName()
0031 #ifdef MMQT_STATIC
0032     {
0033         return "org.kde.fakemodem";
0034     }
0035 #else
0036     {
0037         return "org.freedesktop.ModemManager1";
0038     }
0039 #endif
0040 public:
0041     OrgFreedesktopModemManager1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0042 
0043     ~OrgFreedesktopModemManager1Interface() override;
0044 
0045 public Q_SLOTS: // METHODS
0046     inline QDBusPendingReply<> ScanDevices()
0047     {
0048         QList<QVariant> argumentList;
0049         return asyncCallWithArgumentList(QLatin1String("ScanDevices"), argumentList);
0050     }
0051 
0052     inline QDBusPendingReply<> SetLogging(const QString &level)
0053     {
0054         QList<QVariant> argumentList;
0055         argumentList << QVariant::fromValue(level);
0056         return asyncCallWithArgumentList(QLatin1String("SetLogging"), argumentList);
0057     }
0058 
0059 Q_SIGNALS: // SIGNALS
0060 };
0061 
0062 #endif