.PP
.TH "DNSSD::DomainBrowser" kde3 "11 Jun 2005" "Version Version 3.4.1" "dnssd Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DNSSD::DomainBrowser \- Class used to provide current list of domains for browsing.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <domainbrowser.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBdomainRemoved\fP (const \fBQString\fP &)"
.br
.ti -1c
.RI "void \fBdomainAdded\fP (const \fBQString\fP &)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBDomainBrowser\fP (\fBQObject\fP *\fBparent\fP=0)"
.br
.ti -1c
.RI "\fBDomainBrowser\fP (const \fBQStringList\fP &domains, bool recursive=false, \fBQObject\fP *\fBparent\fP=0)"
.br
.ti -1c
.RI "const \fBQStringList\fP & \fBdomains\fP () const "
.br
.ti -1c
.RI "void \fBstartBrowse\fP ()"
.br
.ti -1c
.RI "bool \fBisRunning\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int, void *)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Class used to provide current list of domains for browsing. 

\fBAuthor:\fP
.RS 4
Jakub Stachowski 
.RE
.PP

.PP
Definition at line 41 of file domainbrowser.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "DNSSD::DomainBrowser::DomainBrowser (\fBQObject\fP * parent = \fC0\fP)"
.PP
Standard constructor. 
.PP
It takes all parameters from global configuration. All changes in configuration are applied immediately. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP Parent object.
.RE
.PP

.PP
Definition at line 40 of file domainbrowser.cpp.
.PP
References QObject::connect().
.SS "DNSSD::DomainBrowser::DomainBrowser (const \fBQStringList\fP & domains, bool recursive = \fCfalse\fP, \fBQObject\fP * parent = \fC0\fP)"
.PP
Constructor that creates browser for domain list. 
.PP
This does not use global configuration at all. 
.PP
\fBParameters:\fP
.RS 4
\fIdomains\fP List of domains 
.br
\fIrecursive\fP TRUE - specified domains will be recursively browsed to discover more domains. This means that every domain (specified in constructor, or found by query) will be queried for list of more browsing domains. 
.br
\fIparent\fP Parent object. This process is recursive.
.RE
.PP

.PP
Definition at line 52 of file domainbrowser.cpp.
.PP
References domains().
.SH "Member Function Documentation"
.PP 
.SS "const \fBQStringList\fP & DNSSD::DomainBrowser::domains () const"
.PP
Current list of domains to browse. 
.PP

.PP
Definition at line 134 of file domainbrowser.cpp.
.PP
Referenced by DomainBrowser().
.SS "void DNSSD::DomainBrowser::startBrowse ()"
.PP
Starts browsing. 
.PP
To stop destroy this object.
.PP
Definition at line 68 of file domainbrowser.cpp.
.PP
References QObject::connect(), domainAdded(), and DNSSD::Query::startQuery().
.SS "bool DNSSD::DomainBrowser::isRunning () const"
.PP
Returns true when browse has already started. 
.PP
Definition at line 139 of file domainbrowser.cpp.
.SS "void DNSSD::DomainBrowser::domainRemoved (const \fBQString\fP &)\fC [signal]\fP"
.PP
Emitted when domain has been removed from browsing list. 
.PP
.SS "void DNSSD::DomainBrowser::domainAdded (const \fBQString\fP &)\fC [signal]\fP"
.PP
New domain has been discovered. 
.PP
Also emitted for domain specified in constructor and in global configuration
.PP
Referenced by startBrowse().

.SH "Author"
.PP 
Generated automatically by Doxygen for dnssd Library from the source code.
