From 64170a788ad76d36fc081fa68601cf9a3fe2f5fd Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 23 Mar 2022 07:40:20 +0100 Subject: Python: extract pythonProjectForFile function to utils Change-Id: I4055527302cab09f55cd4b06bfd3896accb4832a Reviewed-by: Christian Stenger --- src/plugins/python/pythonutils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/python/pythonutils.h') diff --git a/src/plugins/python/pythonutils.h b/src/plugins/python/pythonutils.h index c8844d964e..6493c612a6 100644 --- a/src/plugins/python/pythonutils.h +++ b/src/plugins/python/pythonutils.h @@ -35,5 +35,8 @@ void openPythonRepl(QObject *parent, const Utils::FilePath &file, ReplType type) Utils::FilePath detectPython(const Utils::FilePath &documentPath); QString pythonName(const Utils::FilePath &pythonPath); +class PythonProject; +PythonProject *pythonProjectForFile(const Utils::FilePath &pythonFile); + } // namespace Internal } // namespace Python -- cgit v1.2.1