summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonscanner.cpp
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/pythonscanner.cpp
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/pythonscanner.cpp')
-rw-r--r--src/plugins/python/pythonscanner.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/python/pythonscanner.cpp b/src/plugins/python/pythonscanner.cpp
index 79c4fa3082..8fec2a9182 100644
--- a/src/plugins/python/pythonscanner.cpp
+++ b/src/plugins/python/pythonscanner.cpp
@@ -25,11 +25,9 @@
#include "pythonscanner.h"
-#include "pythonconstants.h"
-#include "pythonplugin.h"
+#include <QSet>
-namespace Python {
-namespace Internal {
+namespace Python::Internal {
Scanner::Scanner(const QChar *text, const int length)
: m_text(text), m_textLength(length), m_state(0)
@@ -399,5 +397,4 @@ void Scanner::parseState(State &state, QChar &savedData) const
savedData = static_cast<ushort>(m_state);
}
-} // namespace Internal
-} // namespace Python
+} // Python::Internal