// Copyright (c) 2011-2015 The Cryptonote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include namespace WalletGui { class RecentTransactionsModel : public QSortFilterProxyModel { Q_OBJECT Q_DISABLE_COPY(RecentTransactionsModel) public: RecentTransactionsModel(); ~RecentTransactionsModel(); int columnCount(const QModelIndex& _parent = QModelIndex()) const Q_DECL_OVERRIDE; QVariant data(const QModelIndex& _index, int _role = Qt::DisplayRole) const Q_DECL_OVERRIDE; bool filterAcceptsRow(int _source_row, const QModelIndex& _source_parent) const Q_DECL_OVERRIDE; }; }