mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-11 05:14:34 +00:00
add wallet creation height getter
This commit is contained in:
parent
94c92ba73c
commit
31f318aaea
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ class Wallet : public QObject
|
||||||
Q_PROPERTY(QString publicSpendKey READ getPublicSpendKey)
|
Q_PROPERTY(QString publicSpendKey READ getPublicSpendKey)
|
||||||
Q_PROPERTY(QString daemonLogPath READ getDaemonLogPath CONSTANT)
|
Q_PROPERTY(QString daemonLogPath READ getDaemonLogPath CONSTANT)
|
||||||
Q_PROPERTY(QString walletLogPath READ getWalletLogPath CONSTANT)
|
Q_PROPERTY(QString walletLogPath READ getWalletLogPath CONSTANT)
|
||||||
|
Q_PROPERTY(quint64 walletCreationHeight READ getWalletCreationHeight CONSTANT)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -243,6 +244,7 @@ public:
|
||||||
QString getSecretSpendKey() const {return QString::fromStdString(m_walletImpl->secretSpendKey());}
|
QString getSecretSpendKey() const {return QString::fromStdString(m_walletImpl->secretSpendKey());}
|
||||||
QString getPublicSpendKey() const {return QString::fromStdString(m_walletImpl->publicSpendKey());}
|
QString getPublicSpendKey() const {return QString::fromStdString(m_walletImpl->publicSpendKey());}
|
||||||
|
|
||||||
|
quint64 getWalletCreationHeight() const {return m_walletImpl->getRefreshFromBlockHeight();}
|
||||||
QString getDaemonLogPath() const;
|
QString getDaemonLogPath() const;
|
||||||
QString getWalletLogPath() const;
|
QString getWalletLogPath() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue