git-svn-id: svn://db.shs.com.ru/libs@573 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-06-27 16:01:40 +00:00
parent a06d1ad48a
commit d799217bde

View File

@@ -22,14 +22,14 @@ public:
void setStat(const PIVector<PISystemMonitor::ThreadStats> & s); void setStat(const PIVector<PISystemMonitor::ThreadStats> & s);
void clear(); void clear();
int rowCount(const QModelIndex & parent = QModelIndex()) const override; int rowCount(const QModelIndex & parent = QModelIndex()) const;
int columnCount(const QModelIndex & parent = QModelIndex()) const override; int columnCount(const QModelIndex & parent = QModelIndex()) const;
QModelIndex parent(const QModelIndex & child) const override {return QModelIndex();} QModelIndex parent(const QModelIndex & child) const {return QModelIndex();}
QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const override; QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const;
bool hasChildren(const QModelIndex & parent = QModelIndex()) const override; bool hasChildren(const QModelIndex & parent = QModelIndex()) const;
QVariant headerData(int section, Qt::Orientation orientation, int role) const override; QVariant headerData(int section, Qt::Orientation orientation, int role) const;
QVariant data(const QModelIndex & index, int role) const override; QVariant data(const QModelIndex & index, int role) const;
Qt::ItemFlags flags(const QModelIndex & index) const override; Qt::ItemFlags flags(const QModelIndex & index) const;
protected: protected:
PIVector<PIIntrospectionThreads::ThreadInfo> threads; PIVector<PIIntrospectionThreads::ThreadInfo> threads;