diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-05-06 22:41:35 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-05-20 10:44:50 +0200 |
| commit | 0832c0d1669a3504b7ec21d583aecc79f84e8506 (patch) | |
| tree | 347838e641b27a89db7a8d065e18eab76b06a0c7 /src/qt/addresstablemodel.h | |
| parent | Convert UI interface to boost::signals2. (diff) | |
| download | discoin-0832c0d1669a3504b7ec21d583aecc79f84e8506.tar.xz discoin-0832c0d1669a3504b7ec21d583aecc79f84e8506.zip | |
Process address book updates incrementally
- No longer invalidates selection model, thus retains selection on address book changes
- Fixes selection of new address when added
Diffstat (limited to 'src/qt/addresstablemodel.h')
| -rw-r--r-- | src/qt/addresstablemodel.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index bd73c6d14..42974e3e1 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -74,13 +74,18 @@ private: QStringList columns; EditStatus editStatus; + /** Notify listeners that data changed. */ + void emitDataChanged(int index); + signals: void defaultAddressChanged(const QString &address); public slots: /* Update address list from core. */ - void updateEntry(const QString &address, const QString &label, int status); + void updateEntry(const QString &address, const QString &label, bool isMine, int status); + + friend class AddressTablePriv; }; #endif // ADDRESSTABLEMODEL_H |