Index: sources/model/MListModel.h =================================================================== diff -u -rbae1ae230d8b41f90b1fcd34b9bccdfa87bf3cd9 -rc1e50347c78096b626b2cd1ef32a33b439e88bdd --- sources/model/MListModel.h (.../MListModel.h) (revision bae1ae230d8b41f90b1fcd34b9bccdfa87bf3cd9) +++ sources/model/MListModel.h (.../MListModel.h) (revision c1e50347c78096b626b2cd1ef32a33b439e88bdd) @@ -22,13 +22,15 @@ public: explicit MListModel(QObject *parent = nullptr); - void insertRow (const int pos, const QHash &vData ); QHash roleNames ( ) const override; int rowCount (const QModelIndex & = QModelIndex() ) const override; QVariant data (const QModelIndex &vIndex, int vRole = Qt::DisplayRole ) const override; bool setData (const QModelIndex &vIndex, const QVariant& vValue, int vRole = Qt::EditRole) override; void clear ( ); void setRoleNames(const QHash& vRoleNames ); + void appendRow (const QHash &vData ); + void insertRow (const int vRow, const QHash &vData ); + void updateData (const int vRow, const int vRole, const QVariant& vValue ); MListModel &operator = (const QList> &src ); public Q_SLOTS: @@ -40,6 +42,6 @@ private: QList> _data; QHash _roleNames; - }; -} + +} // namespace View