danicoinwallet/src/gui/RecentTransactionsModel.h
cryptonotefoundation 04bc8b699f Initial commit
2015-04-29 20:15:01 +03:00

26 lines
739 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;
};
}