| 423 | } |
| 424 | |
| 425 | void WalletModel::subscribeToCoreSignals() |
| 426 | { |
| 427 | // Connect signals to wallet |
| 428 | m_handler_unload = m_wallet->handleUnload(boost::bind(&NotifyUnload, this)); |
| 429 | m_handler_status_changed = m_wallet->handleStatusChanged(boost::bind(&NotifyKeyStoreStatusChanged, this)); |
| 430 | m_handler_address_book_changed = m_wallet->handleAddressBookChanged(boost::bind(NotifyAddressBookChanged, this, _1, _2, _3, _4, _5)); |
| 431 | m_handler_transaction_changed = m_wallet->handleTransactionChanged(boost::bind(NotifyTransactionChanged, this, _1, _2)); |
| 432 | m_handler_show_progress = m_wallet->handleShowProgress(boost::bind(ShowProgress, this, _1, _2)); |
| 433 | m_handler_watch_only_changed = m_wallet->handleWatchOnlyChanged(boost::bind(NotifyWatchonlyChanged, this, _1)); |
| 434 | } |
| 435 | |
| 436 | void WalletModel::unsubscribeFromCoreSignals() |
| 437 | { |
nothing calls this directly
no test coverage detected