aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/filesinallprojectsfind.h
blob: 70702167ecba13b09b6d94d20bde59fe95ef227a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include "allprojectsfind.h"

namespace ProjectExplorer {
namespace Internal {

class FilesInAllProjectsFind : public AllProjectsFind
{
    Q_OBJECT

public:
    QString id() const override;
    QString displayName() const override;

    void writeSettings(QSettings *settings) override;
    void readSettings(QSettings *settings) override;

protected:
    Utils::FileIterator *files(const QStringList &nameFilters,
                               const QStringList &exclusionFilters,
                               const QVariant &additionalParameters) const override;
    QString label() const override;
};

} // namespace Internal
} // namespace ProjectExplorer