danicoinwallet/src/gui/RecentTransactionsModel.h
2015-04-30 15:11:48 +03:00

25 lines
738 B
C++

// 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 <QSortFilterProxyModel>
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;
};
}