forked from qt-creator/qt-creator
Change-Id: Ie8516960a106ddeff415b6412d9af66f7d2f0f36 Reviewed-by: David Schulz <david.schulz@qt.io>
26 lines
546 B
C++
26 lines
546 B
C++
// 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
|