Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

YQMultiSelectionBoxItem Class Reference

#include <YQMultiSelectionBox.h>

List of all members.

Public Member Functions

 YQMultiSelectionBoxItem (YQMultiSelectionBox *parent, QListView *listView, const QString &text)
virtual ~YQMultiSelectionBoxItem ()

Protected Member Functions

void stateChange (bool newState)
virtual QString key (int column, bool ascending) const

Protected Attributes

int _serial
YQMultiSelectionBox_multiSelectionBox

Static Protected Attributes

int _item_count = 0


Constructor & Destructor Documentation

YQMultiSelectionBoxItem::YQMultiSelectionBoxItem YQMultiSelectionBox parent,
QListView *  listView,
const QString &  text
 

Constructor.

virtual YQMultiSelectionBoxItem::~YQMultiSelectionBoxItem  )  [inline, virtual]
 

Destructor.


Member Function Documentation

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

Returns the sort key for any column. Reimplemented from QListViewItem.

This method is the true reason for this class - a pure QListViewItem is too dumb to retain insertion order even if sorting is explicitly disabled: It gets sorted in reverse insertion order. :-(

void YQMultiSelectionBoxItem::stateChange bool  newState  )  [protected]
 

Called when the on/off state changes. Triggers a 'valueChanged' event in the associated YQMultiSelectionBox.

Reimplemented from QChecklistItem.


Member Data Documentation

int YQMultiSelectionBoxItem::_item_count = 0 [static, protected]
 

The next serial number to use

YQMultiSelectionBox* YQMultiSelectionBoxItem::_multiSelectionBox [protected]
 

int YQMultiSelectionBoxItem::_serial [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Oct 14 19:03:48 2005 for yast2-qt by doxygen 1.3.6