Main Page   Compound List   File List   Compound Members   File Members  

KMtraceLeaksViewItem Class Reference

The widget showing an entry in the list a memory leaks. More...

#include <KMtraceLeaksViewItem.hh>

List of all members.

Public Methods

 KMtraceLeaksViewItem (QListViewItem *parent, QString str)
 KMtraceLeaksViewItem (QListView *parent, QString s1, QString &s2, QString &s3, QString &s4, QString s5)
int compare (QListViewItem *item, int column, bool ascending) const
void setModel (QObject *obj)
QObject * getModel ()

Private Attributes

QObject * m_model


Detailed Description

The widget showing an entry in the list a memory leaks.

The widget is an extension of a KListViewItem class. It forms the view of either a KMtraceLeak or a KMtraceCall

Author:
Andreas Baumann <andreas_baumann@users.sourceforge.net>
See also:
KMtraceLeaksView, KMtraceLeak, KMtraceCall
Version:


Constructor & Destructor Documentation

KMtraceLeaksViewItem::KMtraceLeaksViewItem QListViewItem *    parent,
QString    str
 

KMtraceLeaksViewItem::KMtraceLeaksViewItem QListView *    parent,
QString    s1,
QString &    s2,
QString &    s3,
QString &    s4,
QString    s5
 


Member Function Documentation

int KMtraceLeaksViewItem::compare QListViewItem *    item,
int    column,
bool    ascending
const
 

Overrides the default compare method for list view items. So they are ordered as integers (bytes, blocks) or not at all (addresses, title field)

Parameters:
item item to compare with
column the column to compare (the current sort order)
ascending sort ascending or descending
Returns:
-1, 0 or 1 (whether this is less, equals or bigger than item)

QObject * KMtraceLeaksViewItem::getModel  
 

void KMtraceLeaksViewItem::setModel QObject *    obj
 


Member Data Documentation

QObject* KMtraceLeaksViewItem::m_model [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Jan 3 11:42:32 2003 for kmtraceviewer by doxygen1.3-rc1