diff options
Diffstat (limited to 'beetplayerproxy.h')
-rw-r--r-- | beetplayerproxy.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/beetplayerproxy.h b/beetplayerproxy.h new file mode 100644 index 0000000..b50b972 --- /dev/null +++ b/beetplayerproxy.h @@ -0,0 +1,15 @@ +#ifndef BEETPLAYERPROXY_H +#define BEETPLAYERPROXY_H + +#include <QSortFilterProxyModel> + +class BeetPlayerProxy : public QSortFilterProxyModel { + Q_OBJECT + public: + BeetPlayerProxy(QObject *parent = 0); + + protected: + virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const; +}; + +#endif // BEETPLAYERPROXY_H |