Remove direct bitcoin calls from qt/addresstablemodel.cpp

This commit is contained in:
Russell Yanofsky
2017-04-18 13:01:23 -04:00
committed by John Newbery
parent 827de038ab
commit 3ec2ebcd9b
5 changed files with 78 additions and 37 deletions

View File

@@ -13,7 +13,9 @@ enum class OutputType;
class AddressTablePriv;
class WalletModel;
class CWallet;
namespace interface {
class Wallet;
}
/**
Qt model of the address book in the core. This allows views to access and modify the address book.
@@ -23,7 +25,7 @@ class AddressTableModel : public QAbstractTableModel
Q_OBJECT
public:
explicit AddressTableModel(CWallet *wallet, WalletModel *parent = 0);
explicit AddressTableModel(WalletModel *parent = 0);
~AddressTableModel();
enum ColumnIndex {
@@ -80,7 +82,6 @@ public:
private:
WalletModel *walletModel;
CWallet *wallet;
AddressTablePriv *priv;
QStringList columns;
EditStatus editStatus;