source: trunk/doc/html/qsql.html@ 190

Last change on this file since 190 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsql.cpp:39 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QSql Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QSql Class Reference<br><small>[<a href="sql.html">sql module</a>]</small></h1>
33
34<p>The QSql class is a namespace for Qt SQL identifiers that
35need to be global-like.
36<a href="#details">More...</a>
37<p><tt>#include &lt;<a href="qsql-h.html">qsql.h</a>&gt;</tt>
38<p><a href="qsql-members.html">List of all member functions.</a>
39<h2>Public Members</h2>
40<ul>
41<li class=fn><a href="#QSql"><b>QSql</b></a> ()</li>
42<li class=fn>enum <a href="#Op-enum"><b>Op</b></a> { None = -1, Insert = 0, Update = 1, Delete = 2 }</li>
43<li class=fn>enum <a href="#Location-enum"><b>Location</b></a> { BeforeFirst = -1, AfterLast = -2 }</li>
44<li class=fn>enum <a href="#Confirm-enum"><b>Confirm</b></a> { Cancel = -1, No = 0, Yes = 1 }</li>
45<li class=fn>enum <a href="#ParameterType-enum"><b>ParameterType</b></a> { In = 1, Out = 2, InOut = 3 }</li>
46<li class=fn>enum <a href="#TableType-enum"><b>TableType</b></a> { Tables = 0x01, SystemTables = 0x02, Views = 0x04, AllTables = 0xff }</li>
47</ul>
48<hr><a name="details"></a><h2>Detailed Description</h2>
49
50
51The QSql class is a namespace for Qt SQL identifiers that
52need to be global-like.
53<p>
54
55
56<p> Normally, you can ignore this class. Several Qt SQL classes
57inherit it, so all the identifiers in the Qt SQL namespace are
58visible without qualification.
59<p>See also <a href="database.html">Database Classes</a>.
60
61<hr><h2>Member Type Documentation</h2>
62<h3 class=fn><a name="Confirm-enum"></a>QSql::Confirm</h3>
63
64<p> This enum type describes edit confirmations.
65<ul>
66<li><tt>QSql::Yes</tt>
67<li><tt>QSql::No</tt>
68<li><tt>QSql::Cancel</tt>
69</ul>
70<h3 class=fn><a name="Location-enum"></a>QSql::Location</h3>
71
72<p> This enum type describes SQL navigation locations.
73<ul>
74<li><tt>QSql::BeforeFirst</tt>
75<li><tt>QSql::AfterLast</tt>
76</ul>
77<h3 class=fn><a name="Op-enum"></a>QSql::Op</h3>
78
79<p> This enum type describes edit operations.
80<ul>
81<li><tt>QSql::None</tt>
82<li><tt>QSql::Insert</tt>
83<li><tt>QSql::Update</tt>
84<li><tt>QSql::Delete</tt>
85</ul>
86<h3 class=fn><a name="ParameterType-enum"></a>QSql::ParameterType</h3>
87
88<p> This enum is used to set the type of a bind parameter
89<ul>
90<li><tt>QSql::In</tt> - the bind parameter is used to put data into the database
91<li><tt>QSql::Out</tt> - the bind parameter is used to receive data from the database
92<li><tt>QSql::InOut</tt> - the bind parameter is used to put data into the
93database; it will be overwritten with output data on executing
94a query.
95</ul>
96<h3 class=fn><a name="TableType-enum"></a>QSql::TableType</h3>
97
98<p> This enum type describes types of tables
99<ul>
100<li><tt>QSql::Tables</tt> - All the tables visible to the user
101<li><tt>QSql::SystemTables</tt> - Internal tables used by the DBMS
102<li><tt>QSql::Views</tt> - All the views visible to the user
103<li><tt>QSql::AllTables</tt> - All of the above
104</ul>
105<hr><h2>Member Function Documentation</h2>
106<h3 class=fn><a name="QSql"></a>QSql::QSql ()
107</h3>
108
109<p> Constructs a Qt SQL namespace class
110
111<!-- eof -->
112<hr><p>
113This file is part of the <a href="index.html">Qt toolkit</a>.
114Copyright &copy; 1995-2007
115<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
116<table width=100% cellspacing=0 border=0><tr>
117<td>Copyright &copy; 2007
118<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
119<td align=right><div align=right>Qt 3.3.8</div>
120</table></div></address></body>
121</html>
Note: See TracBrowser for help on using the repository browser.