summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-03-16 09:28:01 +0100
committerDavid Schulz <david.schulz@qt.io>2022-03-28 09:29:08 +0000
commitff686f567900ac45860556253c397425edc05cfc (patch)
tree2ae532379aea399c8e1d5efcbc568ab81c5c3748 /src/plugins/python/pythonutils.h
parentb8c8e0ccae8a3276a755ea41221bbb42bed9df31 (diff)
downloadqt-creator-ff686f567900ac45860556253c397425edc05cfc.tar.gz
Python: move python name cache to utils
Change-Id: I7f6d13a465be6de90aea64e7f19c92bca3ee6c19 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
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 c33bf456ca..c8844d964e 100644
--- a/src/plugins/python/pythonutils.h
+++ b/src/plugins/python/pythonutils.h
@@ -33,6 +33,7 @@ namespace Internal {
enum class ReplType { Unmodified, Import, ImportToplevel };
void openPythonRepl(QObject *parent, const Utils::FilePath &file, ReplType type);
Utils::FilePath detectPython(const Utils::FilePath &documentPath);
+QString pythonName(const Utils::FilePath &pythonPath);
} // namespace Internal
} // namespace Python