summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-01-27 09:01:48 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-01-27 09:16:26 (GMT)
commitbd6c9225328b6042ff14dfddb28e2e1279ba0e46 (patch)
tree8a73cb69d6b3ea2a74b070661548940460a7fffd /src
parent5c91e32a6238fd112a7282443214c8686cda51de (diff)
downloadQt-bd6c9225328b6042ff14dfddb28e2e1279ba0e46.zip
Qt-bd6c9225328b6042ff14dfddb28e2e1279ba0e46.tar.gz
Qt-bd6c9225328b6042ff14dfddb28e2e1279ba0e46.tar.bz2
Make syncqt not complain about missing header macros.
qsharedpointer_impl.h contains class definitions that are also mirrored in qsharedpointer.h (which is there for qdoc3), so we have a macro to stop processing. Task-number: QTBUG-16912 Reviewed-by: Olivier Goffart
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qsharedpointer_impl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/corelib/tools/qsharedpointer_impl.h b/src/corelib/tools/qsharedpointer_impl.h
index 2404d2a..0337c1f 100644
--- a/src/corelib/tools/qsharedpointer_impl.h
+++ b/src/corelib/tools/qsharedpointer_impl.h
@@ -44,7 +44,17 @@
#ifndef QSHAREDPOINTER_H
#error Do not include qsharedpointer_impl.h directly
#endif
+
#if 0
+// These macros are duplicated here to make syncqt not complain a about
+// this header, as we have a "qt_sync_stop_processing" below, which in turn
+// is here because this file contains a template mess and duplicates the
+// classes found in qsharedpointer.h
+QT_BEGIN_HEADER
+QT_BEGIN_NAMESPACE
+QT_MODULE(Core)
+QT_END_NAMESPACE
+QT_END_HEADER
#pragma qt_sync_stop_processing
#endif