29 #ifndef BONJOURRECORD_H 30 #define BONJOURRECORD_H 32 #include <QtCore/QMetaType> 33 #include <QtCore/QString> 39 BonjourRecord(
const QString &name,
const QString ®Type,
const QString &domain)
41 , registeredType(regType)
46 BonjourRecord(
const char *name,
const char *regType,
const char *domain)
47 : serviceName(QString::fromUtf8(name))
48 , registeredType(QString::fromUtf8(regType))
49 , replyDomain(QString::fromUtf8(domain))
55 QString registeredType;
63 return serviceName == other.serviceName
64 && registeredType == other.registeredType
65 && replyDomain == other.replyDomain;
71 #endif // BONJOURRECORD_H Definition: bonjourrecord.h:35