#include <domainbrowser.h>
Inherits TQObject.
Signals | |
void | domainRemoved (const TQString &) |
void | domainAdded (const TQString &) |
Public Member Functions | |
DomainBrowser (TQObject *parent=0) | |
DomainBrowser (const TQStringList &domains, bool recursive=false, TQObject *parent=0) | |
const TQStringList & | domains () const |
void | startBrowse () |
bool | isRunning () const |
Protected Member Functions | |
virtual void | virtual_hook (int, void *) |
Friends | |
class | DomainBrowserPrivate |
Detailed Description
Class used to provide current list of domains for browsing.
Definition at line 41 of file domainbrowser.h.
Constructor & Destructor Documentation
◆ DomainBrowser() [1/2]
DNSSD::DomainBrowser::DomainBrowser | ( | TQObject * | 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 81 of file domainbrowser.cpp.
◆ DomainBrowser() [2/2]
DNSSD::DomainBrowser::DomainBrowser | ( | const TQStringList & | domains, |
bool | recursive = false , |
||
TQObject * | 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 93 of file domainbrowser.cpp.
Member Function Documentation
◆ domainAdded
|
signal |
New domain has been discovered.
Also emitted for domain specified in constructor and in global configuration
◆ domainRemoved
|
signal |
Emitted when domain has been removed from browsing list.
◆ domains()
const TQStringList & DNSSD::DomainBrowser::domains | ( | ) | const |
Current list of domains to browse.
Definition at line 168 of file domainbrowser.cpp.
◆ isRunning()
bool DNSSD::DomainBrowser::isRunning | ( | ) | const |
Returns true when browse has already started.
Definition at line 173 of file domainbrowser.cpp.
◆ startBrowse()
void DNSSD::DomainBrowser::startBrowse | ( | ) |
The documentation for this class was generated from the following files: