Bitcoin ABC  0.24.7
P2P Digital Currency
openuridialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2015 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_QT_OPENURIDIALOG_H
6 #define BITCOIN_QT_OPENURIDIALOG_H
7 
8 #include <QDialog>
9 
10 class CChainParams;
11 
12 namespace Ui {
13 class OpenURIDialog;
14 }
15 
16 class OpenURIDialog : public QDialog {
17  Q_OBJECT
18 
19 public:
20  explicit OpenURIDialog(const CChainParams &params, QWidget *parent);
22 
23  QString getURI();
24 
25 protected Q_SLOTS:
26  void accept() override;
27 
28 private Q_SLOTS:
30 
31 private:
32  Ui::OpenURIDialog *ui;
33  const QString uriScheme;
34 };
35 
36 #endif // BITCOIN_QT_OPENURIDIALOG_H
OpenURIDialog
Definition: openuridialog.h:16
OpenURIDialog::~OpenURIDialog
~OpenURIDialog()
Definition: openuridialog.cpp:23
OpenURIDialog::OpenURIDialog
OpenURIDialog(const CChainParams &params, QWidget *parent)
Definition: openuridialog.cpp:14
OpenURIDialog::uriScheme
const QString uriScheme
Definition: openuridialog.h:33
CChainParams
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
Definition: chainparams.h:47
OpenURIDialog::ui
Ui::OpenURIDialog * ui
Definition: openuridialog.h:32
OpenURIDialog::accept
void accept() override
Definition: openuridialog.cpp:31
OpenURIDialog::on_selectFileButton_clicked
void on_selectFileButton_clicked()
Definition: openuridialog.cpp:41
Ui
Definition: addressbookpage.h:14
OpenURIDialog::getURI
QString getURI()
Definition: openuridialog.cpp:27