Classified ads
|
Model-class for displaying open network connections This is the underlying data-container of the "network status" dialog. More...
#include <connectionlistingmodel.h>
Classes | |
struct | ConnectionDisplayItemStructure |
Public Types | |
typedef struct ConnectionListingModel::ConnectionDisplayItemStructure | ConnectionDisplayItem |
Signals | |
void | error (MController::CAErrorSituation aError, const QString &aExplanation) |
Public Member Functions | |
ConnectionListingModel (Model &aModel, MController &aController) | |
~ConnectionListingModel () | |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
Protected Member Functions | |
void | timerEvent (QTimerEvent *event) |
Private Member Functions | |
void | updateModelContents () |
Private Attributes | |
Model & | iModel |
MController & | iController |
QList< ConnectionDisplayItem > | iConnections |
int | iTimerId |
Model-class for displaying open network connections This is the underlying data-container of the "network status" dialog.
typedef struct ConnectionListingModel::ConnectionDisplayItemStructure ConnectionListingModel::ConnectionDisplayItem |
instead of relaying the connections from Model::iConnections we keep our local copy of the same stuff here, updating it as necessary
ConnectionListingModel::ConnectionListingModel | ( | Model & | aModel, |
MController & | aController | ||
) |
ConnectionListingModel::~ConnectionListingModel | ( | ) |
|
virtual |
re-implemented from QAbstractTableModel
|
virtual |
re-implemented from QAbstractListModel
|
signal |
|
virtual |
|
virtual |
|
protected |
for periodical stuff inside datamodel
|
private |
|
private |
|
private |
|
private |
|
private |