• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

Public Member Functions | Friends
KListViewItem Class Reference

#include <klistview.h>

Inherits TQListViewItem.

Inherited by KKeyChooserItem.

List of all members.

Public Member Functions

 KListViewItem (TQListView *parent)
 KListViewItem (TQListViewItem *parent)
 KListViewItem (TQListView *parent, TQListViewItem *after)
 KListViewItem (TQListViewItem *parent, TQListViewItem *after)
 KListViewItem (TQListView *parent, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null)
 KListViewItem (TQListViewItem *parent, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null)
 KListViewItem (TQListView *parent, TQListViewItem *after, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null)
 KListViewItem (TQListViewItem *parent, TQListViewItem *after, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null)
virtual void insertItem (TQListViewItem *item)
virtual void takeItem (TQListViewItem *item)
bool isAlternate ()
const TQColor & backgroundColor () KDE_DEPRECATED
TQColor backgroundColor (int column)
virtual void paintCell (TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)

Friends

class KListView

Detailed Description

A listview item with support for alternate background colors.

It is a drop-in replacement for QListViewItem

listview item with alternate background color support

Definition at line 1033 of file klistview.h.


Constructor & Destructor Documentation

KListViewItem::KListViewItem ( TQListView *  parent)

constructors.

The semantics remain as in TQListViewItem. Although they accept a TQListViewItem as parent, please don't mix KListViewItem (or subclasses) with QListViewItem (or subclasses).

Definition at line 2324 of file klistview.cpp.


Member Function Documentation

const TQColor & KListViewItem::backgroundColor ( )

returns the background color for this item

Definition at line 2408 of file klistview.cpp.

TQColor KListViewItem::backgroundColor ( int  column)

returns the background color for this item at given column This can be different in the column which is sorted due to shading ### could be merged with above (column = -1) to be source compatible ### but will only work if sort-shading is not used or the listView has ### only 1 column

Since:
3.4

Definition at line 2415 of file klistview.cpp.

bool KListViewItem::isAlternate ( )

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

Definition at line 2441 of file klistview.cpp.


The documentation for this class was generated from the following files:
  • klistview.h
  • klistview.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |