Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
addresstablemodel.cpp
Go to the documentation of this file.
97 // Even though the map is already sorted this re-sorting step is needed because the originating map
102 void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
119 qWarning() << "AddressTablePriv::updateEntry: Warning: Got CT_NEW, but entry is already in model";
129 qWarning() << "AddressTablePriv::updateEntry: Warning: Got CT_UPDATED, but entry is not in model";
139 qWarning() << "AddressTablePriv::updateEntry: Warning: Got CT_DELETED, but entry is not in model";
295 QVariant AddressTableModel::headerData(int section, Qt::Orientation orientation, int role) const
345 QString AddressTableModel::addRow(const QString &type, const QString &label, const QString &address)
459 Q_EMIT dataChanged(index(idx, 0, QModelIndex()), index(idx, columns.length()-1, QModelIndex()));
AddressTableModel(CWallet *wallet, WalletModel *parent=0)
Definition: addresstablemodel.cpp:167
Generating a new public key for a receiving address failed.
Definition: addresstablemodel.h:45
boost::variant< CNoDestination, CKeyID, CScriptID > CTxDestination
A txout script template with a specific destination.
Definition: standard.h:80
bool operator()(const QString &a, const AddressTableEntry &b) const
Definition: addresstablemodel.cpp:48
QModelIndex index(int row, int column, const QModelIndex &parent) const
Definition: addresstablemodel.cpp:324
AddressTablePriv(CWallet *_wallet, AddressTableModel *_parent)
Definition: addresstablemodel.cpp:76
int lookupAddress(const QString &address) const
Definition: addresstablemodel.cpp:443
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: addresstablemodel.cpp:307
std::map< CTxDestination, CAddressBookData > mapAddressBook
Definition: wallet.h:906
Address already in address book.
Definition: addresstablemodel.h:43
QVariant headerData(int section, Qt::Orientation orientation, int role) const
Definition: addresstablemodel.cpp:295
CKeyID GetID() const
Get the KeyID of this public key (hash of its serialization)
Definition: pubkey.h:149
int rowCount(const QModelIndex &parent) const
Definition: addresstablemodel.cpp:180
int columnCount(const QModelIndex &parent) const
Definition: addresstablemodel.cpp:186
bool operator()(const AddressTableEntry &a, const AddressTableEntry &b) const
Definition: addresstablemodel.cpp:40
bool SetAddressBook(const CTxDestination &address, const std::string &strName, const std::string &purpose)
Definition: wallet.cpp:4277
bool DelAddressBook(const CTxDestination &address)
Definition: wallet.cpp:4295
Wallet could not be unlocked to create new receiving address.
Definition: addresstablemodel.h:44
QList< AddressTableEntry > cachedAddressTable
Definition: addresstablemodel.cpp:73
Definition: ui_interface.h:23
QString labelForAddress(const QString &address) const
Definition: addresstablemodel.cpp:423
AddressTableEntry(Type _type, const QString &_label, const QString &_address)
Definition: addresstablemodel.cpp:34
Definition: addresstablemodel.cpp:21
bool validateAddress(const QString &address)
Definition: walletmodel.cpp:255
Definition: ui_interface.h:24
QString addRow(const QString &type, const QString &label, const QString &address)
Definition: addresstablemodel.cpp:345
bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: addresstablemodel.cpp:404
bool operator()(const AddressTableEntry &a, const QString &b) const
Definition: addresstablemodel.cpp:44
std::string EncodeDestination(const CTxDestination &dest)
Definition: base58.cpp:329
UnlockContext requestUnlock(bool fForMixingOnly=false)
Definition: walletmodel.cpp:640
Definition: ui_interface.h:22
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
Definition: addresstablemodel.cpp:102
void emitDataChanged(int index)
Notify listeners that data changed.
Definition: addresstablemodel.cpp:457
QVariant data(const QModelIndex &index, int role) const
Definition: addresstablemodel.cpp:192
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:715
QString labelForDestination(const CTxDestination &dest) const
Definition: addresstablemodel.cpp:430
Definition: walletmodel.h:182
bool setData(const QModelIndex &index, const QVariant &value, int role)
Definition: addresstablemodel.cpp:239
Definition: addresstablemodel.cpp:69
No changes were made during edit operation.
Definition: addresstablemodel.h:41
static AddressTableEntry::Type translateTransactionType(const QString &strPurpose, bool isMine)
Definition: addresstablemodel.cpp:55
isminetype IsMine(const CKeyStore &keystore, const CTxDestination &dest)
Definition: ismine.cpp:28
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
Definition: addresstablemodel.cpp:338