|
QtPdCom
1.5.2
|
#include <ClientStatisticsModel.h>


Public Types | |
| enum | Roles { NameRole = Qt::UserRole + 1 , ApplicationNameRole , RxByteRole , TxByteRole , ConnectedTimeRole } |
Public Member Functions | |
| ClientStatisticsModel (QObject *parent=nullptr) | |
| virtual | ~ClientStatisticsModel () |
| int | rowCount (const QModelIndex &) const override |
| int | columnCount (const QModelIndex &) const override |
| QVariant | data (const QModelIndex &, int) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| Q_INVOKABLE void | poll () |
| Update statistics from server. | |
| Q_INVOKABLE void | clear () |
| Clear stored statistics. | |
| void | setProcess (QtPdCom::Process *) |
| QtPdCom::Process * | getProcess () const |
| QHash< int, QByteArray > | roleNames () const override |
Properties | |
| QtPdCom::Process * | process |
Private Attributes | |
| QScopedPointer< ClientStatisticsModelPrivate > | d_ptr |
|
explicit |
|
virtualdefault |
Clear stored statistics.
|
override |
|
override |
| QtPdCom::Process * ClientStatisticsModel::getProcess | ( | ) | const |
|
override |
| void ClientStatisticsModel::poll | ( | ) |
Update statistics from server.
|
override |
|
override |
| void ClientStatisticsModel::setProcess | ( | QtPdCom::Process * | process | ) |
|
private |