Files
qt-creator/src/plugins/cppcheck/cppcheckmanualrundialog.h
hjk 2b7e8599c8 CppCheck: Move widget creation for manual run closer to its use
Change-Id: I08d50f5e4534b8a58d374ae37bfd03dbd234a483
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-19 14:00:17 +00:00

33 lines
675 B
C++

// Copyright (C) 2019 Sergey Morozov
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QDialog>
namespace Utils {
class FilePath;
using FilePaths = QList<FilePath>;
} // Utils
namespace ProjectExplorer {
class Project;
class SelectableFilesFromDirModel;
} // ProjectExplorer
namespace Cppcheck::Internal {
class ManualRunDialog : public QDialog
{
public:
explicit ManualRunDialog(const ProjectExplorer::Project *project);
Utils::FilePaths filePaths() const;
QSize sizeHint() const override;
private:
ProjectExplorer::SelectableFilesFromDirModel *m_model;
};
} // Cppcheck::Internal