summaryrefslogtreecommitdiffstats
path: root/scripts/templates
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-10-28 16:17:24 -0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-28 20:13:49 +0100
commit7d844309f856ae472fa16393880e775e865a7ff0 (patch)
tree0f155318dd24d05a67d03af2aec80be746dae63d /scripts/templates
parent43d412b0c2b91f0dd42e49a5a2c60fc27d6ba27a (diff)
Add missing QT_BEGIN/END_NAMESPACE in model .cpp files
Change-Id: I4100ce6c40eccd0a3234392a4af59373c9bf5f37 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'scripts/templates')
-rw-r--r--scripts/templates/qclass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/templates/qclass.cpp b/scripts/templates/qclass.cpp
index 6b23944a..d832ce7e 100644
--- a/scripts/templates/qclass.cpp
+++ b/scripts/templates/qclass.cpp
@@ -62,6 +62,8 @@
[% END -%]
[%- END -%]
+QT_BEGIN_NAMESPACE
+
/*!
\class Q${namespace}${className}
@@ -409,3 +411,5 @@ void Q${namespace}${className}::set${attributeName.remove("^Is")}([% IF !qtType.
}
[%- END %]
+QT_END_NAMESPACE
+