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

30 lines
621 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 SortedTransactionsModel : public QSortFilterProxyModel {
Q_OBJECT
Q_DISABLE_COPY(SortedTransactionsModel)
public:
static SortedTransactionsModel& instance();
protected:
bool lessThan(const QModelIndex& _left, const QModelIndex& _right) const Q_DECL_OVERRIDE;
private:
SortedTransactionsModel();
~SortedTransactionsModel();
};
}