aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonutils.h
diff options
context:
space:
mode:
authorDavid Schulz <[email protected]>2023-01-13 06:55:05 +0100
committerDavid Schulz <[email protected]>2023-01-20 10:16:36 +0000
commitf0f0cf129ad34be6bcbbf0b693e7dde5cbbc56a1 (patch)
tree7a70d846c780b8eb323a244ccff694780e446007 /src/plugins/python/pythonutils.h
parentd92be80610de0c519a21330cf0e9a24a9c63917d (diff)
Python: add interpreter selector to editor toolbar
Fixes: PYSIDE-2154 Change-Id: If5e90f5bf2923b61af37ebbfcd35c512b3b07db4 Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/python/pythonutils.h')
-rw-r--r--src/plugins/python/pythonutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/python/pythonutils.h b/src/plugins/python/pythonutils.h
index c8adb308ed1..8d5b06974ef 100644
--- a/src/plugins/python/pythonutils.h
+++ b/src/plugins/python/pythonutils.h
@@ -10,6 +10,7 @@ namespace Python::Internal {
enum class ReplType { Unmodified, Import, ImportToplevel };
void openPythonRepl(QObject *parent, const Utils::FilePath &file, ReplType type);
Utils::FilePath detectPython(const Utils::FilePath &documentPath);
+void definePythonForDocument(const Utils::FilePath &documentPath, const Utils::FilePath &python);
QString pythonName(const Utils::FilePath &pythonPath);
class PythonProject;