PIVX Core  5.6.99
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
SettingsWalletRepairWidget Class Reference

#include <walletrepairwidget.h>

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

Public Slots

void walletSalvage ()
 Restart wallet with "-salvagewallet". More...
 
void walletRescan ()
 Restart wallet with "-rescan". More...
 
void walletZaptxes1 ()
 Restart wallet with "-zapwallettxes=1". More...
 
void walletZaptxes2 ()
 Restart wallet with "-zapwallettxes=2". More...
 
void walletUpgrade ()
 Restart wallet with "-upgradewallet". More...
 
void walletReindex ()
 Restart wallet with "-reindex". More...
 
void walletResync ()
 Restart wallet with "-resync". More...
 

Signals

void handleRestart (QStringList args)
 Get restart command-line parameters and handle restart. More...
 
- Signals inherited from PWidget
void message (const QString &title, const QString &body, unsigned int style, bool *ret=nullptr)
 
void showHide (bool show)
 
bool execDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 

Public Member Functions

 SettingsWalletRepairWidget (PIVXGUI *_window, QWidget *parent=nullptr)
 
 ~SettingsWalletRepairWidget ()
 
void buildParameterlist (QString arg)
 Build parameter list for restart. More...
 
- Public Member Functions inherited from PWidget
 PWidget (PIVXGUI *_window=nullptr, QWidget *parent=nullptr)
 
 PWidget (PWidget *parent=nullptr)
 
void setClientModel (ClientModel *model)
 
void setWalletModel (WalletModel *model)
 
PIVXGUIgetWindow ()
 
void run (int type) override
 
void onError (QString error, int type) override
 
void inform (const QString &message)
 
void emitMessage (const QString &title, const QString &message, unsigned int style, bool *ret=nullptr)
 
QString translate (const char *msg) override
 

Private Attributes

Ui::SettingsWalletRepairWidget * ui
 

Additional Inherited Members

- Protected Slots inherited from PWidget
virtual void changeTheme (bool isLightTheme, QString &theme)
 
void onChangeTheme (bool isLightTheme, QString &theme)
 
- Protected Member Functions inherited from PWidget
virtual void loadClientModel ()
 
virtual void loadWalletModel ()
 
void showHideOp (bool show)
 
bool execute (int type, std::unique_ptr< WalletModel::UnlockContext > pctx=nullptr)
 
void warn (const QString &title, const QString &message)
 
bool ask (const QString &title, const QString &message)
 
void showDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 
- Protected Attributes inherited from PWidget
PIVXGUIwindow = nullptr
 
ClientModelclientModel = nullptr
 
WalletModelwalletModel = nullptr
 

Detailed Description

Definition at line 15 of file walletrepairwidget.h.

Constructor & Destructor Documentation

◆ SettingsWalletRepairWidget()

SettingsWalletRepairWidget::SettingsWalletRepairWidget ( PIVXGUI _window,
QWidget *  parent = nullptr 
)
explicit

Definition at line 10 of file walletrepairwidget.cpp.

Here is the call graph for this function:

◆ ~SettingsWalletRepairWidget()

SettingsWalletRepairWidget::~SettingsWalletRepairWidget ( )

Definition at line 126 of file walletrepairwidget.cpp.

Member Function Documentation

◆ buildParameterlist()

void SettingsWalletRepairWidget::buildParameterlist ( QString  arg)

Build parameter list for restart.

Build command-line parameter list for restart.

Definition at line 105 of file walletrepairwidget.cpp.

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

◆ handleRestart

void SettingsWalletRepairWidget::handleRestart ( QStringList  args)
signal

Get restart command-line parameters and handle restart.

Here is the caller graph for this function:

◆ walletReindex

void SettingsWalletRepairWidget::walletReindex ( )
slot

Restart wallet with "-reindex".

Definition at line 78 of file walletrepairwidget.cpp.

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

◆ walletRescan

void SettingsWalletRepairWidget::walletRescan ( )
slot

Restart wallet with "-rescan".

Definition at line 54 of file walletrepairwidget.cpp.

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

◆ walletResync

void SettingsWalletRepairWidget::walletResync ( )
slot

Restart wallet with "-resync".

Definition at line 84 of file walletrepairwidget.cpp.

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

◆ walletSalvage

void SettingsWalletRepairWidget::walletSalvage ( )
slot

Restart wallet with "-salvagewallet".

Definition at line 48 of file walletrepairwidget.cpp.

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

◆ walletUpgrade

void SettingsWalletRepairWidget::walletUpgrade ( )
slot

Restart wallet with "-upgradewallet".

Definition at line 72 of file walletrepairwidget.cpp.

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

◆ walletZaptxes1

void SettingsWalletRepairWidget::walletZaptxes1 ( )
slot

Restart wallet with "-zapwallettxes=1".

Definition at line 60 of file walletrepairwidget.cpp.

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

◆ walletZaptxes2

void SettingsWalletRepairWidget::walletZaptxes2 ( )
slot

Restart wallet with "-zapwallettxes=2".

Definition at line 66 of file walletrepairwidget.cpp.

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

Member Data Documentation

◆ ui

Ui::SettingsWalletRepairWidget* SettingsWalletRepairWidget::ui
private

Definition at line 40 of file walletrepairwidget.h.


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