bind transactionmodel

This commit is contained in:
Wladimir J. van der Laan
2011-05-27 08:20:23 +02:00
parent 8968bf2e36
commit 213f763630
5 changed files with 229 additions and 9 deletions

View File

@@ -12,7 +12,13 @@ AddressTableModel::AddressTableModel(QObject *parent) :
int AddressTableModel::rowCount(const QModelIndex &parent) const
{
return 5;
Q_UNUSED(parent);
int retval = 0;
CRITICAL_BLOCK(cs_mapAddressBook)
{
retval = mapAddressBook.size();
}
return retval;
}
int AddressTableModel::columnCount(const QModelIndex &parent) const