2021-02-02 Fred Gleason <fredg@paravelsystems.com>

* Refactored the 'Autofill Carts' dialog in rdadmin(1) to use the
	model-based API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-02 16:56:15 -05:00
parent ffea0d3279
commit 7d25c0c040
14 changed files with 186 additions and 197 deletions

View File

@@ -60,6 +60,7 @@ class RDLibraryModel : public QAbstractItemModel
QString cutName(const QModelIndex &index) const;
QString cartOwnedBy(const QModelIndex &index);
QModelIndex addCart(unsigned cartnum);
void removeCart(const QModelIndex &index);
void removeCart(unsigned cartnum);
void refreshRow(const QModelIndex &index);
void refreshCart(unsigned cartnum);