1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QRESOURCE_ITERATOR_P_H
5#define QRESOURCE_ITERATOR_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "qabstractfileengine_p.h"
19#include "qdir.h"
20
21QT_BEGIN_NAMESPACE
22
23class QResourceFileEngineIteratorPrivate;
24class QResourceFileEngineIterator : public QAbstractFileEngineIterator
25{
26public:
27 QResourceFileEngineIterator(QDir::Filters filters, const QStringList &filterNames);
28 ~QResourceFileEngineIterator();
29
30 QString next() override;
31 bool hasNext() const override;
32
33 QString currentFileName() const override;
34
35private:
36 mutable QStringList entries;
37 mutable int index;
38};
39
40QT_END_NAMESPACE
41
42#endif
43

source code of qtbase/src/corelib/io/qresource_iterator_p.h