X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Ftransactiontablemodel.h;h=9608948a24061348368ee1d31fe2614a3cb993fb;hb=HEAD;hp=0449303eded8cb675b42a533f20b0259161499ad;hpb=eb90c018947698e05e8973a91f91861e86b18c66;p=novacoin.git diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h index 0449303..9608948 100644 --- a/src/qt/transactiontablemodel.h +++ b/src/qt/transactiontablemodel.h @@ -57,6 +57,7 @@ public: QVariant data(const QModelIndex &index, int role) const; QVariant headerData(int section, Qt::Orientation orientation, int role) const; QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const; + void refresh(); private: CWallet* wallet; WalletModel *walletModel; @@ -79,6 +80,8 @@ public slots: void updateTransaction(const QString &hash, int status); void updateConfirmations(); void updateDisplayUnit(); + /** Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table headers to react. */ + void updateAmountColumnTitle(); friend class TransactionTablePriv; };