DNSSD
servicemodel.cpp
Go to the documentation of this file.
QString i18n(const char *text)
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: servicemodel.cpp:55
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: servicemodel.cpp:78
void layoutChanged()
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: servicemodel.cpp:97
virtual bool hasIndex(int row, int column, const QModelIndex &parent) const
Definition: servicemodel.cpp:70
Browses for network services advertised over DNS-SD.
Definition: servicebrowser.h:64
bool isValid() const
Definition: servicemodel.h:86
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: servicemodel.cpp:65
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: servicemodel.cpp:51
ServiceModel(ServiceBrowser *browser, QObject *parent=0)
Creates a model for the given service browser and starts browsing for services.
Definition: servicemodel.cpp:34
int row() const
QModelIndex parent() const
QModelIndex createIndex(int row, int column, void *ptr) const
gets a RemoteService::Ptr for the service
Definition: servicemodel.h:74
void setParent(QObject *parent)
void setValue(const T &value)
int column() const
Definition: servicemodel.h:85
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.