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 <QDBusAbstractInterface>
15#include <QDBusConnection>
16#include <QDBusReply>
17#include <QList>
18#include <QMap>
19#include <QObject>
20#include <QString>
21#include <QStringList>
22#include <QVariant>
23
24/*
25 * Proxy class for interface org.freedesktop.Avahi.EntryGroup
26 */
27class OrgFreedesktopAvahiEntryGroupInterface : public QDBusAbstractInterface
28{
30public:
31 static inline const char *staticInterfaceName()
32 {
33 return "org.freedesktop.Avahi.EntryGroup";
34 }
35
36public:
37 OrgFreedesktopAvahiEntryGroupInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
38
39 ~OrgFreedesktopAvahiEntryGroupInterface() override;
40
41public Q_SLOTS: // METHODS
42 inline QDBusReply<void> AddAddress(int interface, int protocol, uint flags, const QString &name, const QString &address)
43 {
44 QList<QVariant> argumentList;
45 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name)
46 << QVariant::fromValue(address);
47 return callWithArgumentList(QDBus::Block, QLatin1String("AddAddress"), argumentList);
48 }
49
50 inline QDBusReply<void>
51 AddRecord(int interface, int protocol, uint flags, const QString &name, ushort clazz, ushort type, uint ttl, const QByteArray &rdata)
52 {
53 QList<QVariant> argumentList;
54 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name)
56 return callWithArgumentList(QDBus::Block, QLatin1String("AddRecord"), argumentList);
57 }
58
59 inline QDBusReply<void> AddService(int interface,
60 int protocol,
61 uint flags,
62 const QString &name,
63 const QString &type,
64 const QString &domain,
65 const QString &host,
66 ushort port,
67 const QList<QByteArray> &txt)
68 {
69 QList<QVariant> argumentList;
70 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name)
72 << QVariant::fromValue(txt);
73 return callWithArgumentList(QDBus::Block, QLatin1String("AddService"), argumentList);
74 }
75
76 inline QDBusReply<void>
77 AddServiceSubtype(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QString &subtype)
78 {
79 QList<QVariant> argumentList;
80 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name)
81 << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(subtype);
82 return callWithArgumentList(QDBus::Block, QLatin1String("AddServiceSubtype"), argumentList);
83 }
84
85 inline QDBusReply<void> Commit()
86 {
87 QList<QVariant> argumentList;
88 return callWithArgumentList(QDBus::Block, QLatin1String("Commit"), argumentList);
89 }
90
91 inline QDBusReply<void> Free()
92 {
93 QList<QVariant> argumentList;
94 return callWithArgumentList(QDBus::Block, QLatin1String("Free"), argumentList);
95 }
96
97 inline QDBusReply<int> GetState()
98 {
99 QList<QVariant> argumentList;
100 return callWithArgumentList(QDBus::Block, QLatin1String("GetState"), argumentList);
101 }
102
103 inline QDBusReply<bool> IsEmpty()
104 {
105 QList<QVariant> argumentList;
106 return callWithArgumentList(QDBus::Block, QLatin1String("IsEmpty"), argumentList);
107 }
108
109 inline QDBusReply<void> Reset()
110 {
111 QList<QVariant> argumentList;
112 return callWithArgumentList(QDBus::Block, QLatin1String("Reset"), argumentList);
113 }
114
115 inline QDBusReply<void>
116 UpdateServiceTxt(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QList<QByteArray> &txt)
117 {
118 QList<QVariant> argumentList;
119 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name)
121 return callWithArgumentList(QDBus::Block, QLatin1String("UpdateServiceTxt"), argumentList);
122 }
123
124Q_SIGNALS: // SIGNALS
125 void StateChanged(int state, const QString &error);
126};
127
128namespace org
129{
130namespace freedesktop
131{
132namespace Avahi
133{
134typedef ::OrgFreedesktopAvahiEntryGroupInterface EntryGroup;
135}
136}
137}
138#endif
QDBusMessage callWithArgumentList(QDBus::CallMode mode, const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const const
QString interface() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.