Changeset View
Changeset View
Standalone View
Standalone View
src/qt/editaddressdialog.h
Show All 18 Lines | |||||
/** | /** | ||||
* Dialog for editing an address and associated information. | * Dialog for editing an address and associated information. | ||||
*/ | */ | ||||
class EditAddressDialog : public QDialog { | class EditAddressDialog : public QDialog { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
enum Mode { | enum Mode { NewSendingAddress, EditReceivingAddress, EditSendingAddress }; | ||||
NewSendingAddress, | |||||
EditReceivingAddress, | |||||
EditSendingAddress | |||||
}; | |||||
explicit EditAddressDialog(Mode mode, QWidget *parent = nullptr); | explicit EditAddressDialog(Mode mode, QWidget *parent = nullptr); | ||||
~EditAddressDialog(); | ~EditAddressDialog(); | ||||
void setModel(AddressTableModel *model); | void setModel(AddressTableModel *model); | ||||
void loadRow(int row); | void loadRow(int row); | ||||
QString getAddress() const; | QString getAddress() const; | ||||
Show All 23 Lines |