diff options
| author | 2017-07-17 22:12:04 +0300 | |
|---|---|---|
| committer | 2017-07-28 07:31:11 -0700 | |
| commit | f4e6df475e1cfd93dc0d73287ec6a5113b5eb176 (patch) | |
| tree | acea1a7ddba7810b4c7cf2b718832c7bacce907a /qt-models/diveplannermodel.h | |
| parent | 52316229cdd57a7c11092bc0522f0b67192aead7 (diff) | |
| download | subsurface-f4e6df475e1cfd93dc0d73287ec6a5113b5eb176.tar.gz | |
maplocationmodel: implement the clear() and add() methods
- add() will be used to add a MapLocation to the model with
beginInsertRows()...endInsertRows()
- clear() will be used to clear the model with beginRemoveRows()...
endRemoveRows()
NOTE: emiting dataChanged() does not seem to update the QML view for
this model so calling being<..>Rows() seems to be the "correct Qt
approach" to do this.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-models/diveplannermodel.h')
0 files changed, 0 insertions, 0 deletions