Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtsqlglobal.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QTSQLGLOBAL_H
5
#define QTSQLGLOBAL_H
6
7
#if 0
8
#pragma qt_class(QSql)
9
#endif
10
11
#include <QtCore/qglobal.h>
12
#include <QtSql/qtsql-config.h>
13
#include <QtSql/qtsqlexports.h>
14
15
QT_BEGIN_NAMESPACE
16
17
namespace
QSql
18
{
19
enum
Location
20
{
21
BeforeFirstRow
= -1,
22
AfterLastRow
= -2
23
};
24
25
enum
ParamTypeFlag
26
{
27
In
= 0x00000001,
28
Out
= 0x00000002,
29
InOut
=
In
|
Out
,
30
Binary
= 0x00000004
31
};
32
Q_DECLARE_FLAGS
(
ParamType
,
ParamTypeFlag
)
33
34
enum
TableType
35
{
36
Tables
= 0x01,
37
SystemTables
= 0x02,
38
Views
= 0x04,
39
AllTables
= 0xff
40
};
41
42
enum
NumericalPrecisionPolicy
43
{
44
LowPrecisionInt32
= 0x01,
45
LowPrecisionInt64
= 0x02,
46
LowPrecisionDouble
= 0x04,
47
48
HighPrecision
= 0
49
};
50
}
51
52
Q_DECLARE_OPERATORS_FOR_FLAGS
(QSql::ParamType)
53
54
QT_END_NAMESPACE
55
56
#endif
// QSQL_H
ParamType
ParamType
Definition
helpers.h:13
QSql
Definition
qtsqlglobal.h:18
QSql::Location
Location
Definition
qtsqlglobal.h:20
QSql::AfterLastRow
@ AfterLastRow
Definition
qtsqlglobal.h:22
QSql::BeforeFirstRow
@ BeforeFirstRow
Definition
qtsqlglobal.h:21
QSql::TableType
TableType
Definition
qtsqlglobal.h:35
QSql::SystemTables
@ SystemTables
Definition
qtsqlglobal.h:37
QSql::Views
@ Views
Definition
qtsqlglobal.h:38
QSql::Tables
@ Tables
Definition
qtsqlglobal.h:36
QSql::AllTables
@ AllTables
Definition
qtsqlglobal.h:39
QSql::ParamTypeFlag
ParamTypeFlag
Definition
qtsqlglobal.h:26
QSql::InOut
@ InOut
Definition
qtsqlglobal.h:29
QSql::Binary
@ Binary
Definition
qtsqlglobal.h:30
QSql::In
@ In
Definition
qtsqlglobal.h:27
QSql::Out
@ Out
Definition
qtsqlglobal.h:28
QSql::NumericalPrecisionPolicy
NumericalPrecisionPolicy
Definition
qtsqlglobal.h:43
QSql::LowPrecisionInt32
@ LowPrecisionInt32
Definition
qtsqlglobal.h:44
QSql::LowPrecisionDouble
@ LowPrecisionDouble
Definition
qtsqlglobal.h:46
QSql::LowPrecisionInt64
@ LowPrecisionInt64
Definition
qtsqlglobal.h:45
QSql::HighPrecision
@ HighPrecision
Definition
qtsqlglobal.h:48
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
Q_DECLARE_FLAGS
#define Q_DECLARE_FLAGS(Flags, Enum)
Definition
qflags.h:174
Q_DECLARE_OPERATORS_FOR_FLAGS
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
Definition
qflags.h:194
qtbase
src
sql
kernel
qtsqlglobal.h
Generated by
1.10.0