Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.h
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_QT_SENDCOINSDIALOG_H | #ifndef BITCOIN_QT_SENDCOINSDIALOG_H | ||||
#define BITCOIN_QT_SENDCOINSDIALOG_H | #define BITCOIN_QT_SENDCOINSDIALOG_H | ||||
#include <qt/walletmodel.h> | #include <qt/walletmodel.h> | ||||
#include <QDialog> | #include <QDialog> | ||||
#include <QMessageBox> | #include <QMessageBox> | ||||
#include <QString> | #include <QString> | ||||
#include <QTimer> | #include <QTimer> | ||||
class CCoinControl; | |||||
class ClientModel; | class ClientModel; | ||||
class PlatformStyle; | class PlatformStyle; | ||||
class SendCoinsEntry; | class SendCoinsEntry; | ||||
class SendCoinsRecipient; | class SendCoinsRecipient; | ||||
namespace Ui { | namespace Ui { | ||||
class SendCoinsDialog; | class SendCoinsDialog; | ||||
} | } | ||||
Show All 35 Lines | |||||
Q_SIGNALS: | Q_SIGNALS: | ||||
void coinsSent(const uint256 &txid); | void coinsSent(const uint256 &txid); | ||||
private: | private: | ||||
Ui::SendCoinsDialog *ui; | Ui::SendCoinsDialog *ui; | ||||
ClientModel *clientModel; | ClientModel *clientModel; | ||||
WalletModel *model; | WalletModel *model; | ||||
std::unique_ptr<CCoinControl> m_coin_control; | |||||
std::unique_ptr<WalletModelTransaction> m_current_transaction; | std::unique_ptr<WalletModelTransaction> m_current_transaction; | ||||
bool fNewRecipientAllowed; | bool fNewRecipientAllowed; | ||||
bool fFeeMinimized; | bool fFeeMinimized; | ||||
const PlatformStyle *platformStyle; | const PlatformStyle *platformStyle; | ||||
// Process WalletModel::SendCoinsReturn and generate a pair consisting of a | // Process WalletModel::SendCoinsReturn and generate a pair consisting of a | ||||
// message and message flags for use in Q_EMIT message(). | // message and message flags for use in Q_EMIT message(). | ||||
// Additional parameter msgArg can be used via .arg(msgArg). | // Additional parameter msgArg can be used via .arg(msgArg). | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |