3
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /tmp/qt-4.1.4-harald-1150713676011/qt-x11-opensource-src-4.1.4/src/sql/models/qsqlrelationaltablemodel.cpp -->
6
<!-- /tmp/qt-4.1.4-harald-1150713676011/qt-x11-opensource-src-4.1.4/src/sql/models/qsqlrelationaltablemodel.cpp -->
5
<!-- /tmp/qt-4.2.0-qt-1159540607313/qt-x11-opensource-src-4.2.0/src/sql/models/qsqlrelationaltablemodel.cpp -->
8
<title>Qt 4.1: QSqlRelation Class Reference</title>
9
<style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
10
a:link { color: #004faf; text-decoration: none }
11
a:visited { color: #672967; text-decoration: none }
12
td.postheader { font-family: sans-serif }
13
tr.address { font-family: sans-serif }
14
body { background: #ffffff; color: black; }</style>
7
<title>Qt 4.2: QSqlRelation Class Reference</title>
8
<link href="classic.css" rel="stylesheet" type="text/css" />
17
11
<table border="0" cellpadding="0" cellspacing="0" width="100%">
19
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
13
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
20
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
21
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QSqlRelation Class Reference<br /><sup><sup>[<a href="qtsql.html">QtSql</a> module]</sup></sup></h1>
15
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">QSqlRelation Class Reference<br /><sup><sup>[<a href="qtsql.html">QtSql</a> module]</sup></sup></h1>
22
16
<p>The QSqlRelation class stores information about an SQL foreign key. <a href="#details">More...</a></p>
23
<pre>#include <QSqlRelation></pre><ul>
17
<pre> #include <QSqlRelation></pre><ul>
24
18
<li><a href="qsqlrelation-members.html">List of all members, including inherited members</a></li>
26
20
<a name="public-functions"></a>
38
32
<h2>Detailed Description</h2>
39
33
<p>The QSqlRelation class stores information about an SQL foreign key.</p>
40
34
<p>QSqlRelation is a helper class for <a href="qsqlrelationaltablemodel.html">QSqlRelationalTableModel</a>. See <a href="qsqlrelationaltablemodel.html#setRelation">QSqlRelationalTableModel::setRelation</a>() and <a href="qsqlrelationaltablemodel.html#relation">QSqlRelationalTableModel::relation</a>() for details.</p>
41
<p>See also <a href="qsqlrelationaltablemodel.html">QSqlRelationalTableModel</a> and <a href="qsqlrelationaldelegate.html">QSqlRelationalDelegate</a>.</p>
35
<p>See also <a href="qsqlrelationaltablemodel.html">QSqlRelationalTableModel</a>, <a href="qsqlrelationaldelegate.html">QSqlRelationalDelegate</a>, and <a href="sql-relationaltablemodel.html">Relational Table Model Example</a>.</p>
43
37
<h2>Member Function Documentation</h2>
44
38
<h3 class="fn"><a name="QSqlRelation"></a>QSqlRelation::QSqlRelation ()</h3>
60
54
<table width="100%" cellspacing="0" border="0"><tr class="address">
61
55
<td width="30%">Copyright © 2006 <a href="trolltech.html">Trolltech</a></td>
62
56
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
63
<td width="30%" align="right"><div align="right">Qt 4.1.4</div></td>
57
<td width="30%" align="right"><div align="right">Qt 4.2.0</div></td>
64
58
</tr></table></div></address></body>