/usr/include/qxt/QxtZeroconf/qxtdiscoverableservicename.h is in libqxt-dev 0.6.1-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #ifndef QXTDISCOVERABLESERVICENAME_H
#define QXTDISCOVERABLESERVICENAME_H
#include "qxtglobal.h"
#include <QString>
#include <QByteArray>
#include <QAbstractSocket>
class QxtDiscoverableServiceNamePrivate;
class QXT_ZEROCONF_EXPORT QxtDiscoverableServiceName
{
QXT_DECLARE_PRIVATE(QxtDiscoverableServiceName)
public:
QxtDiscoverableServiceName();
QxtDiscoverableServiceName(const QByteArray& domainName);
QxtDiscoverableServiceName(const QString& name, const QString& serviceType, const QString& domain,
QAbstractSocket::SocketType socketType = QAbstractSocket::UnknownSocketType);
QString serviceName() const;
void setServiceName(const QString& name);
QAbstractSocket::SocketType socketType() const;
void setSocketType(QAbstractSocket::SocketType type);
QString serviceType() const;
void setServiceType(const QString& type);
QByteArray fullServiceType() const;
QString domain() const;
void setDomain(const QString& domain);
QString host() const;
void setHost(const QString& host);
QByteArray escapedFullDomainName() const;
//mDNS stuff
static int lookupHost(const QString name, QObject* receiver, const char* member);
static void abortHostLookup(int id);
};
#endif // QXTDISCOVERABLESERVICENAME_H
|