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>
This commit is contained in:
Sze Howe Koh 2012-10-26 20:58:33 +08:00 committed by The Qt Project
parent b36e254e41
commit 47459d3350
2 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,6 @@
\brief The QSql namespace contains miscellaneous identifiers used throughout
the Qt SQL library.
\inheaderfile QtSql
\ingroup database

View File

@ -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",