td><td valign="top"><em>ok</em>&nbsp;</td><td> This bool would be set to true if user pressed Ok

<tr><td></td><td valign="top"><em>parent</em>&nbsp;</td><td> Parent of the dialog widget
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> String user entered if Ok was pressed, else a null string
</dd></dl>
</p></div></div><a class="anchor" name="getText"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">QString, bool ok getText