sql: Include own headers first
cpp files should include their own headers first (but below config.h) Change-Id: I225bc0f09988167ae7f938f7f21a77d05a3d191b Reviewed-by: Caroline Chao <caroline.chao@digia.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
parent
8347d4e0bd
commit
838e87b825
@ -39,6 +39,8 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "qsql_tds.h"
|
||||
|
||||
#include <qglobal.h>
|
||||
#ifdef Q_OS_WIN32 // We assume that MS SQL Server is used. Set Q_USE_SYBASE to force Sybase.
|
||||
// Conflicting declarations of LPCBYTE in sqlfront.h and winscard.h
|
||||
@ -48,8 +50,6 @@
|
||||
#define Q_USE_SYBASE
|
||||
#endif
|
||||
|
||||
#include "qsql_tds.h"
|
||||
|
||||
#include <qvariant.h>
|
||||
#include <qdatetime.h>
|
||||
#include <qhash.h>
|
||||
|
@ -39,13 +39,14 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "qsqlresult.h"
|
||||
|
||||
#include "qvariant.h"
|
||||
#include "qhash.h"
|
||||
#include "qregexp.h"
|
||||
#include "qsqlerror.h"
|
||||
#include "qsqlfield.h"
|
||||
#include "qsqlrecord.h"
|
||||
#include "qsqlresult.h"
|
||||
#include "qvector.h"
|
||||
#include "qsqldriver.h"
|
||||
#include "qpointer.h"
|
||||
|
@ -40,13 +40,12 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "qsqlquerymodel.h"
|
||||
#include "qsqlquerymodel_p.h"
|
||||
|
||||
#include <qdebug.h>
|
||||
#include <qsqldriver.h>
|
||||
#include <qsqlfield.h>
|
||||
|
||||
#include "qsqlquerymodel_p.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#define QSQL_PREFETCH 255
|
||||
|
Loading…
Reference in New Issue
Block a user