class DomainModel


Module dnssd
Namespace DNSSD
Class DomainModel
Inherits QAbstractItemModel
\class DomainModel domainmodel.h DNSSD/DomainModel

DomainModel implements Qt Model interface around DomainBrowser to allow easy integration of domain discovery into GUI. Example of combo box showing list of browsing domains:

DNSSD.DomainModel* m=new DomainModel(new DNSSD.DomainBrowser(DNSSD.DomainBrowser.Browsing));
QComboBox *c=new QComboBox();
c->setModel(m);

\since 4.1 Model for list of Zeroconf domains Author Jakub Stachowski



methods