Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletcontroller.h
Show All 32 Lines | |||||
public: | public: | ||||
WalletController(interfaces::Node &node, | WalletController(interfaces::Node &node, | ||||
const PlatformStyle *platform_style, | const PlatformStyle *platform_style, | ||||
OptionsModel *options_model, QObject *parent); | OptionsModel *options_model, QObject *parent); | ||||
~WalletController(); | ~WalletController(); | ||||
std::vector<WalletModel *> getWallets() const; | std::vector<WalletModel *> getWallets() const; | ||||
std::vector<std::string> getWalletsAvailableToOpen() const; | |||||
WalletModel *openWallet(const CChainParams ¶ms, const std::string &name, | |||||
QWidget *parent = nullptr); | |||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void addWallet(WalletModel *wallet_model); | void addWallet(WalletModel *wallet_model); | ||||
Q_SIGNALS: | Q_SIGNALS: | ||||
void walletAdded(WalletModel *wallet_model); | void walletAdded(WalletModel *wallet_model); | ||||
void walletRemoved(WalletModel *wallet_model); | void walletRemoved(WalletModel *wallet_model); | ||||
Show All 13 Lines |