DNSSD
DNSSD::DomainBrowser Class Reference
Class used to provide current list of domains for browsing. More...
#include <domainbrowser.h>
Inheritance diagram for DNSSD::DomainBrowser:

Signals | |
| void | domainAdded (const QString &) |
| void | domainRemoved (const QString &) |
Public Member Functions | |
| DomainBrowser (const QStringList &domains, bool recursive=false, QObject *parent=0) | |
| DomainBrowser (QObject *parent=0) | |
| const QStringList & | domains () const |
| bool | isRunning () const |
| void | startBrowse () |
| ~DomainBrowser () | |
Protected Member Functions | |
| virtual void | virtual_hook (int, void *) |
Detailed Description
Class used to provide current list of domains for browsing.
Definition at line 41 of file domainbrowser.h.
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 60 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 72 of file domainbrowser.cpp.
| DNSSD::DomainBrowser::~DomainBrowser | ( | ) |
Definition at line 80 of file domainbrowser.cpp.
Member Function Documentation
| void DNSSD::DomainBrowser::domainAdded | ( | const QString & | ) | [signal] |
New domain has been discovered.
Also emitted for domain specified in constructor and in global configuration
| void DNSSD::DomainBrowser::domainRemoved | ( | const QString & | ) | [signal] |
Emitted when domain has been removed from browsing list.
| const QStringList & DNSSD::DomainBrowser::domains | ( | ) | const |
| bool DNSSD::DomainBrowser::isRunning | ( | ) | const |
| void DNSSD::DomainBrowser::startBrowse | ( | ) |
| void DNSSD::DomainBrowser::virtual_hook | ( | int | , | |
| void * | ||||
| ) | [protected, virtual] |
Definition at line 147 of file domainbrowser.cpp.
The documentation for this class was generated from the following files:
KDE 3.5 API Reference