#include <streamitem.h>
Public Member Functions | |
StreamItem (const Stream &stream) | |
void | update (const Stream &stream) |
StreamId | id () const |
Private Attributes | |
StreamId | _id |
Definition at line 24 of file streamitem.h.
StreamItem::StreamItem | ( | const Stream & | stream | ) |
Constructor
Definition at line 22 of file streamitem.cpp.
References _id, Stream::id(), and update().
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().
StreamId StreamItem::_id [private] |
ID for this stream.
Definition at line 36 of file streamitem.h.
Referenced by id(), and StreamItem().