Changeset View
Changeset View
Standalone View
Standalone View
src/qt/addresstablemodel.h
Show All 19 Lines | |||||
/** | /** | ||||
* Qt model of the address book in the core. This allows views to access and | * Qt model of the address book in the core. This allows views to access and | ||||
* modify the address book. | * modify the address book. | ||||
*/ | */ | ||||
class AddressTableModel : public QAbstractTableModel { | class AddressTableModel : public QAbstractTableModel { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
explicit AddressTableModel(WalletModel *parent = 0); | explicit AddressTableModel(WalletModel *parent = nullptr); | ||||
~AddressTableModel(); | ~AddressTableModel(); | ||||
enum ColumnIndex { | enum ColumnIndex { | ||||
/** User specified label */ | /** User specified label */ | ||||
Label = 0, | Label = 0, | ||||
/** Bitcoin address */ | /** Bitcoin address */ | ||||
Address = 1 | Address = 1 | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |