Wallet: moneySpent, moneyReceived, newBlock signals

This commit is contained in:
Ilya Kitaev
2016-09-23 23:51:24 +03:00
parent 86a6bfbff1
commit 7e769b3a87
3 changed files with 20 additions and 8 deletions

View File

@@ -113,12 +113,18 @@ public:
// TODO: setListenter() when it implemented in API
signals:
// emitted on every event happened with wallet
// (money sent/received, new block)
void updated();
// emitted when refresh process finished (could take a long time)
// signalling only after we
void refreshed();
void moneySpent(const QString &txId, quint64 amount);
void moneyReceived(const QString &txId, quint64 amount);
void newBlock(quint64 height);
private:
Wallet(Bitmonero::Wallet *w, QObject * parent = 0);