0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>DBConfigureForm class Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
</head><body>
|
|
6 |
<!-- Generated by Doxygen 1.2.16 -->
|
|
7 |
<center>
|
|
8 |
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center>
|
|
9 |
<hr><h1>DBConfigureForm Class Reference</h1><code>#include <<a class="el" href="dbconfigureform_8h-source.html">dbconfigureform.h</a>></code>
|
|
10 |
<p>
|
|
11 |
<a href="classDBConfigureForm-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
|
12 |
<tr><td colspan=2><br><h2>Public Slots</h2></td></tr>
|
|
13 |
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classDBConfigureForm.html#g0">acceptChanges</a> ()</td></tr>
|
|
14 |
<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classDBConfigureForm.html#g1">updateVariables</a> ()</td></tr>
|
|
15 |
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classDBConfigureForm.html#g2">setFormChanged</a> ()</td></tr>
|
|
16 |
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classDBConfigureForm.html#g3">setFormNoChanged</a> ()</td></tr>
|
|
17 |
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
|
18 |
<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDBConfigureForm.html#a0">DBConfigureForm</a> (Tdb_config *mydbconfig, QWidget *parent=0, const char *name=0)</td></tr>
|
|
19 |
</table>
|
|
20 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
21 |
DataBase configuration form, which asks for enough information to connect to a database. The information is stored in a structure given in the constructor. <dl compact><dt><b>
|
|
22 |
See also: </b><dd>
|
|
23 |
<a class="el" href="classDBConfigureForm.html#a0">DBConfigureForm</a>() </dl>
|
|
24 |
<p>
|
|
25 |
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
26 |
<a name="a0" doxytag="DBConfigureForm::DBConfigureForm"></a><p>
|
|
27 |
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
28 |
<tr>
|
|
29 |
<td class="md">
|
|
30 |
<table cellpadding="0" cellspacing="0" border="0">
|
|
31 |
<tr>
|
|
32 |
<td class="md" nowrap valign="top"> DBConfigureForm::DBConfigureForm </td>
|
|
33 |
<td class="md" valign="top">( </td>
|
|
34 |
<td class="md" nowrap valign="top">Tdb_config * </td>
|
|
35 |
<td class="mdname" nowrap> <em>mydbconfig</em>, </td>
|
|
36 |
</tr>
|
|
37 |
<tr>
|
|
38 |
<td></td>
|
|
39 |
<td></td>
|
|
40 |
<td class="md" nowrap>QWidget * </td>
|
|
41 |
<td class="mdname" nowrap> <em>parent</em> = 0, </td>
|
|
42 |
</tr>
|
|
43 |
<tr>
|
|
44 |
<td></td>
|
|
45 |
<td></td>
|
|
46 |
<td class="md" nowrap>const char * </td>
|
|
47 |
<td class="mdname" nowrap> <em>name</em> = 0</td>
|
|
48 |
</tr>
|
|
49 |
<tr>
|
|
50 |
<td></td>
|
|
51 |
<td class="md">) </td>
|
|
52 |
<td class="md" colspan="2"></td>
|
|
53 |
</tr>
|
|
54 |
|
|
55 |
</table>
|
|
56 |
</td>
|
|
57 |
</tr>
|
|
58 |
</table>
|
|
59 |
<table cellspacing=5 cellpadding=0 border=0>
|
|
60 |
<tr>
|
|
61 |
<td>
|
|
62 |
|
|
63 |
</td>
|
|
64 |
<td>
|
|
65 |
|
|
66 |
<p>
|
|
67 |
Constructs the configuration form using mydbconfig for storing the form values. <dl compact><dt><b>
|
|
68 |
Parameters: </b><dd>
|
|
69 |
<table border=0 cellspacing=2 cellpadding=0>
|
|
70 |
<tr><td valign=top><em>mydbconfig</em> </td><td>
|
|
71 |
The structure used to store the database information </td></tr>
|
|
72 |
</table>
|
|
73 |
</dl> </td>
|
|
74 |
</tr>
|
|
75 |
</table>
|
|
76 |
<hr><h2>Member Function Documentation</h2>
|
|
77 |
<a name="g0" doxytag="DBConfigureForm::acceptChanges"></a><p>
|
|
78 |
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
79 |
<tr>
|
|
80 |
<td class="md">
|
|
81 |
<table cellpadding="0" cellspacing="0" border="0">
|
|
82 |
<tr>
|
|
83 |
<td class="md" nowrap valign="top"> void DBConfigureForm::acceptChanges </td>
|
|
84 |
<td class="md" valign="top">( </td>
|
|
85 |
<td class="mdname1" valign="top" nowrap> </td>
|
|
86 |
<td class="md" valign="top">) </td>
|
|
87 |
<td class="md" nowrap><code> [slot]</code></td>
|
|
88 |
</tr>
|
|
89 |
|
|
90 |
</table>
|
|
91 |
</td>
|
|
92 |
</tr>
|
|
93 |
</table>
|
|
94 |
<table cellspacing=5 cellpadding=0 border=0>
|
|
95 |
<tr>
|
|
96 |
<td>
|
|
97 |
|
|
98 |
</td>
|
|
99 |
<td>
|
|
100 |
|
|
101 |
<p>
|
|
102 |
Accept the changes made in the form. It also closes the dialog. </td>
|
|
103 |
</tr>
|
|
104 |
</table>
|
|
105 |
<a name="g2" doxytag="DBConfigureForm::setFormChanged"></a><p>
|
|
106 |
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
107 |
<tr>
|
|
108 |
<td class="md">
|
|
109 |
<table cellpadding="0" cellspacing="0" border="0">
|
|
110 |
<tr>
|
|
111 |
<td class="md" nowrap valign="top"> void DBConfigureForm::setFormChanged </td>
|
|
112 |
<td class="md" valign="top">( </td>
|
|
113 |
<td class="mdname1" valign="top" nowrap> </td>
|
|
114 |
<td class="md" valign="top">) </td>
|
|
115 |
<td class="md" nowrap><code> [slot]</code></td>
|
|
116 |
</tr>
|
|
117 |
|
|
118 |
</table>
|
|
119 |
</td>
|
|
120 |
</tr>
|
|
121 |
</table>
|
|
122 |
<table cellspacing=5 cellpadding=0 border=0>
|
|
123 |
<tr>
|
|
124 |
<td>
|
|
125 |
|
|
126 |
</td>
|
|
127 |
<td>
|
|
128 |
|
|
129 |
<p>
|
|
130 |
Sets the state of the Apply button to Enabled </td>
|
|
131 |
</tr>
|
|
132 |
</table>
|
|
133 |
<a name="g3" doxytag="DBConfigureForm::setFormNoChanged"></a><p>
|
|
134 |
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
135 |
<tr>
|
|
136 |
<td class="md">
|
|
137 |
<table cellpadding="0" cellspacing="0" border="0">
|
|
138 |
<tr>
|
|
139 |
<td class="md" nowrap valign="top"> void DBConfigureForm::setFormNoChanged </td>
|
|
140 |
<td class="md" valign="top">( </td>
|
|
141 |
<td class="mdname1" valign="top" nowrap> </td>
|
|
142 |
<td class="md" valign="top">) </td>
|
|
143 |
<td class="md" nowrap><code> [slot]</code></td>
|
|
144 |
</tr>
|
|
145 |
|
|
146 |
</table>
|
|
147 |
</td>
|
|
148 |
</tr>
|
|
149 |
</table>
|
|
150 |
<table cellspacing=5 cellpadding=0 border=0>
|
|
151 |
<tr>
|
|
152 |
<td>
|
|
153 |
|
|
154 |
</td>
|
|
155 |
<td>
|
|
156 |
|
|
157 |
<p>
|
|
158 |
Sets the state of the Apply button to Disabled </td>
|
|
159 |
</tr>
|
|
160 |
</table>
|
|
161 |
<a name="g1" doxytag="DBConfigureForm::updateVariables"></a><p>
|
|
162 |
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
163 |
<tr>
|
|
164 |
<td class="md">
|
|
165 |
<table cellpadding="0" cellspacing="0" border="0">
|
|
166 |
<tr>
|
|
167 |
<td class="md" nowrap valign="top"> int DBConfigureForm::updateVariables </td>
|
|
168 |
<td class="md" valign="top">( </td>
|
|
169 |
<td class="mdname1" valign="top" nowrap> </td>
|
|
170 |
<td class="md" valign="top">) </td>
|
|
171 |
<td class="md" nowrap><code> [slot]</code></td>
|
|
172 |
</tr>
|
|
173 |
|
|
174 |
</table>
|
|
175 |
</td>
|
|
176 |
</tr>
|
|
177 |
</table>
|
|
178 |
<table cellspacing=5 cellpadding=0 border=0>
|
|
179 |
<tr>
|
|
180 |
<td>
|
|
181 |
|
|
182 |
</td>
|
|
183 |
<td>
|
|
184 |
|
|
185 |
<p>
|
|
186 |
Updates the contents of the db_config structure using the actual values of the input fields Returns 0 if no error, error happened otherwise. </td>
|
|
187 |
</tr>
|
|
188 |
</table>
|
|
189 |
<hr>The documentation for this class was generated from the following files:<ul>
|
|
190 |
<li><a class="el" href="dbconfigureform_8h-source.html">dbconfigureform.h</a><li>dbconfigureform.cpp</ul>
|
|
191 |
<hr><address align="right"><small>Generated on Mon Nov 3 19:26:24 2003 for yagl by
|
|
192 |
<a href="http://www.doxygen.org/index.html">
|
|
193 |
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
|
194 |
width=110 height=53></a>1.2.16 </small></address>
|
|
195 |
</body>
|
|
196 |
</html>
|