diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-10-18 13:45:11 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-10-23 09:15:25 +0200 |
| commit | 8a7f37c7972504d25225c96f225503c329aaf6fa (patch) | |
| tree | 877843917da5d2e1ba69d553272f33f58b75d940 /src/qt/receiverequestdialog.h | |
| parent | qt: add message field to SendCoinsRecipient (diff) | |
| download | discoin-8a7f37c7972504d25225c96f225503c329aaf6fa.tar.xz discoin-8a7f37c7972504d25225c96f225503c329aaf6fa.zip | |
qt: use SendCoinsRecipient for payment request information
This brings some symmetry into the design by using the same object
both for incoming URIs that are parsed as for outgoing URIs that
are formatted.
Diffstat (limited to 'src/qt/receiverequestdialog.h')
| -rw-r--r-- | src/qt/receiverequestdialog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qt/receiverequestdialog.h b/src/qt/receiverequestdialog.h index e560a24ff..bfe50bde7 100644 --- a/src/qt/receiverequestdialog.h +++ b/src/qt/receiverequestdialog.h @@ -1,6 +1,8 @@ #ifndef QRCODEDIALOG_H #define QRCODEDIALOG_H +#include "walletmodel.h" + #include <QDialog> #include <QImage> #include <QLabel> @@ -34,7 +36,7 @@ class ReceiveRequestDialog : public QDialog Q_OBJECT public: - explicit ReceiveRequestDialog(const QString &addr, const QString &label, quint64 amount, const QString &message, QWidget *parent = 0); + explicit ReceiveRequestDialog(const SendCoinsRecipient &info, QWidget *parent = 0); ~ReceiveRequestDialog(); void setModel(OptionsModel *model); @@ -49,7 +51,7 @@ private slots: private: Ui::ReceiveRequestDialog *ui; OptionsModel *model; - QString address; + SendCoinsRecipient info; void genCode(); QString getURI(); |