Ksetiwatch API Documentation


DataInfoListViewItem Class Reference

A customized QListViewItem for the list view in the Data Info tab. More...

#include <datainfo.h>

Inherits ColorListViewItem.

Inheritance diagram for DataInfoListViewItem:

Inheritance graph
[legend]
Collaboration diagram for DataInfoListViewItem:

Collaboration graph
[legend]
List of all members.

Public Methods

 DataInfoListViewItem (QListView *parent)
 ~DataInfoListViewItem ()
virtual QString key (int column, bool ascending) const

Detailed Description

A customized QListViewItem for the list view in the Data Info tab.

Definition at line 26 of file datainfo.h.


Constructor & Destructor Documentation

DataInfoListViewItem::DataInfoListViewItem QListView   parent [inline]
 

The constructor.

Parameters:
parent  The parent list view.

Definition at line 33 of file datainfo.h.

References QListViewItem::parent().

DataInfoListViewItem::~DataInfoListViewItem   [inline]
 

The destructor.

Definition at line 35 of file datainfo.h.


Member Function Documentation

QString DataInfoListViewItem::key int    column,
bool    ascending
const [virtual]
 

Reimplemented to allow customized sorting of the items in the list.

Parameters:
column  The column for which a key is returned.
ascending  Indicates the sorting order (usage not recommended).
Returns:
A key that can be used for sorting by column column.

Reimplemented from QListViewItem.

Definition at line 30 of file datainfo.cpp.

References QString::rightJustify(), QString::sprintf(), QListViewItem::text(), and QString::toDouble().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Ksetiwatch API Version 2.6.1.
Documentation copyright © 2000-2003 Gordon Machel.
Generated on Fri Jun 6 00:28:43 2003 by doxygen 1.2.18, written by Dimitri van Heesch, © 1997-2002