Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:27:24

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QTSQLGLOBAL_H
0005 #define QTSQLGLOBAL_H
0006 
0007 #if 0
0008 #pragma qt_class(QSql)
0009 #endif
0010 
0011 #include <QtCore/qglobal.h>
0012 #include <QtSql/qtsql-config.h>
0013 #include <QtSql/qtsqlexports.h>
0014 
0015 QT_BEGIN_NAMESPACE
0016 
0017 namespace QSql
0018 {
0019     enum Location
0020     {
0021         BeforeFirstRow = -1,
0022         AfterLastRow = -2
0023     };
0024 
0025     enum ParamTypeFlag
0026     {
0027         In = 0x00000001,
0028         Out = 0x00000002,
0029         InOut = In | Out,
0030         Binary = 0x00000004
0031     };
0032     Q_DECLARE_FLAGS(ParamType, ParamTypeFlag)
0033 
0034     enum TableType
0035     {
0036         Tables = 0x01,
0037         SystemTables = 0x02,
0038         Views = 0x04,
0039         AllTables = 0xff
0040     };
0041 
0042     enum NumericalPrecisionPolicy
0043     {
0044         LowPrecisionInt32    = 0x01,
0045         LowPrecisionInt64    = 0x02,
0046         LowPrecisionDouble   = 0x04,
0047 
0048         HighPrecision        = 0
0049     };
0050 }
0051 
0052 Q_DECLARE_OPERATORS_FOR_FLAGS(QSql::ParamType)
0053 
0054 QT_END_NAMESPACE
0055 
0056 #endif // QSQL_H