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
17
18namespace QSql
19{
21 {
23 AfterLastRow = -2
24 };
25
27 {
28 In = 0x00000001,
29 Out = 0x00000002,
31 Binary = 0x00000004
32 };
34
36 {
37 Tables = 0x01,
39 Views = 0x04,
40 AllTables = 0xff
41 };
42
44 {
48
50 };
51}
52
53Q_DECLARE_OPERATORS_FOR_FLAGS(QSql::ParamType)
54
56
57#endif // QSQL_H
ParamType
Definition helpers.h:13
@ AfterLastRow
Definition qtsqlglobal.h:23
@ BeforeFirstRow
Definition qtsqlglobal.h:22
@ SystemTables
Definition qtsqlglobal.h:38
@ Views
Definition qtsqlglobal.h:39
@ Tables
Definition qtsqlglobal.h:37
@ AllTables
Definition qtsqlglobal.h:40
ParamTypeFlag
Definition qtsqlglobal.h:27
@ InOut
Definition qtsqlglobal.h:30
@ Binary
Definition qtsqlglobal.h:31
NumericalPrecisionPolicy
Definition qtsqlglobal.h:44
@ LowPrecisionInt32
Definition qtsqlglobal.h:45
@ LowPrecisionDouble
Definition qtsqlglobal.h:47
@ LowPrecisionInt64
Definition qtsqlglobal.h:46
@ HighPrecision
Definition qtsqlglobal.h:49
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
Definition qflags.h:174
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
Definition qflags.h:194