Qt model of the address book in the core.
More...
#include <addresstablemodel.h>
|
void | updateEntry (const QString &address, const QString &label, bool isMine, const QString &purpose, int status) |
|
|
| AddressTableModel (CWallet *wallet, WalletModel *parent=0) |
|
| ~AddressTableModel () |
|
QString | addRow (const QString &type, const QString &label, const QString &address) |
|
QString | labelForAddress (const QString &address) const |
|
int | lookupAddress (const QString &address) const |
|
EditStatus | getEditStatus () const |
|
|
int | rowCount (const QModelIndex &parent) const |
|
int | columnCount (const QModelIndex &parent) const |
|
QVariant | data (const QModelIndex &index, int role) const |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
|
QModelIndex | index (int row, int column, const QModelIndex &parent) const |
|
bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
|
Qt::ItemFlags | flags (const QModelIndex &index) const |
|
|
static const QString | Send = "S" |
| Specifies send address. More...
|
|
static const QString | Receive = "R" |
| Specifies receive address. More...
|
|
Qt model of the address book in the core.
This allows views to access and modify the address book.
Definition at line 19 of file addresstablemodel.h.
Enumerator |
---|
Label |
User specified label.
|
Address |
Fabcoin address.
|
Definition at line 27 of file addresstablemodel.h.
Return status of edit/insert operation.
Enumerator |
---|
OK |
Everything ok.
|
NO_CHANGES |
No changes were made during edit operation.
|
INVALID_ADDRESS |
Unparseable address.
|
DUPLICATE_ADDRESS |
Address already in address book.
|
WALLET_UNLOCK_FAILURE |
Wallet could not be unlocked to create new receiving address.
|
KEY_GENERATION_FAILURE |
Generating a new public key for a receiving address failed.
|
Definition at line 37 of file addresstablemodel.h.
AddressTableModel::~AddressTableModel |
( |
| ) |
|
QString AddressTableModel::addRow |
( |
const QString & |
type, |
|
|
const QString & |
label, |
|
|
const QString & |
address |
|
) |
| |
int AddressTableModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
QVariant AddressTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
void AddressTableModel::emitDataChanged |
( |
int |
index | ) |
|
|
private |
Qt::ItemFlags AddressTableModel::flags |
( |
const QModelIndex & |
index | ) |
const |
EditStatus AddressTableModel::getEditStatus |
( |
| ) |
const |
|
inline |
QVariant AddressTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
QModelIndex AddressTableModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
QString AddressTableModel::labelForAddress |
( |
const QString & |
address | ) |
const |
int AddressTableModel::lookupAddress |
( |
const QString & |
address | ) |
const |
bool AddressTableModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
int AddressTableModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
bool AddressTableModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
void AddressTableModel::updateEntry |
( |
const QString & |
address, |
|
|
const QString & |
label, |
|
|
bool |
isMine, |
|
|
const QString & |
purpose, |
|
|
int |
status |
|
) |
| |
|
slot |
QStringList AddressTableModel::columns |
|
private |
const QString AddressTableModel::Receive = "R" |
|
static |
const QString AddressTableModel::Send = "S" |
|
static |
The documentation for this class was generated from the following files: