diff options
| author | David Schulz <david.schulz@qt.io> | 2023-11-01 15:05:03 +0100 |
|---|---|---|
| committer | David Schulz <david.schulz@qt.io> | 2023-11-28 12:17:14 +0000 |
| commit | 09e94ae4ac040ad313b7b86e62489dee7cd3804a (patch) | |
| tree | 1e907c076ba18b326b413ed5ac551db4a3e5e380 /src/plugins/python/pythoneditor.h | |
| parent | 12428bf1d67bd282c5276383c91d968451b44036 (diff) | |
Python: use kits page in python wizards
Change-Id: I1f7aaf145443481546abb868c8c167186600b848
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythoneditor.h')
| -rw-r--r-- | src/plugins/python/pythoneditor.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/python/pythoneditor.h b/src/plugins/python/pythoneditor.h index e2eef32b88d..6f6b30c1c3e 100644 --- a/src/plugins/python/pythoneditor.h +++ b/src/plugins/python/pythoneditor.h @@ -3,6 +3,7 @@ #pragma once +#include <texteditor/textdocument.h> #include <texteditor/texteditor.h> namespace Python::Internal { @@ -15,4 +16,17 @@ private: QObject m_guard; }; +class PythonDocument : public TextEditor::TextDocument +{ + Q_OBJECT +public: + PythonDocument(); + + void updateCurrentPython(); + void updatePython(const Utils::FilePath &python); + +signals: + void pythonUpdated(const Utils::FilePath &python); +}; + } // Python::Internal |
