mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-29 00:33:50 +01:00
2021-01-15 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'RDLibraryModel::addCart()' to return 'QModelIndex' rather than 'int'. * Renamed 'RDLibraryModel::refreshCartLine()' to 'RDLibrary::updateCartLine()' and made it protected. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -62,7 +62,6 @@ class RDLibraryModel : public QAbstractItemModel
|
||||
void removeCart(unsigned cartnum);
|
||||
void refreshRow(const QModelIndex &index);
|
||||
void refreshCart(unsigned cartnum);
|
||||
void refreshCartLine(int cartline);
|
||||
|
||||
signals:
|
||||
void rowCountChanged(int rows);
|
||||
@@ -73,6 +72,7 @@ class RDLibraryModel : public QAbstractItemModel
|
||||
|
||||
protected:
|
||||
void updateModel(const QString &filter_sql);
|
||||
void updateCartLine(int cartline);
|
||||
void updateRow(int row,RDSqlQuery *q);
|
||||
QString sqlFields() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user