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

Dialog for editing an address and associated information. More...

#include <editaddressdialog.h>

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

Public Types

enum  Mode { NewReceivingAddress, NewSendingAddress, EditReceivingAddress, EditSendingAddress }
 

Public Slots

void accept ()
 

Public Member Functions

 EditAddressDialog (Mode mode, QWidget *parent=0)
 
 ~EditAddressDialog ()
 
void setModel (AddressTableModel *model)
 
void loadRow (int row)
 
QString getAddress () const
 
void setAddress (const QString &address)
 

Private Member Functions

bool saveCurrentRow ()
 

Private Attributes

Ui::EditAddressDialog * ui
 
QDataWidgetMapper * mapper
 
Mode mode
 
AddressTableModelmodel
 
QString address
 

Detailed Description

Dialog for editing an address and associated information.

Definition at line 17 of file editaddressdialog.h.

Member Enumeration Documentation

Enumerator
NewReceivingAddress 
NewSendingAddress 
EditReceivingAddress 
EditSendingAddress 

Definition at line 22 of file editaddressdialog.h.

Constructor & Destructor Documentation

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

Definition at line 10 of file editaddressdialog.cpp.

EditAddressDialog::~EditAddressDialog ( )

Definition at line 40 of file editaddressdialog.cpp.

Member Function Documentation

void EditAddressDialog::accept ( )
slot

Definition at line 86 of file editaddressdialog.cpp.

QString EditAddressDialog::getAddress ( ) const

Definition at line 128 of file editaddressdialog.cpp.

void EditAddressDialog::loadRow ( int  row)

Definition at line 56 of file editaddressdialog.cpp.

bool EditAddressDialog::saveCurrentRow ( )
private

Definition at line 61 of file editaddressdialog.cpp.

void EditAddressDialog::setAddress ( const QString &  address)

Definition at line 133 of file editaddressdialog.cpp.

void EditAddressDialog::setModel ( AddressTableModel model)

Definition at line 45 of file editaddressdialog.cpp.

Member Data Documentation

QString EditAddressDialog::address
private

Definition at line 49 of file editaddressdialog.h.

QDataWidgetMapper* EditAddressDialog::mapper
private

Definition at line 45 of file editaddressdialog.h.

Mode EditAddressDialog::mode
private

Definition at line 46 of file editaddressdialog.h.

AddressTableModel* EditAddressDialog::model
private

Definition at line 47 of file editaddressdialog.h.

Ui::EditAddressDialog* EditAddressDialog::ui
private

Definition at line 44 of file editaddressdialog.h.


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