ProcessModel

class ProcessModel : public QAbstractListModel

Public Types

  • enum Column

    Values:

    • enumerator PidColumn

    • enumerator UidColumn

    • enumerator StatusColumn

    • enumerator PathColumn

    • enumerator ColumnCount

  • enum Role

    Values:

    • enumerator ProcDescriptionRole

Public Functions

  • ProcessModel(QObject *parent = 0)

  • int rowCount(const QModelIndex &parent = QModelIndex()) const

  • int columnCount(const QModelIndex &parent = QModelIndex()) const

  • QVariant data(const QModelIndex &index, int role) const

  • QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const

Public Slots

  • void updateData()

Public Static Functions