OSB_GUI::RecordStreamItem Class Reference

Inheritance diagram for OSB_GUI::RecordStreamItem:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::RecordStreamItem:

Collaboration graph
[legend]
List of all members.

Detailed Description

Listview item for a record stream.

Definition at line 275 of file streamadmin.h.

Public Types

Public Member Functions

Private Member Functions

Private Attributes


Member Enumeration Documentation

enum OSB_GUI::RecordStreamItem::Type

The type of record stream.

Note:
The value define the primary sorting.
Enumerator:
rsMatched  Stream was match by the filter.
rsParent  Stream is a parent.
rsChild  Stream is a child.

Definition at line 282 of file streamadmin.h.


Constructor & Destructor Documentation

OSB_GUI::RecordStreamItem::RecordStreamItem ( Type  type,
QListView parent,
const OSB_LIB::RecordStreamInfo rsInfo,
const OSB_LIB::RecordStreams rsList 
)

Constructor with listview as parent and record stream.

OSB_GUI::RecordStreamItem::RecordStreamItem ( Type  type,
QListViewItem parent,
const OSB_LIB::RecordStreamInfo rsInfo,
const OSB_LIB::RecordStreams rsList 
)

Constructor with listview item as parent and record stream.


Member Function Documentation

bool OSB_GUI::RecordStreamItem::canOpen (  )  const [private]

Check if the stream has parents or children.

int OSB_GUI::RecordStreamItem::compare ( QListViewItem item,
int  col,
bool  asc 
) const [private]

Compare with another listview item.

Compares rsInfo_ of both items if item is a record stream item,
otherwise calls QListViewItem::compare(item, col, asc).

void OSB_GUI::RecordStreamItem::paintCell ( QPainter *  p,
const QColorGroup &  cg,
int  col,
int  width,
int  align 
) [private]

Paint listview item with a colored line above.

void OSB_GUI::RecordStreamItem::refresh ( const OSB_LIB::RecordStreamInfo rsInfo  ) 

Refresh the record stream information.

Parameters:
rsInfo Most recent status of the record stream.

const OSB_LIB::RecordStreamInfo& OSB_GUI::RecordStreamItem::rsInfo (  )  const

Get record stream information.

void OSB_GUI::RecordStreamItem::setItem (  )  [private]

Set the text and pixmaps of the item.

void OSB_GUI::RecordStreamItem::setOpen ( bool  open  )  [private]

Show the parent and children stream.

void OSB_GUI::RecordStreamItem::setRsInfo ( const OSB_LIB::RecordStreamInfo rsInfo  ) 

Set the record stream of the item.

void OSB_GUI::RecordStreamItem::setup (  )  [private]

Setup the item: corrects the height.


Member Data Documentation

OSB_LIB::RecordStreamInfo OSB_GUI::RecordStreamItem::rsInfo_ [private]

Record stream of the item.

Definition at line 347 of file streamadmin.h.

const OSB_LIB::RecordStreams& OSB_GUI::RecordStreamItem::rsList_ [private]

Reference to the list of record streams.

Definition at line 349 of file streamadmin.h.

Type OSB_GUI::RecordStreamItem::type_ [private]

The type of record stream.

Definition at line 345 of file streamadmin.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:19:56 2006 for OSB Library by  doxygen 1.4.7