StreamItem Class Reference

#include <streamitem.h>

List of all members.

Public Member Functions

 StreamItem (const Stream &stream)
void update (const Stream &stream)
StreamId id () const

Private Attributes

StreamId _id

Detailed Description

Definition at line 24 of file streamitem.h.


Constructor & Destructor Documentation

StreamItem::StreamItem ( const Stream stream  ) 

Constructor

Definition at line 22 of file streamitem.cpp.

References _id, Stream::id(), and update().


Member Function Documentation

StreamId StreamItem::id (  )  const [inline]

Returns the ID of the stream associated with this tree item.

Definition at line 33 of file streamitem.h.

References _id.

Referenced by CircuitListWidget::closeSelectedConnections(), CircuitListWidget::customContextMenuRequested(), and CircuitListWidget::findStreamItem().

void StreamItem::update ( const Stream stream  ) 

Updates the status of this stream item.

Definition at line 33 of file streamitem.cpp.

References CircuitListWidget::ConnectionColumn, CircuitListWidget::StatusColumn, Stream::statusString(), and Stream::target().

Referenced by CircuitListWidget::addStream(), and StreamItem().


Member Data Documentation

ID for this stream.

Definition at line 36 of file streamitem.h.

Referenced by id(), and StreamItem().


The documentation for this class was generated from the following files:

Generated on 2 Sep 2009 for Vidalia by  doxygen 1.6.1