Adapt the newly-renamed SQL driver headers to proper private headers

Add the "We mean it" text and remove the now-unnecessary syncqt macros
that used to prevent those headers from being added to the master
includes.

Change-Id: I03ac2a452bc6ac43ebba502bc0ecbf5ee1adf314
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
Thiago Macieira 2013-02-22 14:01:41 -08:00 committed by The Qt Project
parent 1ee1147462
commit 932c50c015
9 changed files with 99 additions and 45 deletions

View File

@ -42,6 +42,17 @@
#ifndef QSQL_DB2_H
#define QSQL_DB2_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#ifdef QT_PLUGIN
#define Q_EXPORT_SQLDRIVER_DB2
#else
@ -53,11 +64,6 @@
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QDB2Driver;
class QDB2DriverPrivate;
class QDB2ResultPrivate;

View File

@ -42,17 +42,23 @@
#ifndef QSQL_IBASE_H
#define QSQL_IBASE_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqlresult.h>
#include <QtSql/qsqldriver.h>
#include <ibase.h>
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QIBaseDriverPrivate;
class QIBaseDriver;

View File

@ -42,6 +42,17 @@
#ifndef QSQL_MYSQL_H
#define QSQL_MYSQL_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqldriver.h>
#include <QtSql/qsqlresult.h>
@ -59,11 +70,6 @@
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QMYSQLDriverPrivate;
class QMYSQLResultPrivate;
class QMYSQLDriver;

View File

@ -42,6 +42,17 @@
#ifndef QSQL_OCI_H
#define QSQL_OCI_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqlresult.h>
#include <QtSql/qsqldriver.h>
@ -56,11 +67,6 @@ typedef struct OCISvcCtx OCISvcCtx;
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QOCIDriver;
class QOCICols;
struct QOCIDriverPrivate;

View File

@ -42,6 +42,17 @@
#ifndef QSQL_ODBC_H
#define QSQL_ODBC_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqldriver.h>
#include <QtSql/qsqlresult.h>
@ -72,11 +83,6 @@
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QODBCPrivate;
class QODBCDriverPrivate;
class QODBCDriver;

View File

@ -42,6 +42,17 @@
#ifndef QSQL_PSQL_H
#define QSQL_PSQL_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqlresult.h>
#include <QtSql/qsqldriver.h>
@ -56,11 +67,6 @@ typedef struct pg_result PGresult;
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QPSQLResultPrivate;
class QPSQLDriverPrivate;
class QPSQLDriver;

View File

@ -42,6 +42,17 @@
#ifndef QSQL_SQLITE_H
#define QSQL_SQLITE_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqldriver.h>
#include <QtSql/qsqlresult.h>
@ -55,11 +66,6 @@ struct sqlite3;
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QSQLiteDriverPrivate;
class QSQLiteDriver;

View File

@ -42,6 +42,17 @@
#ifndef QSQL_SQLITE2_H
#define QSQL_SQLITE2_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqldriver.h>
#include <QtSql/qsqlresult.h>
#include <QtSql/qsqlrecord.h>
@ -55,11 +66,6 @@ struct sqlite;
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QSQLite2DriverPrivate;
class QSQLite2Driver;

View File

@ -42,6 +42,17 @@
#ifndef QSQL_TDS_H
#define QSQL_TDS_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtSql/qsqlresult.h>
#include <QtSql/qsqldriver.h>
@ -68,11 +79,6 @@
QT_BEGIN_NAMESPACE
#if 0
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif
class QTDSDriverPrivate;
class QTDSDriver;