diff options
author | Sze Howe Koh <szehowe.koh@gmail.com> | 2012-10-26 20:58:33 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-27 22:21:46 +0200 |
commit | 47459d33500b757386573cf802c4aac9a6be8e7e (patch) | |
tree | 2e5b00e4ff8871402522ccbfa05e1631135467ec /sync.profile | |
parent | b36e254e4114119486e43e40f22c09490468192c (diff) | |
download | qtbase-47459d33500b757386573cf802c4aac9a6be8e7e.tar.gz qtbase-47459d33500b757386573cf802c4aac9a6be8e7e.tar.bz2 qtbase-47459d33500b757386573cf802c4aac9a6be8e7e.zip |
Enable the "#include <QSql>" camel-case header, for the QSql namespace
The sync.profile Perl script will now generate the "QSql" header file
during compilation. By removing the \inheaderfile command, the
documentation will now display the namespace's own name as the header
(i.e. "QSql" in this case).
Previously, the only documented way to include the namespace was to
include the whole module, which is expensive. This change also makes
QSql consistent with other namespaces, such as QSsl and QAudio, which
have their own dedicated camel-case headers.
Part of the Header Consistency Project
(http://lists.qt-project.org/pipermail/development/2012-October/007421.html)
Change-Id: Ibb82d442956e767c13b82f1e552aabdf2e8ff110
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'sync.profile')
-rw-r--r-- | sync.profile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sync.profile b/sync.profile index e71ce10e7c..e51e0aa0c2 100644 --- a/sync.profile +++ b/sync.profile @@ -30,6 +30,7 @@ "qevent.h" => "QtEvents", "qnamespace.h" => "Qt", "qnumeric.h" => "QtNumeric", + "qsql.h" => "QSql", "qssl.h" => "QSsl", "qtest.h" => "QTest", "qtconcurrentmap.h" => "QtConcurrentMap", |