| 453 | } |
| 454 | |
| 455 | void WalletModel::subscribeToCoreSignals() |
| 456 | { |
| 457 | // Connect signals to wallet |
| 458 | m_handler_unload = m_wallet->handleUnload(std::bind(&NotifyUnload, this)); |
| 459 | m_handler_status_changed = m_wallet->handleStatusChanged(std::bind(&NotifyKeyStoreStatusChanged, this)); |
| 460 | m_handler_address_book_changed = m_wallet->handleAddressBookChanged(std::bind(NotifyAddressBookChanged, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5)); |
| 461 | m_handler_transaction_changed = m_wallet->handleTransactionChanged(std::bind(NotifyTransactionChanged, this, std::placeholders::_1, std::placeholders::_2)); |
| 462 | m_handler_show_progress = m_wallet->handleShowProgress(std::bind(ShowProgress, this, std::placeholders::_1, std::placeholders::_2)); |
| 463 | m_handler_watch_only_changed = m_wallet->handleWatchOnlyChanged(std::bind(NotifyWatchonlyChanged, this, std::placeholders::_1)); |
| 464 | m_handler_can_get_addrs_changed = m_wallet->handleCanGetAddressesChanged(std::bind(NotifyCanGetAddressesChanged, this)); |
| 465 | } |
| 466 | |
| 467 | void WalletModel::unsubscribeFromCoreSignals() |
| 468 | { |
nothing calls this directly
no test coverage detected