1QSql(3qt)                                                            QSql(3qt)
2
3
4

NAME

6       QSql - Namespace for Qt SQL identifiers that need to be global-like
7

SYNOPSIS

9       #include <qsql.h>
10
11   Public Members
12       QSql ()
13       enum Op { None = -1, Insert = 0, Update = 1, Delete = 2 }
14       enum Location { BeforeFirst = -1, AfterLast = -2 }
15       enum Confirm { Cancel = -1, No = 0, Yes = 1 }
16       enum ParameterType { In = 1, Out = 2, InOut = 3 }
17       enum TableType { Tables = 0x01, SystemTables = 0x02, Views = 0x04,
18           AllTables = 0xff }
19

DESCRIPTION

21       The QSql class is a namespace for Qt SQL identifiers that need to be
22       global-like.
23
24       Normally, you can ignore this class. Several Qt SQL classes inherit it,
25       so all the identifiers in the Qt SQL namespace are visible without
26       qualification.
27
28       See also Database Classes.
29
30   Member Type Documentation

QSql::Confirm

32       This enum type describes edit confirmations.
33
34       QSql::Yes
35
36       QSql::No
37
38       QSql::Cancel
39

QSql::Location

41       This enum type describes SQL navigation locations.
42
43       QSql::BeforeFirst
44
45       QSql::AfterLast
46

QSql::Op

48       This enum type describes edit operations.
49
50       QSql::None
51
52       QSql::Insert
53
54       QSql::Update
55
56       QSql::Delete
57

QSql::ParameterType

59       This enum is used to set the type of a bind parameter
60
61       QSql::In - the bind parameter is used to put data into the database
62
63       QSql::Out - the bind parameter is used to receive data from the
64       database
65
66       QSql::InOut - the bind parameter is used to put data into the database;
67       it will be overwritten with output data on executing a query.
68

QSql::TableType

70       This enum type describes types of tables
71
72       QSql::Tables - All the tables visible to the user
73
74       QSql::SystemTables - Internal tables used by the DBMS
75
76       QSql::Views - All the views visible to the user
77
78       QSql::AllTables - All of the above
79

MEMBER FUNCTION DOCUMENTATION

QSql::QSql ()

82       Constructs a Qt SQL namespace class
83
84

SEE ALSO

86       http://doc.trolltech.com/qsql.html
87       http://www.trolltech.com/faq/tech.html
88
90       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
91       license file included in the distribution for a complete license
92       statement.
93

AUTHOR

95       Generated automatically from the source code.
96

BUGS

98       If you find a bug in Qt, please report it as described in
99       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
100       help you. Thank you.
101
102       The definitive Qt documentation is provided in HTML format; it is
103       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
104       web browser. This man page is provided as a convenience for those users
105       who prefer man pages, although this format is not officially supported
106       by Trolltech.
107
108       If you find errors in this manual page, please report them to qt-
109       bugs@trolltech.com.  Please include the name of the manual page
110       (qsql.3qt) and the Qt version (3.3.8).
111
112
113
114Trolltech AS                    2 February 2007                      QSql(3qt)
Impressum