Add data and add functions for WeightModel

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-05-01 10:11:46 -07:00
parent 730e055e5a
commit 5c2ce0ac20
2 changed files with 39 additions and 3 deletions

View file

@ -62,7 +62,7 @@ class WeightModel : public QAbstractTableModel {
/*reimp*/ QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
/*reimp*/ int rowCount(const QModelIndex& parent = QModelIndex()) const;
void add(weight_t *weight);
void add(weightsystem_t *weight);
void clear();
void update();
private: