diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-09-09 16:54:36 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-09-09 16:54:36 -0400 |
| commit | 96762ebf0980bef4aee29beece585bc99ea02ec7 (patch) | |
| tree | 3580bec1c6a76105829c0477059c1e3b5c2bd43a /src/libwalletqt/Wallet.h | |
| parent | 702d3b8ec1ce06cbe2300d65c1e3f608b5f8f361 (diff) | |
| parent | f327d20deb08d948829d2c2214af3cc3ac254456 (diff) | |
| download | monzero-gui-96762ebf0980bef4aee29beece585bc99ea02ec7.tar.gz monzero-gui-96762ebf0980bef4aee29beece585bc99ea02ec7.tar.xz monzero-gui-96762ebf0980bef4aee29beece585bc99ea02ec7.zip | |
Merge pull request #3687
f327d20 qml: use libwalletqt make_uri function (selsta)
dcc16a4 libwalletqt: add make_uri function (selsta)
Diffstat (limited to 'src/libwalletqt/Wallet.h')
| -rw-r--r-- | src/libwalletqt/Wallet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index c736df7d..9b5bdd46 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -300,6 +300,8 @@ public: //! Parse URI Q_INVOKABLE bool parse_uri(const QString &uri, QString &address, QString &payment_id, uint64_t &amount, QString &tx_description, QString &recipient_name, QVector<QString> &unknown_parameters, QString &error); + //! Make URI + Q_INVOKABLE QString make_uri(const QString &address, const quint64 &amount = 0, const QString &tx_description = "", const QString &recipient_name = "") const; //! Namespace your cacheAttribute keys to avoid collisions Q_INVOKABLE bool setCacheAttribute(const QString &key, const QString &val); |
