|
| 1 | +/* |
| 2 | + * This file was generated by qdbusxml2cpp version 0.8 |
| 3 | + * Command line was: qdbusxml2cpp ./qt5platform-plugins/misc/org.freedesktop.DBus.xml -a ./qt5platform-plugins/toolGenerate/qdbusxml2cpp/org.freedesktop.DBusAdaptor -i ./qt5platform-plugins/toolGenerate/qdbusxml2cpp/org.freedesktop.DBus.h |
| 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 | +#include "./qt5platform-plugins/toolGenerate/qdbusxml2cpp/org.freedesktop.DBusAdaptor.h" |
| 12 | +#include <QtCore/QMetaObject> |
| 13 | +#include <QtCore/QByteArray> |
| 14 | +#include <QtCore/QList> |
| 15 | +#include <QtCore/QMap> |
| 16 | +#include <QtCore/QString> |
| 17 | +#include <QtCore/QStringList> |
| 18 | +#include <QtCore/QVariant> |
| 19 | + |
| 20 | +/* |
| 21 | + * Implementation of adaptor class DBusAdaptor |
| 22 | + */ |
| 23 | + |
| 24 | +DBusAdaptor::DBusAdaptor(QObject *parent) |
| 25 | + : QDBusAbstractAdaptor(parent) |
| 26 | +{ |
| 27 | + // constructor |
| 28 | + setAutoRelaySignals(true); |
| 29 | +} |
| 30 | + |
| 31 | +DBusAdaptor::~DBusAdaptor() |
| 32 | +{ |
| 33 | + // destructor |
| 34 | +} |
| 35 | + |
| 36 | +void DBusAdaptor::AddMatch(const QString &in0) |
| 37 | +{ |
| 38 | + // handle method call org.freedesktop.DBus.AddMatch |
| 39 | + QMetaObject::invokeMethod(parent(), "AddMatch", Q_ARG(QString, in0)); |
| 40 | +} |
| 41 | + |
| 42 | +QByteArray DBusAdaptor::GetAdtAuditSessionData(const QString &in0) |
| 43 | +{ |
| 44 | + // handle method call org.freedesktop.DBus.GetAdtAuditSessionData |
| 45 | + QByteArray out0; |
| 46 | + QMetaObject::invokeMethod(parent(), "GetAdtAuditSessionData", Q_RETURN_ARG(QByteArray, out0), Q_ARG(QString, in0)); |
| 47 | + return out0; |
| 48 | +} |
| 49 | + |
| 50 | +QByteArray DBusAdaptor::GetConnectionSELinuxSecurityContext(const QString &in0) |
| 51 | +{ |
| 52 | + // handle method call org.freedesktop.DBus.GetConnectionSELinuxSecurityContext |
| 53 | + QByteArray out0; |
| 54 | + QMetaObject::invokeMethod(parent(), "GetConnectionSELinuxSecurityContext", Q_RETURN_ARG(QByteArray, out0), Q_ARG(QString, in0)); |
| 55 | + return out0; |
| 56 | +} |
| 57 | + |
| 58 | +uint DBusAdaptor::GetConnectionUnixProcessID(const QString &in0) |
| 59 | +{ |
| 60 | + // handle method call org.freedesktop.DBus.GetConnectionUnixProcessID |
| 61 | + uint out0; |
| 62 | + QMetaObject::invokeMethod(parent(), "GetConnectionUnixProcessID", Q_RETURN_ARG(uint, out0), Q_ARG(QString, in0)); |
| 63 | + return out0; |
| 64 | +} |
| 65 | + |
| 66 | +uint DBusAdaptor::GetConnectionUnixUser(const QString &in0) |
| 67 | +{ |
| 68 | + // handle method call org.freedesktop.DBus.GetConnectionUnixUser |
| 69 | + uint out0; |
| 70 | + QMetaObject::invokeMethod(parent(), "GetConnectionUnixUser", Q_RETURN_ARG(uint, out0), Q_ARG(QString, in0)); |
| 71 | + return out0; |
| 72 | +} |
| 73 | + |
| 74 | +QString DBusAdaptor::GetId() |
| 75 | +{ |
| 76 | + // handle method call org.freedesktop.DBus.GetId |
| 77 | + QString out0; |
| 78 | + QMetaObject::invokeMethod(parent(), "GetId", Q_RETURN_ARG(QString, out0)); |
| 79 | + return out0; |
| 80 | +} |
| 81 | + |
| 82 | +QString DBusAdaptor::GetNameOwner(const QString &in0) |
| 83 | +{ |
| 84 | + // handle method call org.freedesktop.DBus.GetNameOwner |
| 85 | + QString out0; |
| 86 | + QMetaObject::invokeMethod(parent(), "GetNameOwner", Q_RETURN_ARG(QString, out0), Q_ARG(QString, in0)); |
| 87 | + return out0; |
| 88 | +} |
| 89 | + |
| 90 | +QString DBusAdaptor::Hello() |
| 91 | +{ |
| 92 | + // handle method call org.freedesktop.DBus.Hello |
| 93 | + QString out0; |
| 94 | + QMetaObject::invokeMethod(parent(), "Hello", Q_RETURN_ARG(QString, out0)); |
| 95 | + return out0; |
| 96 | +} |
| 97 | + |
| 98 | +QStringList DBusAdaptor::ListActivatableNames() |
| 99 | +{ |
| 100 | + // handle method call org.freedesktop.DBus.ListActivatableNames |
| 101 | + QStringList out0; |
| 102 | + QMetaObject::invokeMethod(parent(), "ListActivatableNames", Q_RETURN_ARG(QStringList, out0)); |
| 103 | + return out0; |
| 104 | +} |
| 105 | + |
| 106 | +QStringList DBusAdaptor::ListNames() |
| 107 | +{ |
| 108 | + // handle method call org.freedesktop.DBus.ListNames |
| 109 | + QStringList out0; |
| 110 | + QMetaObject::invokeMethod(parent(), "ListNames", Q_RETURN_ARG(QStringList, out0)); |
| 111 | + return out0; |
| 112 | +} |
| 113 | + |
| 114 | +QStringList DBusAdaptor::ListQueuedOwners(const QString &in0) |
| 115 | +{ |
| 116 | + // handle method call org.freedesktop.DBus.ListQueuedOwners |
| 117 | + QStringList out0; |
| 118 | + QMetaObject::invokeMethod(parent(), "ListQueuedOwners", Q_RETURN_ARG(QStringList, out0), Q_ARG(QString, in0)); |
| 119 | + return out0; |
| 120 | +} |
| 121 | + |
| 122 | +bool DBusAdaptor::NameHasOwner(const QString &in0) |
| 123 | +{ |
| 124 | + // handle method call org.freedesktop.DBus.NameHasOwner |
| 125 | + bool out0; |
| 126 | + QMetaObject::invokeMethod(parent(), "NameHasOwner", Q_RETURN_ARG(bool, out0), Q_ARG(QString, in0)); |
| 127 | + return out0; |
| 128 | +} |
| 129 | + |
| 130 | +uint DBusAdaptor::ReleaseName(const QString &in0) |
| 131 | +{ |
| 132 | + // handle method call org.freedesktop.DBus.ReleaseName |
| 133 | + uint out0; |
| 134 | + QMetaObject::invokeMethod(parent(), "ReleaseName", Q_RETURN_ARG(uint, out0), Q_ARG(QString, in0)); |
| 135 | + return out0; |
| 136 | +} |
| 137 | + |
| 138 | +void DBusAdaptor::ReloadConfig() |
| 139 | +{ |
| 140 | + // handle method call org.freedesktop.DBus.ReloadConfig |
| 141 | + QMetaObject::invokeMethod(parent(), "ReloadConfig"); |
| 142 | +} |
| 143 | + |
| 144 | +void DBusAdaptor::RemoveMatch(const QString &in0) |
| 145 | +{ |
| 146 | + // handle method call org.freedesktop.DBus.RemoveMatch |
| 147 | + QMetaObject::invokeMethod(parent(), "RemoveMatch", Q_ARG(QString, in0)); |
| 148 | +} |
| 149 | + |
| 150 | +uint DBusAdaptor::RequestName(const QString &in0, uint in1) |
| 151 | +{ |
| 152 | + // handle method call org.freedesktop.DBus.RequestName |
| 153 | + uint out0; |
| 154 | + QMetaObject::invokeMethod(parent(), "RequestName", Q_RETURN_ARG(uint, out0), Q_ARG(QString, in0), Q_ARG(uint, in1)); |
| 155 | + return out0; |
| 156 | +} |
| 157 | + |
| 158 | +uint DBusAdaptor::StartServiceByName(const QString &in0, uint in1) |
| 159 | +{ |
| 160 | + // handle method call org.freedesktop.DBus.StartServiceByName |
| 161 | + uint out0; |
| 162 | + QMetaObject::invokeMethod(parent(), "StartServiceByName", Q_RETURN_ARG(uint, out0), Q_ARG(QString, in0), Q_ARG(uint, in1)); |
| 163 | + return out0; |
| 164 | +} |
| 165 | + |
0 commit comments