blob: da498be023485710faf530c7f31d41fab4c9ec72 (
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
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <texteditor/textdocument.h>
namespace Python::Internal {
class PythonDocument : public TextEditor::TextDocument
{
Q_OBJECT
public:
PythonDocument();
void updateCurrentPython();
void updatePython(const Utils::FilePath &python);
signals:
void pythonUpdated(const Utils::FilePath &python);
};
void setupPythonEditorFactory(QObject *guard);
} // Python::Internal
|