aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/semantichighlighter.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-02-03 23:48:19 +0200
committerhjk <hjk@theqtcompany.com>2015-02-06 09:06:18 +0000
commit428565cb028a72d7ee82a6c3dd859c08c34b56a7 (patch)
tree4f9fcca395af5aa719d1c5fda04f991c6d024500 /src/plugins/texteditor/semantichighlighter.cpp
parentf7835eb5f2ab8e5d7dc40a58740956b4b1b6a08c (diff)
Core: Remove unneeded qualifications
Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I5c6690f51488bf8ca3610ba9fb11e6e5fd814aaa Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/semantichighlighter.cpp')
0 files changed, 0 insertions, 0 deletions