.TH "KListViewItem" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KListViewItem \- A listview item with support for alternate background colours. listview item with alternate background colour support.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <klistview.h>\fP
.PP
Inherits \fBQListViewItem\fP.
.PP
Inherited by \fBKFileListViewItem\fP, \fBKFileTreeViewItem\fP, and KKeyChooserItem.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListView\fP *\fBparent\fP)"
.br
.RI "\fIconstructors. \fP"
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListViewItem\fP *\fBparent\fP)"
.br
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListView\fP *\fBparent\fP, \fBQListViewItem\fP *after)"
.br
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListViewItem\fP *\fBparent\fP, \fBQListViewItem\fP *after)"
.br
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListView\fP *\fBparent\fP, \fBQString\fP, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null)"
.br
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListViewItem\fP *\fBparent\fP, \fBQString\fP, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null)"
.br
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListView\fP *\fBparent\fP, \fBQListViewItem\fP *after, \fBQString\fP, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null)"
.br
.ti -1c
.RI "\fBKListViewItem\fP (\fBQListViewItem\fP *\fBparent\fP, \fBQListViewItem\fP *after, \fBQString\fP, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null, \fBQString\fP=QString::null)"
.br
.ti -1c
.RI "bool \fBisAlternate\fP ()"
.br
.RI "\fIreturns true if this item is to be drawn with the alternate background \fP"
.ti -1c
.RI "const  \fBQColor\fP & \fBbackgroundColor\fP ()"
.br
.RI "\fIreturns the background colour for this item \fP"
.ti -1c
.RI "virtual void \fBpaintCell\fP (\fBQPainter\fP *p, const  \fBQColorGroup\fP &cg, int column, int \fBwidth\fP, int alignment)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A listview item with support for alternate background colours. listview item with alternate background colour support. 

It is a drop-in replacement for \fBQListViewItem\fP
.PP
Definition at line 911 of file klistview.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KListViewItem::KListViewItem (\fBQListView\fP * parent)"
.PP
constructors. The semantics remain as in \fBQListViewItem\fP. Although they accept a \fBQListViewItem\fP as parent, please don't mix KListViewItem (or subclasses) with \fBQListViewItem\fP (or subclasses). Definition at line 1978 of file klistview.cpp.
.SH "Member Function Documentation"
.PP 
.SS "bool KListViewItem::isAlternate ()"
.PP
returns true if this item is to be drawn with the alternate background Definition at line 2052 of file klistview.cpp.
.PP
References KListView::alternateBackground(), KListView::d, QListView::firstChild(), QColor::isValid(), QListViewItem::itemAbove(), QListViewItem::itemBelow(), QListViewItem::listView(), m_known, m_odd, QListViewItem::nextSibling(), and QListViewItem::parent().
.PP
Referenced by backgroundColor().
.SS "const  \fBQColor\fP & KListViewItem::backgroundColor ()"
.PP
returns the background colour for this item Definition at line 2045 of file klistview.cpp.
.PP
References isAlternate(), and QListViewItem::listView().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
