\section{KURLPixmap\-Provider Class Reference}
\label{classKURLPixmapProvider}\index{KURLPixmapProvider@{KURLPixmapProvider}}
Implementation of {\bf KPixmap\-Provider} Resolves pixmaps for URLs.  


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

Inheritance diagram for KURLPixmap\-Provider:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=80pt]{classKURLPixmapProvider__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLPixmap\-Provider:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=80pt]{classKURLPixmapProvider__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf QPixmap} {\bf pixmap\-For} (const  {\bf QString} \&url, int size=0)
\begin{CompactList}\small\item\em Returns a pixmap for {\tt url} with size {\tt size} Uses {\bf KMime\-Type::pixmap\-For\-URL}{\rm (p.\,\pageref{classKMimeType_e0})}(). \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKURLPixmapProvider_b0}

\end{CompactItemize}


\subsection{Detailed Description}
Implementation of {\bf KPixmap\-Provider} Resolves pixmaps for URLs. 

Uses {\bf KMime\-Type::pixmap\-For\-URL}{\rm (p.\,\pageref{classKMimeType_e0})}() to resolve icons.

Instatiate this class and supply it to the desired class, e.g. \small\begin{alltt}
 {\bf KHistoryCombo} *combo = new KHistoryCombo( this );
 combo-$>$setPixmapProvider( new KURLPixmapProvider );
 [...]
 \end{alltt}\normalsize 


\begin{Desc}
\item[Author:]Carsten Pfeiffer $<${\tt pfeiffer@kde.org}$>$ \end{Desc}




Definition at line 42 of file kurlpixmapprovider.h.

\subsection{Member Function Documentation}
\index{KURLPixmapProvider@{KURLPixmap\-Provider}!pixmapFor@{pixmapFor}}
\index{pixmapFor@{pixmapFor}!KURLPixmapProvider@{KURLPixmap\-Provider}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPixmap} KURLPixmap\-Provider::pixmap\-For (const {\bf QString} \& {\em url}, int {\em size} = 0)\hspace{0.3cm}{\tt  [virtual]}}\label{classKURLPixmapProvider_a0}


Returns a pixmap for {\tt url} with size {\tt size} Uses {\bf KMime\-Type::pixmap\-For\-URL}{\rm (p.\,\pageref{classKMimeType_e0})}(). 



Implements {\bf KPixmap\-Provider}.

Definition at line 23 of file kurlpixmapprovider.cpp.

References QString::at(), KMime\-Type::pixmap\-For\-URL(), and KURL::set\-Path().

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