Vidalia
0.2.15
|
#include <StreamItem.h>
Public Member Functions | |
StreamItem (const Stream &stream) | |
Stream | stream () const |
void | update (const Stream &stream) |
StreamId | id () const |
Private Attributes | |
Stream | _stream |
Definition at line 24 of file StreamItem.h.
StreamItem::StreamItem | ( | const Stream & | stream | ) |
Constructor
Definition at line 21 of file StreamItem.cpp.
References CircuitListWidget::ConnectionColumn, Stream::target(), and update().
StreamId StreamItem::id | ( | ) | const [inline] |
Returns the ID of the stream associated with this tree item.
Definition at line 34 of file StreamItem.h.
References _stream, and Stream::id().
Referenced by CircuitListWidget::closeSelectedConnections(), CircuitListWidget::customContextMenuRequested(), and CircuitListWidget::findStreamItem().
Stream StreamItem::stream | ( | ) | const [inline] |
Definition at line 30 of file StreamItem.h.
References _stream.
Referenced by CircuitListWidget::retranslateUi(), and update().
void StreamItem::update | ( | const Stream & | stream | ) |
Updates the status of this stream item.
Definition at line 33 of file StreamItem.cpp.
References _stream, CircuitListWidget::StatusColumn, Stream::statusString(), and stream().
Referenced by CircuitListWidget::addStream(), CircuitListWidget::retranslateUi(), and StreamItem().
Stream StreamItem::_stream [private] |
Definition at line 37 of file StreamItem.h.