diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-05 18:03:05 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-19 14:07:38 +0100 |
commit | 666893b1facfbc748de760e6aeb6bc26bd3797f3 (patch) | |
tree | b77cf8d12a7f92178bb8f87ec8124d745ff2257b /src/qt/receivecoinsdialog.h | |
parent | 71f97ea2a71471f383b7e78ce57eb76a76c5c933 (diff) |
qt: keep a list of requested payments
Keep a list of requested payments in the Receive tab so that a user can
recall previously created requests after closing their windows.
Currently this list is not stored between bitcoin-qt sessions. This can
be implemented later, but it is not clear where it should be stored as
I don't think it belongs in the wallet (maybe in QSettings?)
Diffstat (limited to 'src/qt/receivecoinsdialog.h')
-rw-r--r-- | src/qt/receivecoinsdialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/receivecoinsdialog.h b/src/qt/receivecoinsdialog.h index 9980edd1f5..4435bf6694 100644 --- a/src/qt/receivecoinsdialog.h +++ b/src/qt/receivecoinsdialog.h @@ -13,6 +13,9 @@ namespace Ui { } class WalletModel; class OptionsModel; +QT_BEGIN_NAMESPACE +class QModelIndex; +QT_END_NAMESPACE /** Dialog for requesting payment of bitcoins */ class ReceiveCoinsDialog : public QDialog @@ -36,6 +39,9 @@ private: private slots: void on_receiveButton_clicked(); + void on_showRequestButton_clicked(); + void on_removeRequestButton_clicked(); + void on_recentRequestsView_doubleClicked(const QModelIndex &index); void updateDisplayUnit(); }; |