Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
MigrateWalletActivity Class Reference

#include <walletcontroller.h>

Inheritance diagram for MigrateWalletActivity:
[legend]
Collaboration diagram for MigrateWalletActivity:
[legend]

Signals

void migrated (WalletModel *wallet_model)
Signals inherited from WalletControllerActivity
void finished ()

Public Member Functions

 MigrateWalletActivity (WalletController *wallet_controller, QWidget *parent)
void restore_and_migrate (const fs::path &path, const std::string &wallet_name)
void migrate (const std::string &path)
Public Member Functions inherited from WalletControllerActivity
 WalletControllerActivity (WalletController *wallet_controller, QWidget *parent_widget)
virtual ~WalletControllerActivity ()=default

Private Member Functions

void do_migrate (const std::string &name)
void finish ()

Private Attributes

QString m_success_message

Additional Inherited Members

Protected Member Functions inherited from WalletControllerActivity
interfaces::Nodenode () const
QObject * worker () const
void showProgressDialog (const QString &title_text, const QString &label_text, bool show_minimized=false)
Protected Attributes inherited from WalletControllerActivity
WalletController *const m_wallet_controller
QWidget *const m_parent_widget
WalletModelm_wallet_model {nullptr}
bilingual_str m_error_message
std::vector< bilingual_strm_warning_message

Detailed Description

Definition at line 183 of file walletcontroller.h.

Constructor & Destructor Documentation

◆ MigrateWalletActivity()

MigrateWalletActivity::MigrateWalletActivity ( WalletController * wallet_controller,
QWidget * parent )
inline

Definition at line 188 of file walletcontroller.h.

Here is the call graph for this function:

Member Function Documentation

◆ do_migrate()

void MigrateWalletActivity::do_migrate ( const std::string & name)
private

Definition at line 442 of file walletcontroller.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ finish()

void MigrateWalletActivity::finish ( )
private

Definition at line 531 of file walletcontroller.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ migrate()

void MigrateWalletActivity::migrate ( const std::string & path)

Definition at line 473 of file walletcontroller.cpp.

Here is the call graph for this function:

◆ migrated

void MigrateWalletActivity::migrated ( WalletModel * wallet_model)
signal
Here is the caller graph for this function:

◆ restore_and_migrate()

void MigrateWalletActivity::restore_and_migrate ( const fs::path & path,
const std::string & wallet_name )

Definition at line 492 of file walletcontroller.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_success_message

QString MigrateWalletActivity::m_success_message
private

Definition at line 197 of file walletcontroller.h.


The documentation for this class was generated from the following files: