mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
* Refactor CardDatabaseDisplayModel, TokenDisplayModel and TokenEditModel out of CardDatabaseModel. Move every model into an appropriate folder. Took 54 minutes * No folder for database models. Took 6 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
16 lines
403 B
C++
16 lines
403 B
C++
#ifndef CARD_COMPLETER_PROXY_MODEL_H
|
|
#define CARD_COMPLETER_PROXY_MODEL_H
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
class CardCompleterProxyModel : public QSortFilterProxyModel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CardCompleterProxyModel(QObject *parent = nullptr);
|
|
|
|
protected:
|
|
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
|
|
};
|
|
|
|
#endif // CARD_COMPLETER_PROXY_MODEL_H
|