aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/fontsettingspage.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-02-11 21:55:42 +0200
committerhjk <hjk121@nokiamail.com>2014-02-12 09:30:37 +0100
commit7ed1576083ceb7a6587796c63510d0fe027a9aac (patch)
tree3056a9c4bef984e0dd02ef8826b4016df4e986e5 /src/plugins/texteditor/fontsettingspage.h
parent3f44590f4b894fc1fa479d748dd0587aaf6dea50 (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/texteditor/fontsettingspage.h')
-rw-r--r--src/plugins/texteditor/fontsettingspage.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/texteditor/fontsettingspage.h b/src/plugins/texteditor/fontsettingspage.h
index 0466ad8bf8..c0e82fd295 100644
--- a/src/plugins/texteditor/fontsettingspage.h
+++ b/src/plugins/texteditor/fontsettingspage.h
@@ -46,9 +46,7 @@ QT_END_NAMESPACE
namespace TextEditor {
-namespace Internal {
-class FontSettingsPagePrivate;
-} // namespace Internal
+namespace Internal { class FontSettingsPagePrivate; }
// GUI description of a format consisting of id (settings key)
// and displayName to be displayed