Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | Private Slots | Private Attributes | List of all members
AskPassphraseDialog Class Reference

Multifunctional dialog to ask for passphrases. More...

#include <askpassphrasedialog.h>

Inheritance diagram for AskPassphraseDialog:
Inheritance graph
[legend]
Collaboration diagram for AskPassphraseDialog:
Collaboration graph
[legend]

Public Types

enum  Mode { Encrypt, Unlock, ChangePass, Decrypt }
 

Public Member Functions

 AskPassphraseDialog (Mode mode, QWidget *parent=0)
 
 ~AskPassphraseDialog ()
 
void accept ()
 
void setModel (WalletModel *model)
 

Private Slots

void textChanged ()
 
bool event (QEvent *event)
 
bool eventFilter (QObject *object, QEvent *event)
 

Private Attributes

Ui::AskPassphraseDialog * ui
 
Mode mode
 
WalletModelmodel
 
bool fCapsLock
 

Detailed Description

Multifunctional dialog to ask for passphrases.

Used for encryption, unlocking, and changing the passphrase.

Definition at line 13 of file askpassphrasedialog.h.

Member Enumeration Documentation

Enumerator
Encrypt 

Ask passphrase twice and encrypt.

Unlock 

Ask passphrase and unlock.

ChangePass 

Ask old passphrase + new passphrase twice.

Decrypt 

Ask passphrase and decrypt wallet.

Definition at line 18 of file askpassphrasedialog.h.

Constructor & Destructor Documentation

AskPassphraseDialog::AskPassphraseDialog ( Mode  mode,
QWidget *  parent = 0 
)
explicit

Definition at line 11 of file askpassphrasedialog.cpp.

AskPassphraseDialog::~AskPassphraseDialog ( )

Definition at line 64 of file askpassphrasedialog.cpp.

Member Function Documentation

void AskPassphraseDialog::accept ( )

Definition at line 78 of file askpassphrasedialog.cpp.

bool AskPassphraseDialog::event ( QEvent *  event)
privateslot

Definition at line 207 of file askpassphrasedialog.cpp.

bool AskPassphraseDialog::eventFilter ( QObject *  object,
QEvent *  event 
)
privateslot

Definition at line 224 of file askpassphrasedialog.cpp.

void AskPassphraseDialog::setModel ( WalletModel model)

Definition at line 73 of file askpassphrasedialog.cpp.

void AskPassphraseDialog::textChanged ( )
privateslot

Definition at line 187 of file askpassphrasedialog.cpp.

Member Data Documentation

bool AskPassphraseDialog::fCapsLock
private

Definition at line 36 of file askpassphrasedialog.h.

Mode AskPassphraseDialog::mode
private

Definition at line 34 of file askpassphrasedialog.h.

WalletModel* AskPassphraseDialog::model
private

Definition at line 35 of file askpassphrasedialog.h.

Ui::AskPassphraseDialog* AskPassphraseDialog::ui
private

Definition at line 33 of file askpassphrasedialog.h.


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