aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qrcodedialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/qrcodedialog.h')
-rw-r--r--src/qt/qrcodedialog.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/qt/qrcodedialog.h b/src/qt/qrcodedialog.h
index ad0611605b..c55c34bce6 100644
--- a/src/qt/qrcodedialog.h
+++ b/src/qt/qrcodedialog.h
@@ -7,6 +7,7 @@
namespace Ui {
class QRCodeDialog;
}
+class OptionsModel;
class QRCodeDialog : public QDialog
{
@@ -16,22 +17,25 @@ public:
explicit QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent = 0);
~QRCodeDialog();
+ void setModel(OptionsModel *model);
+
private slots:
- void on_lnReqAmount_textChanged(const QString &arg1);
- void on_lnLabel_textChanged(const QString &arg1);
- void on_lnMessage_textChanged(const QString &arg1);
+ void on_lnReqAmount_textChanged();
+ void on_lnLabel_textChanged();
+ void on_lnMessage_textChanged();
void on_btnSaveAs_clicked();
+ void on_chkReqPayment_toggled(bool fChecked);
- void on_chkReqPayment_toggled(bool checked);
+ void updateDisplayUnit();
private:
Ui::QRCodeDialog *ui;
- QImage myImage;
-
- QString getURI();
+ OptionsModel *model;
QString address;
+ QImage myImage;
void genCode();
+ QString getURI();
};
#endif // QRCODEDIALOG_H