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/todo | |
parent | 3f44590f4b894fc1fa479d748dd0587aaf6dea50 (diff) |
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/todo')
-rw-r--r-- | src/plugins/todo/keyworddialog.h | 4 | ||||
-rw-r--r-- | src/plugins/todo/optionsdialog.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/todo/keyworddialog.h b/src/plugins/todo/keyworddialog.h index a644661086a..9aaea056cb7 100644 --- a/src/plugins/todo/keyworddialog.h +++ b/src/plugins/todo/keyworddialog.h @@ -37,9 +37,7 @@ namespace Todo { namespace Internal { -namespace Ui { - class KeywordDialog; -} +namespace Ui { class KeywordDialog; } class Keyword; diff --git a/src/plugins/todo/optionsdialog.h b/src/plugins/todo/optionsdialog.h index d271f71ed10..57171fa7340 100644 --- a/src/plugins/todo/optionsdialog.h +++ b/src/plugins/todo/optionsdialog.h @@ -40,9 +40,7 @@ QT_END_NAMESPACE namespace Todo { namespace Internal { -namespace Ui { - class OptionsDialog; -} +namespace Ui { class OptionsDialog; } class Settings; class Keyword; |