DNSSD
Go to the documentation of this file.
21 #ifndef DNSSDSERVICEMODEL_H
22 #define DNSSDSERVICEMODEL_H
24 #include <QtCore/QAbstractItemModel>
31 struct ServiceModelPrivate;
74 ServicePtrRole = 0xA06519DE
104 virtual int columnCount(
const QModelIndex& parent = QModelIndex() )
const;
106 virtual int rowCount(
const QModelIndex& parent = QModelIndex() )
const;
108 virtual QModelIndex parent(
const QModelIndex& index )
const;
110 virtual QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex() )
const;
112 virtual QVariant data(
const QModelIndex& index,
int role = Qt::DisplayRole )
const;
114 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
116 virtual bool hasIndex(
int row,
int column,
const QModelIndex &parent)
const;
119 ServiceModelPrivate*
const d;
120 friend struct ServiceModelPrivate;
ModelColumns
The default columns for this model.
Model for list of Zeroconf services.
Browses for network services advertised over DNS-SD.
AdditionalRoles
The additional data roles provided by this model.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.