summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-07-15 11:49:34 +0200
committerhjk <hjk@qt.io>2022-07-21 08:25:04 +0000
commit26dd8aef2ac160956c39ac2aca0f6f5c21cbc65e (patch)
tree21f5211a1f32fe0d10a172f34a76bb8730b4dd1c /src/plugins/python/pythonutils.h
parentf3bceeda532fcc70211ee2397d1925add638ffb4 (diff)
downloadqt-creator-26dd8aef2ac160956c39ac2aca0f6f5c21cbc65e.tar.gz
Python: Convert to Tr::tr
Change-Id: I0241053b0d51dbb1a60c43351cbff543fd52573d Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/python/pythonutils.h')
-rw-r--r--src/plugins/python/pythonutils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/python/pythonutils.h b/src/plugins/python/pythonutils.h
index 4ca5ea37a0..ff4b1a324d 100644
--- a/src/plugins/python/pythonutils.h
+++ b/src/plugins/python/pythonutils.h
@@ -27,8 +27,7 @@
#include <utils/filepath.h>
-namespace Python {
-namespace Internal {
+namespace Python::Internal {
enum class ReplType { Unmodified, Import, ImportToplevel };
void openPythonRepl(QObject *parent, const Utils::FilePath &file, ReplType type);
@@ -38,5 +37,4 @@ QString pythonName(const Utils::FilePath &pythonPath);
class PythonProject;
PythonProject *pythonProjectForFile(const Utils::FilePath &pythonFile);
-} // namespace Internal
-} // namespace Python
+} // Python::Internal