13
13
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QSqlRelation" />QSqlRelation.__init__ (<i>self</i>)</h3><p>Constructs an invalid <a href="qsqlrelation.html">QSqlRelation</a> object.</p>
14
14
<p>For such an object, the <a href="qsqlrelation.html#tableName">tableName</a>(), <a href="qsqlrelation.html#indexColumn">indexColumn</a>(), and <a href="qsqlrelation.html#displayColumn">displayColumn</a>() functions return an empty string.</p>
15
15
<p>See also <a href="qsqlrelation.html#isValid">isValid</a>().</p>
16
<h3 class="fn"><a name="QSqlRelation-2" />QSqlRelation.__init__ (<i>self</i>, <a href="qstring.html">QString</a> <i>aTableName</i>, <a href="qstring.html">QString</a> <i>indexCol</i>, <a href="qstring.html">QString</a> <i>displayCol</i>)</h3><p>Constructs a <a href="qsqlrelation.html">QSqlRelation</a> object, where <i>tableName</i> is the SQL table name to which a foreign key refers, <i>indexColumn</i> is the foreign key, and <i>displayColumn</i> is the field that should be presented to the user.</p>
16
<h3 class="fn"><a name="QSqlRelation-2" />QSqlRelation.__init__ (<i>self</i>, QString <i>aTableName</i>, QString <i>indexCol</i>, QString <i>displayCol</i>)</h3><p>Constructs a <a href="qsqlrelation.html">QSqlRelation</a> object, where <i>tableName</i> is the SQL table name to which a foreign key refers, <i>indexColumn</i> is the foreign key, and <i>displayColumn</i> is the field that should be presented to the user.</p>
17
17
<p>See also <a href="qsqlrelation.html#tableName">tableName</a>(), <a href="qsqlrelation.html#indexColumn">indexColumn</a>(), and <a href="qsqlrelation.html#displayColumn">displayColumn</a>().</p>
18
<h3 class="fn"><a name="QSqlRelation-3" />QSqlRelation.__init__ (<i>self</i>, <a href="qsqlrelation.html">QSqlRelation</a> <i>other</i>)</h3><h3 class="fn"><a name="displayColumn" /><a href="qstring.html">QString</a> QSqlRelation.displayColumn (<i>self</i>)</h3><p>Returns the column from table <a href="qsqlrelation.html#tableName">tableName</a>() that should be presented to the user instead of a foreign key.</p>
19
<h3 class="fn"><a name="indexColumn" /><a href="qstring.html">QString</a> QSqlRelation.indexColumn (<i>self</i>)</h3><p>Returns the index column from table <a href="qsqlrelation.html#tableName">tableName</a>() to which a foreign key refers.</p>
18
<h3 class="fn"><a name="QSqlRelation-3" />QSqlRelation.__init__ (<i>self</i>, <a href="qsqlrelation.html">QSqlRelation</a> <i>other</i>)</h3><h3 class="fn"><a name="displayColumn" />QString QSqlRelation.displayColumn (<i>self</i>)</h3><p>Returns the column from table <a href="qsqlrelation.html#tableName">tableName</a>() that should be presented to the user instead of a foreign key.</p>
19
<h3 class="fn"><a name="indexColumn" />QString QSqlRelation.indexColumn (<i>self</i>)</h3><p>Returns the index column from table <a href="qsqlrelation.html#tableName">tableName</a>() to which a foreign key refers.</p>
20
20
<h3 class="fn"><a name="isValid" />bool QSqlRelation.isValid (<i>self</i>)</h3><p>Returns true if the <a href="qsqlrelation.html">QSqlRelation</a> object is valid; otherwise returns false.</p>
21
<h3 class="fn"><a name="tableName" /><a href="qstring.html">QString</a> QSqlRelation.tableName (<i>self</i>)</h3><p>Returns the name of the table to which a foreign key refers.</p>
22
<p /><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt 4.5.4 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2009</td><td align="right" width="25%">Qt 4.5.1</td></tr></table></div></address></body></html>
b'\\ No newline at end of file'
21
<h3 class="fn"><a name="tableName" />QString QSqlRelation.tableName (<i>self</i>)</h3><p>Returns the name of the table to which a foreign key refers.</p>
22
<p /><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt 4.6 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2009</td><td align="right" width="25%">Qt 4.5.2</td></tr></table></div></address></body></html>
b'\\ No newline at end of file'