1 /* 2 * This file was generated by dbusxml2cpp version 0.6 3 * Command line was: dbusxml2cpp -m -p avahi_entrygroup_interface /home/qba/src/kdelibs/dnssd/org.freedesktop.Avahi.EntryGroup.xml 4 * 5 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved. 6 * 7 * This is an auto-generated file. 8 * Do not edit! All changes made to it will be lost. 9 */ 10 11 #ifndef AVAHI_ENTRYGROUP_INTERFACE_H_1175536773 12 #define AVAHI_ENTRYGROUP_INTERFACE_H_1175536773 13 14 #include <QByteRef> 15 #include <QDBusAbstractInterface> 16 #include <QDBusConnection> 17 #include <QDBusReply> 18 #include <QList> 19 #include <QMap> 20 #include <QObject> 21 #include <QString> 22 #include <QStringList> 23 #include <QVariant> 24 25 /* 26 * Proxy class for interface org.freedesktop.Avahi.EntryGroup 27 */ 28 class OrgFreedesktopAvahiEntryGroupInterface : public QDBusAbstractInterface 29 { 30 Q_OBJECT 31 public: staticInterfaceName()32 static inline const char *staticInterfaceName() 33 { 34 return "org.freedesktop.Avahi.EntryGroup"; 35 } 36 37 public: 38 OrgFreedesktopAvahiEntryGroupInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 39 40 ~OrgFreedesktopAvahiEntryGroupInterface() override; 41 42 public Q_SLOTS: // METHODS AddAddress(int interface,int protocol,uint flags,const QString & name,const QString & address)43 inline QDBusReply<void> AddAddress(int interface, int protocol, uint flags, const QString &name, const QString &address) 44 { 45 QList<QVariant> argumentList; 46 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 47 << QVariant::fromValue(address); 48 return callWithArgumentList(QDBus::Block, QLatin1String("AddAddress"), argumentList); 49 } 50 51 inline QDBusReply<void> AddRecord(int interface,int protocol,uint flags,const QString & name,ushort clazz,ushort type,uint ttl,const QByteArray & rdata)52 AddRecord(int interface, int protocol, uint flags, const QString &name, ushort clazz, ushort type, uint ttl, const QByteArray &rdata) 53 { 54 QList<QVariant> argumentList; 55 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 56 << QVariant::fromValue(clazz) << QVariant::fromValue(type) << QVariant::fromValue(ttl) << QVariant::fromValue(rdata); 57 return callWithArgumentList(QDBus::Block, QLatin1String("AddRecord"), argumentList); 58 } 59 AddService(int interface,int protocol,uint flags,const QString & name,const QString & type,const QString & domain,const QString & host,ushort port,const QList<QByteArray> & txt)60 inline QDBusReply<void> AddService(int interface, 61 int protocol, 62 uint flags, 63 const QString &name, 64 const QString &type, 65 const QString &domain, 66 const QString &host, 67 ushort port, 68 const QList<QByteArray> &txt) 69 { 70 QList<QVariant> argumentList; 71 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 72 << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(host) << QVariant::fromValue(port) 73 << QVariant::fromValue(txt); 74 return callWithArgumentList(QDBus::Block, QLatin1String("AddService"), argumentList); 75 } 76 77 inline QDBusReply<void> AddServiceSubtype(int interface,int protocol,uint flags,const QString & name,const QString & type,const QString & domain,const QString & subtype)78 AddServiceSubtype(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QString &subtype) 79 { 80 QList<QVariant> argumentList; 81 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 82 << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(subtype); 83 return callWithArgumentList(QDBus::Block, QLatin1String("AddServiceSubtype"), argumentList); 84 } 85 Commit()86 inline QDBusReply<void> Commit() 87 { 88 QList<QVariant> argumentList; 89 return callWithArgumentList(QDBus::Block, QLatin1String("Commit"), argumentList); 90 } 91 Free()92 inline QDBusReply<void> Free() 93 { 94 QList<QVariant> argumentList; 95 return callWithArgumentList(QDBus::Block, QLatin1String("Free"), argumentList); 96 } 97 GetState()98 inline QDBusReply<int> GetState() 99 { 100 QList<QVariant> argumentList; 101 return callWithArgumentList(QDBus::Block, QLatin1String("GetState"), argumentList); 102 } 103 IsEmpty()104 inline QDBusReply<bool> IsEmpty() 105 { 106 QList<QVariant> argumentList; 107 return callWithArgumentList(QDBus::Block, QLatin1String("IsEmpty"), argumentList); 108 } 109 Reset()110 inline QDBusReply<void> Reset() 111 { 112 QList<QVariant> argumentList; 113 return callWithArgumentList(QDBus::Block, QLatin1String("Reset"), argumentList); 114 } 115 116 inline QDBusReply<void> UpdateServiceTxt(int interface,int protocol,uint flags,const QString & name,const QString & type,const QString & domain,const QList<QByteArray> & txt)117 UpdateServiceTxt(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QList<QByteArray> &txt) 118 { 119 QList<QVariant> argumentList; 120 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 121 << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(txt); 122 return callWithArgumentList(QDBus::Block, QLatin1String("UpdateServiceTxt"), argumentList); 123 } 124 125 Q_SIGNALS: // SIGNALS 126 void StateChanged(int state, const QString &error); 127 }; 128 129 namespace org 130 { 131 namespace freedesktop 132 { 133 namespace Avahi 134 { 135 typedef ::OrgFreedesktopAvahiEntryGroupInterface EntryGroup; 136 } 137 } 138 } 139 #endif 140