class toParamGet

A help class to parse SQL for input/output bindings and if available also pop up a dialog and ask for values. More...

Definition#include <toparamget.h>
InheritsQDialog (qt) [public ], toHelpContext [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Static Methods

Protected Methods


Detailed Description

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.

void  resizeEvent (QResizeEvent *e)

resizeEvent

[protected virtual]

toQList  getParam (toConnection &conn,QWidget *parent,QString &str,bool interactive=true)

getParam

[static]

Get parameters for specified SQL string.

Parameters:
connConnection to get binds for.
parentParent widget if dialog is needed.
strSQL to parse for bindings. Observe that this string can be changed to further declare the binds.
interactiveIf not interactive simply rewrite the query and pass on the defaults.

Returns: Returns a list of values to feed into the query.

void  setDefault (toConnection &conn,const QString &name,const QString &val)

setDefault

[static]

Specify a default value for the cache. This can not overwrite a manually specified value by the user.

Parameters:
connConnection to get binds for.
nameName of the bind variable.
valValue of the bind variable.


Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.