\section{DNSSD::Domain\-Browser Class Reference}
\label{classDNSSD_1_1DomainBrowser}\index{DNSSD::DomainBrowser@{DNSSD::DomainBrowser}}
Class used to provide current list of domains for browsing.  


{\tt \#include $<$domainbrowser.h$>$}

Inheritance diagram for DNSSD::Domain\-Browser:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=82pt]{classDNSSD_1_1DomainBrowser__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DNSSD::Domain\-Browser:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=82pt]{classDNSSD_1_1DomainBrowser__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf domain\-Removed} (const {\bf QString} \&)
\item 
void {\bf domain\-Added} (const {\bf QString} \&)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Domain\-Browser} ({\bf QObject} $\ast${\bf parent}=0)
\item 
{\bf Domain\-Browser} (const {\bf QString\-List} \&domains, bool recursive=false, {\bf QObject} $\ast${\bf parent}=0)
\item 
const {\bf QString\-List} \& {\bf domains} () const 
\item 
void {\bf start\-Browse} ()
\item 
bool {\bf is\-Running} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int, void $\ast$)\label{classDNSSD_1_1DomainBrowser_b0}

\end{CompactItemize}


\subsection{Detailed Description}
Class used to provide current list of domains for browsing. 

\begin{Desc}
\item[Author:]Jakub Stachowski \end{Desc}




Definition at line 41 of file domainbrowser.h.

\subsection{Constructor \& Destructor Documentation}
\index{DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}!DomainBrowser@{DomainBrowser}}
\index{DomainBrowser@{DomainBrowser}!DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}DNSSD::Domain\-Browser::Domain\-Browser ({\bf QObject} $\ast$ {\em parent} = {\tt 0})}\label{classDNSSD_1_1DomainBrowser_a0}


Standard constructor. 

It takes all parameters from global configuration. All changes in configuration are applied immediately. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]Parent object.\end{description}
\end{Desc}


Definition at line 40 of file domainbrowser.cpp.

References QObject::connect().\index{DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}!DomainBrowser@{DomainBrowser}}
\index{DomainBrowser@{DomainBrowser}!DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}DNSSD::Domain\-Browser::Domain\-Browser (const {\bf QString\-List} \& {\em domains}, bool {\em recursive} = {\tt false}, {\bf QObject} $\ast$ {\em parent} = {\tt 0})}\label{classDNSSD_1_1DomainBrowser_a1}


Constructor that creates browser for domain list. 

This does not use global configuration at all. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em domains}]List of domains \item[{\em recursive}]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. \item[{\em parent}]Parent object. This process is recursive.\end{description}
\end{Desc}


Definition at line 52 of file domainbrowser.cpp.

References domains().

\subsection{Member Function Documentation}
\index{DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}!domains@{domains}}
\index{domains@{domains}!DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf QString\-List} \& DNSSD::Domain\-Browser::domains () const}\label{classDNSSD_1_1DomainBrowser_a3}


Current list of domains to browse. 



Definition at line 134 of file domainbrowser.cpp.

Referenced by Domain\-Browser().\index{DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}!startBrowse@{startBrowse}}
\index{startBrowse@{startBrowse}!DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void DNSSD::Domain\-Browser::start\-Browse ()}\label{classDNSSD_1_1DomainBrowser_a4}


Starts browsing. 

To stop destroy this object.

Definition at line 68 of file domainbrowser.cpp.

References QObject::connect(), domain\-Added(), and DNSSD::Query::start\-Query().\index{DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}!isRunning@{isRunning}}
\index{isRunning@{isRunning}!DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool DNSSD::Domain\-Browser::is\-Running () const}\label{classDNSSD_1_1DomainBrowser_a5}


Returns true when browse has already started. 



Definition at line 139 of file domainbrowser.cpp.\index{DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}!domainRemoved@{domainRemoved}}
\index{domainRemoved@{domainRemoved}!DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void DNSSD::Domain\-Browser::domain\-Removed (const {\bf QString} \&)\hspace{0.3cm}{\tt  [signal]}}\label{classDNSSD_1_1DomainBrowser_l0}


Emitted when domain has been removed from browsing list. 

\index{DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}!domainAdded@{domainAdded}}
\index{domainAdded@{domainAdded}!DNSSD::DomainBrowser@{DNSSD::Domain\-Browser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void DNSSD::Domain\-Browser::domain\-Added (const {\bf QString} \&)\hspace{0.3cm}{\tt  [signal]}}\label{classDNSSD_1_1DomainBrowser_l1}


New domain has been discovered. 

Also emitted for domain specified in constructor and in global configuration

Referenced by start\-Browse().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
domainbrowser.h\item 
domainbrowser.cpp\end{CompactItemize}
