diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-02-11 21:55:42 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-02-12 09:30:37 +0100 |
commit | 7ed1576083ceb7a6587796c63510d0fe027a9aac (patch) | |
tree | 3056a9c4bef984e0dd02ef8826b4016df4e986e5 /src/plugins/debugger/qml/qmlengine.h | |
parent | 3f44590f4b894fc1fa479d748dd0587aaf6dea50 (diff) | |
download | qt-creator-7ed1576083ceb7a6587796c63510d0fe027a9aac.tar.gz |
Clean up single namespace forward-declarations
Done using the following ruby script:
Dir.glob('**/*.h').each { |file|
if File.file?(file)
s = File.read(file)
t = s.gsub(/^namespace .+ \{\n\s*class .*;\n\s*\}.*$/) { |m| m.gsub(/\n\s*/, ' ').gsub(/\s*\/\/.*$/, '') }
if t != s
puts file
File.open(file, 'w').write(t)
end
end
}
Change-Id: Iffcb966e90eb8e1a625eccd5dd0b94f000ae368e
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.h')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.h b/src/plugins/debugger/qml/qmlengine.h index 3d2641669a..fc86d2af5c 100644 --- a/src/plugins/debugger/qml/qmlengine.h +++ b/src/plugins/debugger/qml/qmlengine.h @@ -42,9 +42,7 @@ #include <QTextDocument> -namespace Core { -class IDocument; -} +namespace Core { class IDocument; } namespace Debugger { namespace Internal { |