DNSSD::DomainBrowser Class Reference
#include <domainbrowser.h>
Inheritance diagram for DNSSD::DomainBrowser:

Detailed Description
Class used to provide current list of domains for browsing.
Definition at line 41 of file domainbrowser.h.
Signals | |
| void | domainRemoved (const QString &) |
| void | domainAdded (const QString &) |
Public Member Functions | |
| DomainBrowser (QObject *parent=0) | |
| DomainBrowser (const QStringList &domains, bool recursive=false, QObject *parent=0) | |
| ~DomainBrowser () | |
| const QStringList & | domains () const |
| void | startBrowse () |
| bool | isRunning () const |
Protected Member Functions | |
| virtual void | virtual_hook (int, void *) |
Friends | |
| class | DomainBrowserPrivate |
Constructor & Destructor Documentation
| DNSSD::DomainBrowser::DomainBrowser | ( | QObject * | parent = 0 |
) |
Standard constructor.
It takes all parameters from global configuration. All changes in configuration are applied immediately.
- Parameters:
-
parent Parent object.
Definition at line 70 of file domainbrowser.cpp.
| DNSSD::DomainBrowser::DomainBrowser | ( | const QStringList & | domains, | |
| bool | recursive = false, |
|||
| QObject * | parent = 0 | |||
| ) |
Constructor that creates browser for domain list.
This does not use global configuration at all.
- Parameters:
-
domains List of domains recursive TRUE - additionally local network will be browsed for more domains parent Parent object. This process is recursive.
Definition at line 82 of file domainbrowser.cpp.
Member Function Documentation
| const QStringList & DNSSD::DomainBrowser::domains | ( | ) | const |
| void DNSSD::DomainBrowser::startBrowse | ( | ) |
| bool DNSSD::DomainBrowser::isRunning | ( | ) | const |
| void DNSSD::DomainBrowser::domainRemoved | ( | const QString & | ) | [signal] |
Emitted when domain has been removed from browsing list.
| void DNSSD::DomainBrowser::domainAdded | ( | const QString & | ) | [signal] |
New domain has been discovered.
Also emitted for domain specified in constructor and in global configuration
The documentation for this class was generated from the following files:

