Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.h
Show All 38 Lines | |||||
class UnitDisplayStatusBarControl; | class UnitDisplayStatusBarControl; | ||||
class WalletController; | class WalletController; | ||||
class WalletFrame; | class WalletFrame; | ||||
class WalletModel; | class WalletModel; | ||||
namespace interfaces { | namespace interfaces { | ||||
class Handler; | class Handler; | ||||
class Node; | class Node; | ||||
struct BlockAndHeaderTipInfo; | |||||
} // namespace interfaces | } // namespace interfaces | ||||
QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
class QAction; | class QAction; | ||||
class QComboBox; | class QComboBox; | ||||
class QMenu; | class QMenu; | ||||
class QProgressBar; | class QProgressBar; | ||||
class QProgressDialog; | class QProgressDialog; | ||||
Show All 21 Lines | explicit BitcoinGUI(interfaces::Node &node, const Config *, | ||||
QWidget *parent = nullptr); | QWidget *parent = nullptr); | ||||
~BitcoinGUI(); | ~BitcoinGUI(); | ||||
/** | /** | ||||
* Set the client model. | * Set the client model. | ||||
* The client model represents the part of the core that communicates with | * The client model represents the part of the core that communicates with | ||||
* the P2P network, and is wallet-agnostic. | * the P2P network, and is wallet-agnostic. | ||||
*/ | */ | ||||
void setClientModel(ClientModel *clientModel); | void setClientModel(ClientModel *clientModel = nullptr, | ||||
interfaces::BlockAndHeaderTipInfo *tip_info = nullptr); | |||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
void setWalletController(WalletController *wallet_controller); | void setWalletController(WalletController *wallet_controller); | ||||
#endif | #endif | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
/** | /** | ||||
* Set the wallet model. | * Set the wallet model. | ||||
* The wallet model represents a bitcoin wallet, and offers access to the | * The wallet model represents a bitcoin wallet, and offers access to the | ||||
▲ Show 20 Lines • Show All 277 Lines • Show Last 20 Lines |