\section{KList\-View\-Item Class Reference}
\label{classKListViewItem}\index{KListViewItem@{KListViewItem}}
A listview item with support for alternate background colours. listview item with alternate background colour support.  


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

Inheritance diagram for KList\-View\-Item:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=133pt]{classKListViewItem__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KList\-View\-Item:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classKListViewItem__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KList\-View\-Item} ({\bf QList\-View} $\ast${\bf parent})
\begin{CompactList}\small\item\em constructors. \item\end{CompactList}\item 
{\bf KList\-View\-Item} ({\bf QList\-View\-Item} $\ast${\bf parent})\label{classKListViewItem_a1}

\item 
{\bf KList\-View\-Item} ({\bf QList\-View} $\ast${\bf parent}, {\bf QList\-View\-Item} $\ast$after)\label{classKListViewItem_a2}

\item 
{\bf KList\-View\-Item} ({\bf QList\-View\-Item} $\ast${\bf parent}, {\bf QList\-View\-Item} $\ast$after)\label{classKListViewItem_a3}

\item 
{\bf KList\-View\-Item} ({\bf QList\-View} $\ast${\bf parent}, {\bf QString}, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null)\label{classKListViewItem_a4}

\item 
{\bf KList\-View\-Item} ({\bf QList\-View\-Item} $\ast${\bf parent}, {\bf QString}, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null)\label{classKListViewItem_a5}

\item 
{\bf KList\-View\-Item} ({\bf QList\-View} $\ast${\bf parent}, {\bf QList\-View\-Item} $\ast$after, {\bf QString}, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null)\label{classKListViewItem_a6}

\item 
{\bf KList\-View\-Item} ({\bf QList\-View\-Item} $\ast${\bf parent}, {\bf QList\-View\-Item} $\ast$after, {\bf QString}, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null, {\bf QString}=QString::null)\label{classKListViewItem_a7}

\item 
bool {\bf is\-Alternate} ()
\begin{CompactList}\small\item\em returns true if this item is to be drawn with the alternate background \item\end{CompactList}\item 
const  {\bf QColor} \& {\bf background\-Color} ()
\begin{CompactList}\small\item\em returns the background colour for this item \item\end{CompactList}\item 
virtual void {\bf paint\-Cell} ({\bf QPainter} $\ast$p, const  {\bf QColor\-Group} \&cg, int column, int {\bf width}, int alignment)\label{classKListViewItem_a11}

\end{CompactItemize}


\subsection{Detailed Description}
A listview item with support for alternate background colours. listview item with alternate background colour support. 

It is a drop-in replacement for {\bf QList\-View\-Item}



Definition at line 911 of file klistview.h.

\subsection{Constructor \& Destructor Documentation}
\index{KListViewItem@{KList\-View\-Item}!KListViewItem@{KListViewItem}}
\index{KListViewItem@{KListViewItem}!KListViewItem@{KList\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-View\-Item::KList\-View\-Item ({\bf QList\-View} $\ast$ {\em parent})}\label{classKListViewItem_a0}


constructors. 

The semantics remain as in {\bf QList\-View\-Item}. Although they accept a {\bf QList\-View\-Item} as parent, please don't mix KList\-View\-Item (or subclasses) with {\bf QList\-View\-Item} (or subclasses). 

Definition at line 1978 of file klistview.cpp.

\subsection{Member Function Documentation}
\index{KListViewItem@{KList\-View\-Item}!isAlternate@{isAlternate}}
\index{isAlternate@{isAlternate}!KListViewItem@{KList\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View\-Item::is\-Alternate ()}\label{classKListViewItem_a9}


returns true if this item is to be drawn with the alternate background 



Definition at line 2052 of file klistview.cpp.

References KList\-View::alternate\-Background(), KList\-View::d, QList\-View::first\-Child(), QColor::is\-Valid(), QList\-View\-Item::item\-Above(), QList\-View\-Item::item\-Below(), QList\-View\-Item::list\-View(), m\_\-known, m\_\-odd, QList\-View\-Item::next\-Sibling(), and QList\-View\-Item::parent().

Referenced by background\-Color().\index{KListViewItem@{KList\-View\-Item}!backgroundColor@{backgroundColor}}
\index{backgroundColor@{backgroundColor}!KListViewItem@{KList\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  {\bf QColor} \& KList\-View\-Item::background\-Color ()}\label{classKListViewItem_a10}


returns the background colour for this item 



Definition at line 2045 of file klistview.cpp.

References is\-Alternate(), and QList\-View\-Item::list\-View().

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