Warning, file /frameworks/threadweaver/examples/ThumbNailer/ImageListFilter.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* -*- C++ -*-
0002     This file is part of ThreadWeaver.
0003 
0004     SPDX-FileCopyrightText: 2005-2014 Mirko Boehm <mirko@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 #ifndef IMAGELISTFILTER_H
0010 #define IMAGELISTFILTER_H
0011 
0012 #include "Image.h"
0013 #include <QSortFilterProxyModel>
0014 
0015 class ImageListFilter : public QSortFilterProxyModel
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit ImageListFilter(Image::Steps step, QObject *parent = nullptr);
0020     bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
0021 
0022 private:
0023     Image::Steps m_step;
0024 };
0025 #endif // IMAGELISTFILTER_H