Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | |||||
#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 | ||||
* list of transactions, address book and sending functionality. | * list of transactions, address book and sending functionality. | ||||
*/ | */ | ||||
bool addWallet(WalletModel *walletModel); | bool addWallet(WalletModel *walletModel); | ||||
bool removeWallet(WalletModel *walletModel); | |||||
void removeAllWallets(); | void removeAllWallets(); | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
bool enableWallet = false; | bool enableWallet = false; | ||||
protected: | protected: | ||||
void changeEvent(QEvent *e) override; | void changeEvent(QEvent *e) override; | ||||
void closeEvent(QCloseEvent *event) override; | void closeEvent(QCloseEvent *event) override; | ||||
void showEvent(QShowEvent *event) override; | void showEvent(QShowEvent *event) override; | ||||
Show All 35 Lines | private: | ||||
QAction *toggleHideAction = nullptr; | QAction *toggleHideAction = nullptr; | ||||
QAction *encryptWalletAction = nullptr; | QAction *encryptWalletAction = nullptr; | ||||
QAction *backupWalletAction = nullptr; | QAction *backupWalletAction = nullptr; | ||||
QAction *changePassphraseAction = nullptr; | QAction *changePassphraseAction = nullptr; | ||||
QAction *aboutQtAction = nullptr; | QAction *aboutQtAction = nullptr; | ||||
QAction *openRPCConsoleAction = nullptr; | QAction *openRPCConsoleAction = nullptr; | ||||
QAction *openAction = nullptr; | QAction *openAction = nullptr; | ||||
QAction *showHelpMessageAction = nullptr; | QAction *showHelpMessageAction = nullptr; | ||||
QAction *m_wallet_selector_label_action = nullptr; | |||||
QAction *m_wallet_selector_action = nullptr; | |||||
QLabel *m_wallet_selector_label = nullptr; | QLabel *m_wallet_selector_label = nullptr; | ||||
nakihito: This change was made in D1979.
The `nullptr` initialization was added in D1959. | |||||
QComboBox *m_wallet_selector = nullptr; | QComboBox *m_wallet_selector = nullptr; | ||||
QSystemTrayIcon *trayIcon = nullptr; | QSystemTrayIcon *trayIcon = nullptr; | ||||
QMenu *trayIconMenu = nullptr; | QMenu *trayIconMenu = nullptr; | ||||
Notificator *notificator = nullptr; | Notificator *notificator = nullptr; | ||||
RPCConsole *rpcConsole = nullptr; | RPCConsole *rpcConsole = nullptr; | ||||
HelpMessageDialog *helpMessageDialog = nullptr; | HelpMessageDialog *helpMessageDialog = nullptr; | ||||
ModalOverlay *modalOverlay = nullptr; | ModalOverlay *modalOverlay = nullptr; | ||||
▲ Show 20 Lines • Show All 174 Lines • Show Last 20 Lines |
This change was made in D1979.
The nullptr initialization was added in D1959.