When receiving online user credentials insert them into the model.
This commit is contained in:
@ -44,6 +44,7 @@ class TableModel : public QAbstractTableModel {
|
||||
QString updateItemsFromJson(const QByteArray& jsonData);
|
||||
bool updateItem(const ModelItemValues& itemValues);
|
||||
|
||||
void setOnlineCredentials(const QString& mail, const QString& uuid, const QString& token);
|
||||
public slots:
|
||||
// bool insertRows(int position, int rows, const QModelIndex& parentIndex = QModelIndex())
|
||||
// override;
|
||||
@ -105,6 +106,8 @@ class TableModel : public QAbstractTableModel {
|
||||
int biddingSum(const UserRoles biddingRole) const;
|
||||
qreal averageBiddingAmount(const UserRoles biddingRole) const;
|
||||
qreal totalSharesWithBiddings(const UserRoles biddingRole) const;
|
||||
|
||||
QModelIndex getIndexByRoleValue(const QString& valueString, const int role) const;
|
||||
};
|
||||
|
||||
#endif // TABLEMODEL_H
|
||||
|
||||
Reference in New Issue
Block a user