This file is indexed.

/usr/include/qxt/QxtZeroconf/qxtservicebrowser.h is in libqxt-dev 0.6.2-3.

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
#ifndef QXTSERVICEBROWSER_H
#define QXTSERVICEBROWSER_H

#include "qxtglobal.h"
#include <QObject>
#include <QAbstractSocket>
#include "qxtdiscoverableservicename.h"

class QxtServiceBrowserPrivate;
class QXT_ZEROCONF_EXPORT QxtServiceBrowser : public QObject, public QxtDiscoverableServiceName
{
Q_OBJECT
QXT_DECLARE_PRIVATE(QxtServiceBrowser)
public:
    QxtServiceBrowser(const QString& serviceType, QObject* parent = 0);
    QxtServiceBrowser(const QString& serviceType, QAbstractSocket::SocketType socketType, QObject* parent = 0);
    virtual ~QxtServiceBrowser();

    bool isBrowsing() const;

public slots:
    void browse(/* int iface */);
    void stopBrowsing();

public:
    QStringList serviceSubTypes() const;
    void setServiceSubTypes(const QStringList& subtypes);
    void addServiceSubType(const QString& subtype);
    void removeServiceSubType(const QString& subtype);
    bool hasServiceSubType(const QString& subtype);

Q_SIGNALS:
    void browsingFailed(int errorCode);
    void serviceAdded(const QString& serviceName, const QString& domain);
    void serviceRemoved(const QString& serviceName, const QString& domain);
};

#endif // QXTSERVICEBROWSER_H