KDNSSD

avahi_entrygroup_interface.h
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 <QObject>
15 #include <QByteRef>
16 #include <QList>
17 #include <QMap>
18 #include <QString>
19 #include <QStringList>
20 #include <QVariant>
21 #include <QDBusConnection>
22 #include <QDBusAbstractInterface>
23 #include <QDBusReply>
24 
25 /*
26  * Proxy class for interface org.freedesktop.Avahi.EntryGroup
27  */
28 class OrgFreedesktopAvahiEntryGroupInterface: public QDBusAbstractInterface
29 {
30  Q_OBJECT
31 public:
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();
41 
42 public Q_SLOTS: // METHODS
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) << QVariant::fromValue(address);
47  return callWithArgumentList(QDBus::Block, QLatin1String("AddAddress"), argumentList);
48  }
49 
50  inline QDBusReply<void> AddRecord(int interface, int protocol, uint flags, const QString &name, ushort clazz, ushort type, uint ttl, const QByteArray &rdata)
51  {
52  QList<QVariant> argumentList;
53  argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) << QVariant::fromValue(clazz) << QVariant::fromValue(type) << QVariant::fromValue(ttl) << QVariant::fromValue(rdata);
54  return callWithArgumentList(QDBus::Block, QLatin1String("AddRecord"), argumentList);
55  }
56 
57  inline QDBusReply<void> 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)
58  {
59  QList<QVariant> argumentList;
60  argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(host) << QVariant::fromValue(port) << QVariant::fromValue(txt);
61  return callWithArgumentList(QDBus::Block, QLatin1String("AddService"), argumentList);
62  }
63 
64  inline QDBusReply<void> AddServiceSubtype(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QString &subtype)
65  {
66  QList<QVariant> argumentList;
67  argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(subtype);
68  return callWithArgumentList(QDBus::Block, QLatin1String("AddServiceSubtype"), argumentList);
69  }
70 
71  inline QDBusReply<void> Commit()
72  {
73  QList<QVariant> argumentList;
74  return callWithArgumentList(QDBus::Block, QLatin1String("Commit"), argumentList);
75  }
76 
77  inline QDBusReply<void> Free()
78  {
79  QList<QVariant> argumentList;
80  return callWithArgumentList(QDBus::Block, QLatin1String("Free"), argumentList);
81  }
82 
83  inline QDBusReply<int> GetState()
84  {
85  QList<QVariant> argumentList;
86  return callWithArgumentList(QDBus::Block, QLatin1String("GetState"), argumentList);
87  }
88 
89  inline QDBusReply<bool> IsEmpty()
90  {
91  QList<QVariant> argumentList;
92  return callWithArgumentList(QDBus::Block, QLatin1String("IsEmpty"), argumentList);
93  }
94 
95  inline QDBusReply<void> Reset()
96  {
97  QList<QVariant> argumentList;
98  return callWithArgumentList(QDBus::Block, QLatin1String("Reset"), argumentList);
99  }
100 
101  inline QDBusReply<void> UpdateServiceTxt(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QList<QByteArray> &txt)
102  {
103  QList<QVariant> argumentList;
104  argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(txt);
105  return callWithArgumentList(QDBus::Block, QLatin1String("UpdateServiceTxt"), argumentList);
106  }
107 
108 Q_SIGNALS: // SIGNALS
109  void StateChanged(int state, const QString &error);
110 };
111 
112 namespace org
113 {
114 namespace freedesktop
115 {
116 namespace Avahi
117 {
118 typedef ::OrgFreedesktopAvahiEntryGroupInterface EntryGroup;
119 }
120 }
121 }
122 #endif
Q_SIGNALSQ_SIGNALS
Q_OBJECTQ_OBJECT
QVariant fromValue(const T &value)
Q_SLOTSQ_SLOTS
QDBusMessage callWithArgumentList(QDBus::CallMode mode, const QString &method, const QList< QVariant > &args)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Nov 26 2020 22:39:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.