[go: up one dir, main page]

File: toParamGet.html

package info (click to toggle)
tora 1.3.4-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,632 kB
  • ctags: 7,487
  • sloc: cpp: 68,518; perl: 1,475; ansic: 291; sh: 173; makefile: 51
file content (68 lines) | stat: -rw-r--r-- 4,337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<HTML>
<HEAD>
<TITLE>class toParamGet</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class toParamGet</h1>
		</TD>
		<TD valign="top" align="right" colspan="1"> A help class to parse SQL for input/output bindings and if available also pop up a 
 dialog and ask for values. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="toparamget_h.html">toparamget.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="http://doc.trolltech.com/qdialog.html">QDialog</A> <small>(qt)</small> <small>[public ]</small>, <A HREF="toHelpContext.html">toHelpContext</A> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-toParamGet.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Static Methods</h4><ul><LI>static  <A HREF="#toQList">toQList</A> &nbsp;<b><A HREF="#ref6">getParam</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,<A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref7">setDefault</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &name,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &val) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> A help class to parse SQL for input/output bindings and if available also pop up a 
 dialog and ask for values. Also maintains an internal cache of old values.
 </p>
<A NAME="getParam"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="#toQList">toQList</A> &nbsp;<strong>getParam</strong> (<A HREF="toConnection.html">toConnection</A> &conn,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,<A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>getParam</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Get parameters for specified SQL string.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get binds for.
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent widget if dialog is needed.
</TD></TR>
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">SQL to parse for bindings. Observe that this string can be changed to further
            declare the binds.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Returns a list of values to feed into the query.
   </p>
<A NAME="setDefault"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setDefault</strong> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &name,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &val)
<br></td><td align="right"><h3><strong>setDefault</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Specify a default value for the cache. This can not overwrite a manually
 specified value by the user.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get binds for.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of the bind variable.
</TD></TR>
<TR><TD align="left" valign="top"><i>val</i></TD><TD align="left" valign="top">Value of the bind variable.
   </TD></TR>
</TABLE></P>
<HR>
	<table>
	</table>
</BODY>
</HTML>