Changeset View
Changeset View
Standalone View
Standalone View
src/qt/recentrequeststablemodel.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | public: | ||||
int rowCount(const QModelIndex &parent) const override; | int rowCount(const QModelIndex &parent) const override; | ||||
int columnCount(const QModelIndex &parent) const override; | int columnCount(const QModelIndex &parent) const override; | ||||
QVariant data(const QModelIndex &index, int role) const override; | QVariant data(const QModelIndex &index, int role) const override; | ||||
bool setData(const QModelIndex &index, const QVariant &value, | bool setData(const QModelIndex &index, const QVariant &value, | ||||
int role) override; | int role) override; | ||||
QVariant headerData(int section, Qt::Orientation orientation, | QVariant headerData(int section, Qt::Orientation orientation, | ||||
int role) const override; | int role) const override; | ||||
QModelIndex index(int row, int column, | QModelIndex index(int row, int column, | ||||
const QModelIndex &parent) const override; | const QModelIndex &parent = QModelIndex()) const override; | ||||
bool removeRows(int row, int count, | bool removeRows(int row, int count, | ||||
const QModelIndex &parent = QModelIndex()) override; | const QModelIndex &parent = QModelIndex()) override; | ||||
Qt::ItemFlags flags(const QModelIndex &index) const override; | Qt::ItemFlags flags(const QModelIndex &index) const override; | ||||
/*@}*/ | /*@}*/ | ||||
const RecentRequestEntry &entry(int row) const { return list[row]; } | const RecentRequestEntry &entry(int row) const { return list[row]; } | ||||
void addNewRequest(const SendCoinsRecipient &recipient); | void addNewRequest(const SendCoinsRecipient &recipient); | ||||
void addNewRequest(const std::string &recipient); | void addNewRequest(const std::string &recipient); | ||||
Show All 21 Lines |