Merge pull request #122

42086b5 remove old reference to passwordDialog (Jacob Brydolf)
4a1e22a history: transaction details button + popup (Jacob Brydolf)
cfa8929 wallet api: added getTxKey() (Jacob Brydolf)
d628795 added standardDialog component (Jacob Brydolf)
This commit is contained in:
Riccardo Spagni
2016-11-09 20:46:57 +02:00
5 changed files with 190 additions and 1 deletions

View File

@@ -270,6 +270,11 @@ QString Wallet::getUserNote(const QString &txid) const
return QString::fromStdString(m_walletImpl->getUserNote(txid.toStdString()));
}
QString Wallet::getTxKey(const QString &txid) const
{
return QString::fromStdString(m_walletImpl->getTxKey(txid.toStdString()));
}
Wallet::Wallet(Bitmonero::Wallet *w, QObject *parent)
: QObject(parent)
, m_walletImpl(w)

View File

@@ -141,6 +141,8 @@ public:
Q_INVOKABLE bool setUserNote(const QString &txid, const QString &note);
Q_INVOKABLE QString getUserNote(const QString &txid) const;
Q_INVOKABLE QString getTxKey(const QString &txid) const;
// TODO: setListenter() when it implemented in API
signals:
// emitted on every event happened with wallet