\section{KPixmap\-Provider Class Reference}
\label{classKPixmapProvider}\index{KPixmapProvider@{KPixmapProvider}}
A tiny abstract class with just one method: {\bf pixmap\-For()}{\rm (p.\,\pageref{classKPixmapProvider_a1})} an abstract interface for looking up icons.  


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

Inheritance diagram for KPixmap\-Provider:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=74pt]{classKPixmapProvider__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf QPixmap} {\bf pixmap\-For} (const {\bf QString} \&text, int size=0)=0
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKPixmapProvider_b0}

\end{CompactItemize}


\subsection{Detailed Description}
A tiny abstract class with just one method: {\bf pixmap\-For()}{\rm (p.\,\pageref{classKPixmapProvider_a1})} an abstract interface for looking up icons. 

It will be called whenever an icon is searched for {\tt text}.

Used e.g. by {\bf KHistory\-Combo}

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




Definition at line 38 of file kpixmapprovider.h.

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


You may subclass this and return a pixmap of size {\tt size} for {\tt text}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]the text that is associated with the pixmap \item[{\em size}]the size of the icon in pixels, 0 for defaylt size. See KIcon::Std\-Size. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the pixmap for the arguments, or null if there is none \end{Desc}


Implemented in {\bf KURLPixmap\-Provider}.

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