danicoinwallet/src/gui/RecentTransactionsModel.h

26 lines
739 B
C
Raw Normal View History

2015-04-29 17:03:08 +00:00
// 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;
};
}