#include <streamitem.h>
Public Member Functions | |
StreamItem (Stream stream) | |
void | update (Stream stream) |
quint64 | id () |
Private Attributes | |
quint64 | _id |
Definition at line 35 of file streamitem.h.
StreamItem::StreamItem | ( | Stream | stream | ) |
Constructor
Definition at line 33 of file streamitem.cpp.
References _id, Stream::id(), and update().
void StreamItem::update | ( | Stream | stream | ) |
Updates the status of this stream item.
Definition at line 44 of file streamitem.cpp.
References CircuitListWidget::ConnectionColumn, CircuitListWidget::StatusColumn, Stream::statusString(), and Stream::target().
Referenced by CircuitListWidget::addStream(), and StreamItem().
quint64 StreamItem::id | ( | ) | [inline] |
Returns the ID of the stream associated with this tree item.
Definition at line 44 of file streamitem.h.
References _id.
Referenced by CircuitListWidget::findStreamItem().
quint64 StreamItem::_id [private] |
ID for this stream.
Definition at line 47 of file streamitem.h.
Referenced by id(), and StreamItem().