diff options
author | hjk <hjk@qt.io> | 2022-07-15 11:49:34 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-07-21 08:25:04 +0000 |
commit | 26dd8aef2ac160956c39ac2aca0f6f5c21cbc65e (patch) | |
tree | 21f5211a1f32fe0d10a172f34a76bb8730b4dd1c /src/plugins/python/pythonscanner.cpp | |
parent | f3bceeda532fcc70211ee2397d1925add638ffb4 (diff) | |
download | qt-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.cpp | 9 |
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 |