X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Faddresstablemodel.h;h=3ababfc6b508a7f857d7cbe7edeb8e4d94aff9c8;hb=ebff5c40a234f38429965c391da020bbf8312b1b;hp=d8465853b2d3218b94ee65681462a4221360120e;hpb=05da981f05d7b2e1551345a042d3379e9244f09b;p=novacoin.git diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index d846585..3ababfc 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -16,8 +16,7 @@ public: enum ColumnIndex { Label = 0, /* User specified label */ - Address = 1, /* Bitcoin address */ - IsDefaultAddress = 2 /* Is default address? */ + Address = 1 /* Bitcoin address */ }; enum { @@ -39,11 +38,7 @@ public: /* Add an address to the model. Returns the added address on success, and an empty string otherwise. */ - QString addRow(const QString &type, const QString &label, const QString &address, bool setAsDefault); - - /* Set and get default address */ - QString getDefaultAddress() const; - void setDefaultAddress(const QString &defaultAddress); + QString addRow(const QString &type, const QString &label, const QString &address); /* Update address list from core. Invalidates any indices. */