// 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 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(); }; }