Files
qt-creator/src/plugins/cmakeprojectmanager/cmakeformatter.h
hjk 9dad4ab9d4 CMakeProjectManager: Rework CMakeFormatter
Use PagedSettings, make setup more local, remove Q_OBJECT

Change-Id: I9e91f9e63ed8ad15749323bd039d118562dba1a6
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-05-15 11:21:45 +00:00

24 lines
492 B
C++

// Copyright (C) 2016 Lorenz Haas
// Copyright (C) 2022 Xavier BESSON
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
namespace Core { class IDocument; }
namespace CMakeProjectManager::Internal {
class CMakeFormatter
{
public:
CMakeFormatter();
~CMakeFormatter();
void applyIfNecessary(Core::IDocument *document) const;
private:
class CMakeFormatterPrivate *d = nullptr;
};
} // CMakeProjectManager::Internal