\section{KParts::Browser\-Host\-Extension Class Reference}
\label{classKParts_1_1BrowserHostExtension}\index{KParts::BrowserHostExtension@{KParts::BrowserHostExtension}}
An extension class for container parts, i.e.  


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

Inheritance diagram for KParts::Browser\-Host\-Extension:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=98pt]{classKParts_1_1BrowserHostExtension__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KParts::Browser\-Host\-Extension:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=98pt]{classKParts_1_1BrowserHostExtension__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Browser\-Host\-Extension} ({\bf KParts::Read\-Only\-Part} $\ast${\bf parent}, const  char $\ast${\bf name}=0L)\label{classKParts_1_1BrowserHostExtension_a0}

\item 
virtual {\bf QString\-List} {\bf frame\-Names} () const 
\begin{CompactList}\small\item\em Returns a list of the names of all hosted child objects. \item\end{CompactList}\item 
virtual const  {\bf QPtr\-List}$<$ {\bf KParts::Read\-Only\-Part} $>$ {\bf frames} () const 
\begin{CompactList}\small\item\em Returns a list of pointers to all hosted child objects. \item\end{CompactList}\item 
virtual bool {\bf open\-URLIn\-Frame} (const  {\bf KURL} \&url, const  {\bf KParts::URLArgs} \&url\-Args)
\begin{CompactList}\small\item\em Opens the given url in a hosted child frame. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Browser\-Host\-Extension} $\ast$ {\bf child\-Object} ({\bf QObject} $\ast$obj)
\begin{CompactList}\small\item\em Queries {\tt obj} for a child object which inherits from this {\bf Browser\-Host\-Extension}{\rm (p.\,\pageref{classKParts_1_1BrowserHostExtension})} class. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKParts_1_1BrowserHostExtension_b0}

\end{CompactItemize}


\subsection{Detailed Description}
An extension class for container parts, i.e. 

parts that contain other parts. For instance a KHTMLPart hosts one part per frame. 



Definition at line 592 of file browserextension.h.

\subsection{Member Function Documentation}
\index{KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}!frameNames@{frameNames}}
\index{frameNames@{frameNames}!KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} Browser\-Host\-Extension::frame\-Names () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKParts_1_1BrowserHostExtension_a2}


Returns a list of the names of all hosted child objects. 

Note that this method does not query the child objects recursively. 

Definition at line 561 of file browserextension.cpp.\index{KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}!frames@{frames}}
\index{frames@{frames}!KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  {\bf QPtr\-List}$<$ {\bf KParts::Read\-Only\-Part} $>$ Browser\-Host\-Extension::frames () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKParts_1_1BrowserHostExtension_a3}


Returns a list of pointers to all hosted child objects. 

Note that this method does not query the child objects recursively. 

Definition at line 572 of file browserextension.cpp.\index{KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}!openURLInFrame@{openURLInFrame}}
\index{openURLInFrame@{openURLInFrame}!KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Browser\-Host\-Extension::open\-URLIn\-Frame (const {\bf KURL} \& {\em url}, const {\bf KParts::URLArgs} \& {\em url\-Args})\hspace{0.3cm}{\tt  [virtual]}}\label{classKParts_1_1BrowserHostExtension_a4}


Opens the given url in a hosted child frame. 

The frame name is specified in the frame\-Name variable in the url\-Args argument structure (see {\bf KParts::URLArgs}{\rm (p.\,\pageref{structKParts_1_1URLArgs})} ) . 

Definition at line 578 of file browserextension.cpp.\index{KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}!childObject@{childObject}}
\index{childObject@{childObject}!KParts::BrowserHostExtension@{KParts::Browser\-Host\-Extension}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Browser\-Host\-Extension} $\ast$ Browser\-Host\-Extension::child\-Object ({\bf QObject} $\ast$ {\em obj})\hspace{0.3cm}{\tt  [static]}}\label{classKParts_1_1BrowserHostExtension_e0}


Queries {\tt obj} for a child object which inherits from this {\bf Browser\-Host\-Extension}{\rm (p.\,\pageref{classKParts_1_1BrowserHostExtension})} class. 

Convenience method. 

Definition at line 583 of file browserextension.cpp.

References QObject::children().

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