ProcessModel

class ProcessModel

Public Types

enum Column

Values:

PidColumn = 0
UidColumn
StatusColumn
PathColumn
ColumnCount
enum Role

Values:

ProcDescriptionRole = Qt::UserRole

Public Functions

ProcessModel(QObject *parent)
int rowCount(const QModelIndex &parent) const
int columnCount(const QModelIndex &parent) const
QVariant data(const QModelIndex &index, int role) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const

Public Slots

void updateData()

Public Static Functions

bool lessThan(const ProcessDescription &left, const ProcessDescription &right, int column)