File indexing completed on 2024-12-08 03:44:12
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.8 0003 * Command line was: 0004 * 0005 * qdbusxml2cpp is Copyright (C) 2016 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 AGENTMANAGERINTERFACE_H 0012 #define AGENTMANAGERINTERFACE_H 0013 0014 #include "generictypes.h" 0015 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.NetworkManager.AgentManager 0025 */ 0026 class OrgFreedesktopNetworkManagerAgentManagerInterface : public QDBusAbstractInterface 0027 { 0028 Q_OBJECT 0029 public: 0030 static inline const char *staticInterfaceName() 0031 #ifdef NMQT_STATIC 0032 { 0033 return "org.kde.fakenetwork.AgentManager"; 0034 } 0035 #else 0036 { 0037 return "org.freedesktop.NetworkManager.AgentManager"; 0038 } 0039 #endif 0040 0041 public: 0042 OrgFreedesktopNetworkManagerAgentManagerInterface(const QString &service, 0043 const QString &path, 0044 const QDBusConnection &connection, 0045 QObject *parent = nullptr); 0046 0047 ~OrgFreedesktopNetworkManagerAgentManagerInterface() override; 0048 0049 public Q_SLOTS: // METHODS 0050 inline QDBusPendingReply<> Register(const QString &identifier) 0051 { 0052 QList<QVariant> argumentList; 0053 argumentList << QVariant::fromValue(identifier); 0054 return asyncCallWithArgumentList(QStringLiteral("Register"), argumentList); 0055 } 0056 0057 inline QDBusPendingReply<> RegisterWithCapabilities(const QString &identifier, uint capabilities) 0058 { 0059 QList<QVariant> argumentList; 0060 argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(capabilities); 0061 return asyncCallWithArgumentList(QStringLiteral("RegisterWithCapabilities"), argumentList); 0062 } 0063 0064 inline QDBusPendingReply<> Unregister() 0065 { 0066 QList<QVariant> argumentList; 0067 return asyncCallWithArgumentList(QStringLiteral("Unregister"), argumentList); 0068 } 0069 0070 Q_SIGNALS: // SIGNALS 0071 }; 0072 0073 #endif