class DomainModel |
|
\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 |
|
Creates model for given domain browses and starts browsing for domain. The model becomes parent of the browser so there is no need to delete it afterwards. |
|
|
|
|
|
|