forked from qt-creator/qt-creator
Use PagedSettings, make setup more local, remove Q_OBJECT Change-Id: I9e91f9e63ed8ad15749323bd039d118562dba1a6 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
24 lines
492 B
C++
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
|