Qt
6.x
The Qt SDK
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
#pragma qt_deprecates(qsql.h)
10
#endif
11
12
#include <QtCore/qglobal.h>
13
#include <QtSql/qtsql-config.h>
14
#include <QtSql/qtsqlexports.h>
15
16
QT_BEGIN_NAMESPACE
17
18
namespace
QSql
19
{
20
enum
Location
21
{
22
BeforeFirstRow
= -1,
23
AfterLastRow
= -2
24
};
25
26
enum
ParamTypeFlag
27
{
28
In
= 0x00000001,
29
Out
= 0x00000002,
30
InOut
=
In
|
Out
,
31
Binary
= 0x00000004
32
};
33
Q_DECLARE_FLAGS
(
ParamType
,
ParamTypeFlag
)
34
35
enum
TableType
36
{
37
Tables
= 0x01,
38
SystemTables
= 0x02,
39
Views
= 0x04,
40
AllTables
= 0xff
41
};
42
43
enum
NumericalPrecisionPolicy
44
{
45
LowPrecisionInt32
= 0x01,
46
LowPrecisionInt64
= 0x02,
47
LowPrecisionDouble
= 0x04,
48
49
HighPrecision
= 0
50
};
51
}
52
53
Q_DECLARE_OPERATORS_FOR_FLAGS
(QSql::ParamType)
54
55
QT_END_NAMESPACE
56
57
#endif
// QSQL_H
ParamType
ParamType
Definition
helpers.h:13
QSql
Definition
qtsqlglobal.h:19
QSql::Location
Location
Definition
qtsqlglobal.h:21
QSql::AfterLastRow
@ AfterLastRow
Definition
qtsqlglobal.h:23
QSql::BeforeFirstRow
@ BeforeFirstRow
Definition
qtsqlglobal.h:22
QSql::TableType
TableType
Definition
qtsqlglobal.h:36
QSql::SystemTables
@ SystemTables
Definition
qtsqlglobal.h:38
QSql::Views
@ Views
Definition
qtsqlglobal.h:39
QSql::Tables
@ Tables
Definition
qtsqlglobal.h:37
QSql::AllTables
@ AllTables
Definition
qtsqlglobal.h:40
QSql::ParamTypeFlag
ParamTypeFlag
Definition
qtsqlglobal.h:27
QSql::InOut
@ InOut
Definition
qtsqlglobal.h:30
QSql::Binary
@ Binary
Definition
qtsqlglobal.h:31
QSql::In
@ In
Definition
qtsqlglobal.h:28
QSql::Out
@ Out
Definition
qtsqlglobal.h:29
QSql::NumericalPrecisionPolicy
NumericalPrecisionPolicy
Definition
qtsqlglobal.h:44
QSql::LowPrecisionInt32
@ LowPrecisionInt32
Definition
qtsqlglobal.h:45
QSql::LowPrecisionDouble
@ LowPrecisionDouble
Definition
qtsqlglobal.h:47
QSql::LowPrecisionInt64
@ LowPrecisionInt64
Definition
qtsqlglobal.h:46
QSql::HighPrecision
@ HighPrecision
Definition
qtsqlglobal.h:49
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
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.9.7