2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2010-03-30 12:11:32 +02:00
|
|
|
|
2016-01-27 10:14:00 +01:00
|
|
|
#pragma once
|
2010-03-30 12:11:32 +02:00
|
|
|
|
2014-09-26 09:14:03 +02:00
|
|
|
#include <texteditor/texteditor.h>
|
2010-03-30 12:11:32 +02:00
|
|
|
|
|
|
|
|
namespace CMakeProjectManager {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2011-02-21 16:02:26 +01:00
|
|
|
class CMakeEditorWidget;
|
2010-03-30 12:11:32 +02:00
|
|
|
|
2011-02-21 16:02:26 +01:00
|
|
|
class CMakeEditor : public TextEditor::BaseTextEditor
|
2010-03-30 12:11:32 +02:00
|
|
|
{
|
2011-03-31 17:43:48 +02:00
|
|
|
Q_OBJECT
|
2011-04-13 13:00:30 +02:00
|
|
|
|
2010-03-30 12:11:32 +02:00
|
|
|
public:
|
2019-01-28 11:47:50 +01:00
|
|
|
void contextHelp(const HelpCallback &callback) const override;
|
2014-06-17 11:33:58 +02:00
|
|
|
|
2014-08-19 00:54:45 +02:00
|
|
|
friend class CMakeEditorWidget;
|
2010-03-30 12:11:32 +02:00
|
|
|
};
|
|
|
|
|
|
2014-09-26 11:37:54 +02:00
|
|
|
class CMakeEditorFactory : public TextEditor::TextEditorFactory
|
2014-08-20 00:07:43 +02:00
|
|
|
{
|
|
|
|
|
public:
|
2015-02-04 17:54:46 +01:00
|
|
|
CMakeEditorFactory();
|
2014-08-20 00:07:43 +02:00
|
|
|
};
|
|
|
|
|
|
2010-03-30 12:11:32 +02:00
|
|
|
} // namespace Internal
|
2013-10-16 11:02:37 +02:00
|
|
|
} // namespace CMakeProjectManager
|