Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletmodel.h
Show First 20 Lines • Show All 218 Lines • ▼ Show 20 Lines | public: | ||||
bool isMultiwallet(); | bool isMultiwallet(); | ||||
AddressTableModel *getAddressTableModel() const { | AddressTableModel *getAddressTableModel() const { | ||||
return addressTableModel; | return addressTableModel; | ||||
} | } | ||||
private: | private: | ||||
std::unique_ptr<interfaces::Wallet> m_wallet; | std::unique_ptr<interfaces::Wallet> m_wallet; | ||||
std::unique_ptr<interfaces::Handler> m_handler_unload; | |||||
std::unique_ptr<interfaces::Handler> m_handler_status_changed; | std::unique_ptr<interfaces::Handler> m_handler_status_changed; | ||||
std::unique_ptr<interfaces::Handler> m_handler_address_book_changed; | std::unique_ptr<interfaces::Handler> m_handler_address_book_changed; | ||||
std::unique_ptr<interfaces::Handler> m_handler_transaction_changed; | std::unique_ptr<interfaces::Handler> m_handler_transaction_changed; | ||||
std::unique_ptr<interfaces::Handler> m_handler_show_progress; | std::unique_ptr<interfaces::Handler> m_handler_show_progress; | ||||
std::unique_ptr<interfaces::Handler> m_handler_watch_only_changed; | std::unique_ptr<interfaces::Handler> m_handler_watch_only_changed; | ||||
interfaces::Node &m_node; | interfaces::Node &m_node; | ||||
bool fHaveWatchOnly; | bool fHaveWatchOnly; | ||||
Show All 39 Lines | void coinsSent(WalletModel *wallet, SendCoinsRecipient recipient, | ||||
QByteArray transaction); | QByteArray transaction); | ||||
// Show progress dialog e.g. for rescan | // Show progress dialog e.g. for rescan | ||||
void showProgress(const QString &title, int nProgress); | void showProgress(const QString &title, int nProgress); | ||||
// Watch-only address added | // Watch-only address added | ||||
void notifyWatchonlyChanged(bool fHaveWatchonly); | void notifyWatchonlyChanged(bool fHaveWatchonly); | ||||
// Signal that wallet is about to be removed | |||||
void unload(); | |||||
public Q_SLOTS: | public Q_SLOTS: | ||||
/** Wallet status might have changed. */ | /** Wallet status might have changed. */ | ||||
void updateStatus(); | void updateStatus(); | ||||
/** New transaction, or transaction changed status. */ | /** New transaction, or transaction changed status. */ | ||||
void updateTransaction(); | void updateTransaction(); | ||||
/** New, updated or removed address book entry. */ | /** New, updated or removed address book entry. */ | ||||
void updateAddressBook(const QString &address, const QString &label, | void updateAddressBook(const QString &address, const QString &label, | ||||
bool isMine, const QString &purpose, int status); | bool isMine, const QString &purpose, int status); | ||||
Show All 10 Lines |