diff options
Diffstat (limited to 'doc')
152 files changed, 5020 insertions, 5020 deletions
diff --git a/doc/changes.doc b/doc/changes.doc index 42a5f1192..5a44eb7be 100644 --- a/doc/changes.doc +++ b/doc/changes.doc @@ -132,7 +132,7 @@ COM-like interface. QPluginManager makes it trivial to implement plugin support in applications. The TQt library is able to load additional styles, database drivers and text codecs from plugins which implement the relevant interfaces, e.g. QStyleFactoryInterface, -QSqlDriverInterface or QTextCodecInterface. It is possible to remove +TQSqlDriverInterface or QTextCodecInterface. It is possible to remove unused components from the TQt library, and easy to extend any application with 3rd party styles, database drivers or text codecs. diff --git a/doc/classchart.doc b/doc/classchart.doc index 2ae352f56..8819de2f2 100644 --- a/doc/classchart.doc +++ b/doc/classchart.doc @@ -70,11 +70,11 @@ <area shape="rect" coords="40,502,152,523" href="ntqcdestyle.html"> <area shape="rect" coords="40,523,149,542" href="ntqmotifplusstyle.html"> <area shape="rect" coords="40,542,150,565" href="ntqstyleplugin.html"> -<area shape="rect" coords="42,572,151,598" href="ntqsqleditorfactory.html"> -<area shape="rect" coords="41,595,149,612" href="ntqsql.html"> -<area shape="rect" coords="41,612,137,629" href="ntqsqlresult.html"> -<area shape="rect" coords="41,629,138,647" href="ntqsqlpropertymap.html"> -<area shape="rect" coords="44,647,145,672" href="ntqsqldriverplugin.html"> +<area shape="rect" coords="42,572,151,598" href="tqsqleditorfactory.html"> +<area shape="rect" coords="41,595,149,612" href="tqsql.html"> +<area shape="rect" coords="41,612,137,629" href="tqsqlresult.html"> +<area shape="rect" coords="41,629,138,647" href="tqsqlpropertymap.html"> +<area shape="rect" coords="44,647,145,672" href="tqsqldriverplugin.html"> <area shape="rect" coords="179,58,275,79" href="ntqevent.html"> <area shape="rect" coords="176,79,274,96" href="qimevent.html"> <area shape="rect" coords="176,96,283,114" href="qkeyevent.html"> @@ -97,13 +97,13 @@ <area shape="rect" coords="167,466,259,487" href="ntqftp.html"> <area shape="rect" coords="168,487,268,505" href="ntqhttp.html"> <area shape="rect" coords="166,505,268,532" href="ntqlocalfs.html"> -<area shape="rect" coords="166,532,274,560" href="ntqsqlfield.html"> -<area shape="rect" coords="168,559,274,578" href="qsqlfieldinfo.html"> -<area shape="rect" coords="168,578,275,594" href="ntqsqlrecord.html"> -<area shape="rect" coords="167,594,275,611" href="qsqlrecordinfo.html"> -<area shape="rect" coords="167,611,267,631" href="ntqsqlcursor.html"> -<area shape="rect" coords="163,632,261,649" href="ntqsqlindex.html"> -<area shape="rect" coords="163,649,271,671" href="ntqsqlquery.html"> +<area shape="rect" coords="166,532,274,560" href="tqsqlfield.html"> +<area shape="rect" coords="168,559,274,578" href="tqsqlfieldinfo.html"> +<area shape="rect" coords="168,578,275,594" href="tqsqlrecord.html"> +<area shape="rect" coords="167,594,275,611" href="tqsqlrecordinfo.html"> +<area shape="rect" coords="167,611,267,631" href="tqsqlcursor.html"> +<area shape="rect" coords="163,632,261,649" href="tqsqlindex.html"> +<area shape="rect" coords="163,649,271,671" href="tqsqlquery.html"> <area shape="rect" coords="287,36,386,64" href="tqobject.html"> <area shape="rect" coords="288,60,396,78" href="ntqaccel.html"> <area shape="rect" coords="291,78,395,97" href="ntqaction.html"> @@ -131,14 +131,14 @@ <area shape="rect" coords="290,470,401,488" href="qdoublevalidator.html"> <area shape="rect" coords="290,488,401,505" href="qintvalidator.html"> <area shape="rect" coords="294,505,400,524" href="qregexpvalidator.html"> -<area shape="rect" coords="294,524,401,540" href="ntqeditorfactory.html"> +<area shape="rect" coords="294,524,401,540" href="tqeditorfactory.html"> <area shape="rect" coords="282,541,401,567" href="ntqlayout.html"> -<area shape="rect" coords="289,568,397,594" href="ntqsqldatabase.html"> -<area shape="rect" coords="290,594,397,610" href="ntqsqldriver.html"> -<area shape="rect" coords="290,610,398,630" href="ntqsqlform.html"> -<area shape="rect" coords="292,630,398,646" href="ntqdatabrowser.html"> -<area shape="rect" coords="293,646,409,663" href="ntqdataview.html"> -<area shape="rect" coords="291,663,410,689" href="ntqdatatable.html"> +<area shape="rect" coords="289,568,397,594" href="tqsqldatabase.html"> +<area shape="rect" coords="290,594,397,610" href="tqsqldriver.html"> +<area shape="rect" coords="290,610,398,630" href="tqsqlform.html"> +<area shape="rect" coords="292,630,398,646" href="tqdatabrowser.html"> +<area shape="rect" coords="293,646,409,663" href="tqdataview.html"> +<area shape="rect" coords="291,663,410,689" href="tqdatatable.html"> <area shape="rect" coords="393,34,468,76" href="ntqwidget.html"> <area shape="rect" coords="461,63,541,79" href="ntqbutton.html"> <area shape="rect" coords="447,80,542,97" href="ntqcombobox.html"> diff --git a/doc/html/annotated.html b/doc/html/annotated.html index a7d41410f..2121d55f3 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -106,10 +106,10 @@ body { background: #ffffff; color: black; } <tr bgcolor=#f0f0f0><td><b><a href="ntqcursor.html">TQCursor</a></b><td>Mouse cursor with an arbitrary shape <tr bgcolor=#f0f0f0><td><b><a href="qcustomevent.html">TQCustomEvent</a></b><td>Support for custom events <tr bgcolor=#f0f0f0><td><b><a href="qcustommenuitem.html">TQCustomMenuItem</a></b><td>Abstract base class for custom menu items in popup menus -<tr bgcolor=#f0f0f0><td><b><a href="ntqdatabrowser.html">TQDataBrowser</a></b><td>Data manipulation and navigation for data entry forms +<tr bgcolor=#f0f0f0><td><b><a href="tqdatabrowser.html">TQDataBrowser</a></b><td>Data manipulation and navigation for data entry forms <tr bgcolor=#f0f0f0><td><b><a href="ntqdatastream.html">TQDataStream</a></b><td>Serialization of binary data to a TQIODevice -<tr bgcolor=#f0f0f0><td><b><a href="ntqdatatable.html">TQDataTable</a></b><td>Flexible SQL table widget that supports browsing and editing -<tr bgcolor=#f0f0f0><td><b><a href="ntqdataview.html">TQDataView</a></b><td>Read-only SQL forms +<tr bgcolor=#f0f0f0><td><b><a href="tqdatatable.html">TQDataTable</a></b><td>Flexible SQL table widget that supports browsing and editing +<tr bgcolor=#f0f0f0><td><b><a href="tqdataview.html">TQDataView</a></b><td>Read-only SQL forms <tr bgcolor=#f0f0f0><td><b><a href="qdate.html">TQDate</a></b><td>Date functions <tr bgcolor=#f0f0f0><td><b><a href="qdateedit.html">TQDateEdit</a></b><td>Date editor <tr bgcolor=#f0f0f0><td><b><a href="ntqdatetime.html">TQDateTime</a></b><td>Date and time functions @@ -149,7 +149,7 @@ body { background: #ffffff; color: black; } <tr bgcolor=#f0f0f0><td><b><a href="qdragmoveevent.html">TQDragMoveEvent</a></b><td>Event which is sent while a drag and drop is in progress <tr bgcolor=#f0f0f0><td><b><a href="ntqdragobject.html">TQDragObject</a></b><td>Encapsulates MIME-based data transfer <tr bgcolor=#f0f0f0><td><b><a href="qdropevent.html">TQDropEvent</a></b><td>Event which is sent when a drag and drop is completed -<tr bgcolor=#f0f0f0><td><b><a href="ntqeditorfactory.html">TQEditorFactory</a></b><td>Used to create editor widgets for TQVariant data types +<tr bgcolor=#f0f0f0><td><b><a href="tqeditorfactory.html">TQEditorFactory</a></b><td>Used to create editor widgets for TQVariant data types <tr bgcolor=#f0f0f0><td><b><a href="ntqerrormessage.html">TQErrorMessage</a></b><td>Error message display dialog <tr bgcolor=#f0f0f0><td><b><a href="ntqeucjpcodec.html">TQEucJpCodec</a></b><td>Conversion to and from EUC-JP character sets <tr bgcolor=#f0f0f0><td><b><a href="ntqeuckrcodec.html">TQEucKrCodec</a></b><td>Conversion to and from EUC-KR character sets @@ -338,23 +338,23 @@ body { background: #ffffff; color: black; } <tr bgcolor=#f0f0f0><td><b><a href="ntqspinbox.html">TQSpinBox</a></b><td>Spin box widget (spin button) <tr bgcolor=#f0f0f0><td><b><a href="ntqsplashscreen.html">TQSplashScreen</a></b><td>Splash screen that can be shown during application startup <tr bgcolor=#f0f0f0><td><b><a href="ntqsplitter.html">TQSplitter</a></b><td>Implements a splitter widget -<tr bgcolor=#f0f0f0><td><b><a href="ntqsql.html">TQSql</a></b><td>Namespace for TQt SQL identifiers that need to be global-like -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlcursor.html">TQSqlCursor</a></b><td>Browsing and editing of SQL tables and views -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqldatabase.html">TQSqlDatabase</a></b><td>Used to create SQL database connections and to provide transaction handling -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqldriver.html">TQSqlDriver</a></b><td>Abstract base class for accessing SQL databases -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a></b><td>Abstract base for custom TQSqlDriver plugins -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a></b><td>Used to create the editors used by TQDataTable and TQSqlForm -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlerror.html">TQSqlError</a></b><td>SQL database error information -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlfield.html">TQSqlField</a></b><td>Manipulates the fields in SQL database tables and views -<tr bgcolor=#f0f0f0><td><b><a href="qsqlfieldinfo.html">TQSqlFieldInfo</a></b><td>Stores meta data associated with a SQL field -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlform.html">TQSqlForm</a></b><td>Creates and manages data entry forms tied to SQL databases -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlindex.html">TQSqlIndex</a></b><td>Functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a></b><td>Used to map widgets to SQL fields -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlquery.html">TQSqlQuery</a></b><td>Means of executing and manipulating SQL statements -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlrecord.html">TQSqlRecord</a></b><td>Encapsulates a database record, i.e. a set of database fields -<tr bgcolor=#f0f0f0><td><b><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a></b><td>Encapsulates a set of database field meta data -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlresult.html">TQSqlResult</a></b><td>Abstract interface for accessing data from SQL databases -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a></b><td>Browsing of general SQL SELECT statements +<tr bgcolor=#f0f0f0><td><b><a href="tqsql.html">TQSql</a></b><td>Namespace for TQt SQL identifiers that need to be global-like +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlcursor.html">TQSqlCursor</a></b><td>Browsing and editing of SQL tables and views +<tr bgcolor=#f0f0f0><td><b><a href="tqsqldatabase.html">TQSqlDatabase</a></b><td>Used to create SQL database connections and to provide transaction handling +<tr bgcolor=#f0f0f0><td><b><a href="tqsqldriver.html">TQSqlDriver</a></b><td>Abstract base class for accessing SQL databases +<tr bgcolor=#f0f0f0><td><b><a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a></b><td>Abstract base for custom TQSqlDriver plugins +<tr bgcolor=#f0f0f0><td><b><a href="tqsqleditorfactory.html">TQSqlEditorFactory</a></b><td>Used to create the editors used by TQDataTable and TQSqlForm +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlerror.html">TQSqlError</a></b><td>SQL database error information +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlfield.html">TQSqlField</a></b><td>Manipulates the fields in SQL database tables and views +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a></b><td>Stores meta data associated with a SQL field +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlform.html">TQSqlForm</a></b><td>Creates and manages data entry forms tied to SQL databases +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlindex.html">TQSqlIndex</a></b><td>Functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlpropertymap.html">TQSqlPropertyMap</a></b><td>Used to map widgets to SQL fields +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlquery.html">TQSqlQuery</a></b><td>Means of executing and manipulating SQL statements +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlrecord.html">TQSqlRecord</a></b><td>Encapsulates a database record, i.e. a set of database fields +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a></b><td>Encapsulates a set of database field meta data +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlresult.html">TQSqlResult</a></b><td>Abstract interface for accessing data from SQL databases +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlselectcursor.html">TQSqlSelectCursor</a></b><td>Browsing of general SQL SELECT statements <tr bgcolor=#f0f0f0><td><b><a href="ntqstatusbar.html">TQStatusBar</a></b><td>Horizontal bar suitable for presenting status information <tr bgcolor=#f0f0f0><td><b><a href="qstoreddrag.html">TQStoredDrag</a></b><td>Simple stored-value drag object for arbitrary MIME data <tr bgcolor=#f0f0f0><td><b><a href="qstrilist.html">TQStrIList</a></b><td>Doubly-linked list of char* with case-insensitive comparison diff --git a/doc/html/classchart.html b/doc/html/classchart.html index 9c83720b0..92fc386c6 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -60,11 +60,11 @@ body { background: #ffffff; color: black; } <area shape="rect" coords="40,502,152,523" href="ntqcdestyle.html"> <area shape="rect" coords="40,523,149,542" href="ntqmotifplusstyle.html"> <area shape="rect" coords="40,542,150,565" href="ntqstyleplugin.html"> -<area shape="rect" coords="42,572,151,598" href="ntqsqleditorfactory.html"> -<area shape="rect" coords="41,595,149,612" href="ntqsql.html"> -<area shape="rect" coords="41,612,137,629" href="ntqsqlresult.html"> -<area shape="rect" coords="41,629,138,647" href="ntqsqlpropertymap.html"> -<area shape="rect" coords="44,647,145,672" href="ntqsqldriverplugin.html"> +<area shape="rect" coords="42,572,151,598" href="tqsqleditorfactory.html"> +<area shape="rect" coords="41,595,149,612" href="tqsql.html"> +<area shape="rect" coords="41,612,137,629" href="tqsqlresult.html"> +<area shape="rect" coords="41,629,138,647" href="tqsqlpropertymap.html"> +<area shape="rect" coords="44,647,145,672" href="tqsqldriverplugin.html"> <area shape="rect" coords="179,58,275,79" href="ntqevent.html"> <area shape="rect" coords="176,79,274,96" href="qimevent.html"> <area shape="rect" coords="176,96,283,114" href="qkeyevent.html"> @@ -87,13 +87,13 @@ body { background: #ffffff; color: black; } <area shape="rect" coords="167,466,259,487" href="ntqftp.html"> <area shape="rect" coords="168,487,268,505" href="ntqhttp.html"> <area shape="rect" coords="166,505,268,532" href="ntqlocalfs.html"> -<area shape="rect" coords="166,532,274,560" href="ntqsqlfield.html"> -<area shape="rect" coords="168,559,274,578" href="qsqlfieldinfo.html"> -<area shape="rect" coords="168,578,275,594" href="ntqsqlrecord.html"> -<area shape="rect" coords="167,594,275,611" href="qsqlrecordinfo.html"> -<area shape="rect" coords="167,611,267,631" href="ntqsqlcursor.html"> -<area shape="rect" coords="163,632,261,649" href="ntqsqlindex.html"> -<area shape="rect" coords="163,649,271,671" href="ntqsqlquery.html"> +<area shape="rect" coords="166,532,274,560" href="tqsqlfield.html"> +<area shape="rect" coords="168,559,274,578" href="tqsqlfieldinfo.html"> +<area shape="rect" coords="168,578,275,594" href="tqsqlrecord.html"> +<area shape="rect" coords="167,594,275,611" href="tqsqlrecordinfo.html"> +<area shape="rect" coords="167,611,267,631" href="tqsqlcursor.html"> +<area shape="rect" coords="163,632,261,649" href="tqsqlindex.html"> +<area shape="rect" coords="163,649,271,671" href="tqsqlquery.html"> <area shape="rect" coords="287,36,386,64" href="tqobject.html"> <area shape="rect" coords="288,60,396,78" href="ntqaccel.html"> <area shape="rect" coords="291,78,395,97" href="ntqaction.html"> @@ -121,14 +121,14 @@ body { background: #ffffff; color: black; } <area shape="rect" coords="290,470,401,488" href="qdoublevalidator.html"> <area shape="rect" coords="290,488,401,505" href="qintvalidator.html"> <area shape="rect" coords="294,505,400,524" href="qregexpvalidator.html"> -<area shape="rect" coords="294,524,401,540" href="ntqeditorfactory.html"> +<area shape="rect" coords="294,524,401,540" href="tqeditorfactory.html"> <area shape="rect" coords="282,541,401,567" href="ntqlayout.html"> -<area shape="rect" coords="289,568,397,594" href="ntqsqldatabase.html"> -<area shape="rect" coords="290,594,397,610" href="ntqsqldriver.html"> -<area shape="rect" coords="290,610,398,630" href="ntqsqlform.html"> -<area shape="rect" coords="292,630,398,646" href="ntqdatabrowser.html"> -<area shape="rect" coords="293,646,409,663" href="ntqdataview.html"> -<area shape="rect" coords="291,663,410,689" href="ntqdatatable.html"> +<area shape="rect" coords="289,568,397,594" href="tqsqldatabase.html"> +<area shape="rect" coords="290,594,397,610" href="tqsqldriver.html"> +<area shape="rect" coords="290,610,398,630" href="tqsqlform.html"> +<area shape="rect" coords="292,630,398,646" href="tqdatabrowser.html"> +<area shape="rect" coords="293,646,409,663" href="tqdataview.html"> +<area shape="rect" coords="291,663,410,689" href="tqdatatable.html"> <area shape="rect" coords="393,34,468,76" href="ntqwidget.html"> <area shape="rect" coords="461,63,541,79" href="ntqbutton.html"> <area shape="rect" coords="447,80,542,97" href="ntqcombobox.html"> diff --git a/doc/html/classes.html b/doc/html/classes.html index 8b3e94744..44a39a5d3 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -370,7 +370,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="ntqbuttongroup.html">TQButtonGroup</a> <td align="right"><b>E</b> -<td><a href="ntqeditorfactory.html">TQEditorFactory</a> +<td><a href="tqeditorfactory.html">TQEditorFactory</a> <td align="right"> <td><a href="ntqlistbox.html">TQListBox</a> <td align="right"> @@ -605,7 +605,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmimesource.html">TQMimeSource</a> <td align="right"> -<td><a href="ntqsql.html">TQSql</a> +<td><a href="tqsql.html">TQSql</a> <td align="right"> <td><a href="ntqwidgetfactory.html">TQWidgetFactory</a> <tr> @@ -616,7 +616,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmimesourcefactory.html">TQMimeSourceFactory</a> <td align="right"> -<td><a href="ntqsqlcursor.html">TQSqlCursor</a> +<td><a href="tqsqlcursor.html">TQSqlCursor</a> <td align="right"> <td><a href="qwidgetitem.html">TQWidgetItem</a> <tr> @@ -627,7 +627,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmotif.html">TQMotif</a> *<td align="right"> -<td><a href="ntqsqldatabase.html">TQSqlDatabase</a> +<td><a href="tqsqldatabase.html">TQSqlDatabase</a> <td align="right"> <td><a href="ntqwidgetplugin.html">TQWidgetPlugin</a> <tr> @@ -638,7 +638,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmotifdialog.html">TQMotifDialog</a> *<td align="right"> -<td><a href="ntqsqldriver.html">TQSqlDriver</a> +<td><a href="tqsqldriver.html">TQSqlDriver</a> <td align="right"> <td><a href="ntqwidgetstack.html">TQWidgetStack</a> <tr> @@ -649,7 +649,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="ntqmotifplusstyle.html">TQMotifPlusStyle</a> <td align="right"> -<td><a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a> +<td><a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a> <td align="right"> <td><a href="qwindowsmime.html">TQWindowsMime</a> <tr> @@ -660,7 +660,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="ntqmotifstyle.html">TQMotifStyle</a> <td align="right"> -<td><a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> +<td><a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> <td align="right"> <td><a href="ntqwindowsstyle.html">TQWindowsStyle</a> <tr> @@ -671,7 +671,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmotifwidget.html">TQMotifWidget</a> *<td align="right"> -<td><a href="ntqsqlerror.html">TQSqlError</a> +<td><a href="tqsqlerror.html">TQSqlError</a> <td align="right"> <td><a href="ntqwizard.html">TQWizard</a> <tr> @@ -682,7 +682,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmousedriverfactory.html">TQMouseDriverFactory</a> <td align="right"> -<td><a href="ntqsqlfield.html">TQSqlField</a> +<td><a href="tqsqlfield.html">TQSqlField</a> <td align="right"> <td><a href="ntqwmatrix.html">TQWMatrix</a> <tr> @@ -693,7 +693,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmousedriverplugin.html">TQMouseDriverPlugin</a> <td align="right"> -<td><a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> +<td><a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> <td align="right"> <td><a href="ntqworkspace.html">TQWorkspace</a> <tr> @@ -704,7 +704,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmouseevent.html">TQMouseEvent</a> <td align="right"> -<td><a href="ntqsqlform.html">TQSqlForm</a> +<td><a href="tqsqlform.html">TQSqlForm</a> <td align="right"> <td><a href="qwsdecoration.html">TQWSDecoration</a> *<tr> @@ -715,7 +715,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmoveevent.html">TQMoveEvent</a> <td align="right"> -<td><a href="ntqsqlindex.html">TQSqlIndex</a> +<td><a href="tqsqlindex.html">TQSqlIndex</a> <td align="right"> <td><a href="qwsinputmethod.html">TQWSInputMethod</a> *<tr> @@ -726,7 +726,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="ntqmovie.html">TQMovie</a> <td align="right"> -<td><a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> +<td><a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> <td align="right"> <td><a href="qwskeyboardhandler.html">TQWSKeyboardHandler</a> *<tr> @@ -737,7 +737,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="ntqmutex.html">TQMutex</a> <td align="right"> -<td><a href="ntqsqlquery.html">TQSqlQuery</a> +<td><a href="tqsqlquery.html">TQSqlQuery</a> <td align="right"> <td><a href="qwsmousehandler.html">TQWSMouseHandler</a> *<tr> @@ -748,7 +748,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qmutexlocker.html">TQMutexLocker</a> <td align="right"> -<td><a href="ntqsqlrecord.html">TQSqlRecord</a> +<td><a href="tqsqlrecord.html">TQSqlRecord</a> <td align="right"> <td><a href="qwsserver.html">TQWSServer</a> *<tr> @@ -759,7 +759,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"><b>N</b> <td><a href="qnetworkoperation.html">TQNetworkOperation</a> <td align="right"> -<td><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> +<td><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> <td align="right"> <td><a href="qwswindow.html">TQWSWindow</a> *<tr> @@ -770,7 +770,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="ntqnetworkprotocol.html">TQNetworkProtocol</a> <td align="right"> -<td><a href="ntqsqlresult.html">TQSqlResult</a> +<td><a href="tqsqlresult.html">TQSqlResult</a> <td align="right"><b>X</b> <td><a href="qxmlattributes.html">TQXmlAttributes</a> <tr> @@ -781,7 +781,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="qnpinstance.html">TQNPInstance</a> *<td align="right"> -<td><a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a> +<td><a href="tqsqlselectcursor.html">TQSqlSelectCursor</a> <td align="right"> <td><a href="qxmlcontenthandler.html">TQXmlContentHandler</a> <tr> @@ -819,7 +819,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td><a href="qxmldtdhandler.html">TQXmlDTDHandler</a> <tr> <td align="right"><b>D</b> -<td><a href="ntqdatabrowser.html">TQDataBrowser</a> +<td><a href="tqdatabrowser.html">TQDataBrowser</a> <td align="right"> <td><a href="qhebrewcodec.html">TQHebrewCodec</a> <td align="right"><b>O</b> @@ -841,7 +841,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td><a href="qxmlerrorhandler.html">TQXmlErrorHandler</a> <tr> <td align="right"> -<td><a href="ntqdatatable.html">TQDataTable</a> +<td><a href="tqdatatable.html">TQDataTable</a> <td align="right"> <td><a href="qhideevent.html">TQHideEvent</a> <td align="right"> @@ -852,7 +852,7 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td><a href="qxmlinputsource.html">TQXmlInputSource</a> <tr> <td align="right"> -<td><a href="ntqdataview.html">TQDataView</a> +<td><a href="tqdataview.html">TQDataView</a> <td align="right"> <td><a href="ntqhostaddress.html">TQHostAddress</a> <td align="right"> diff --git a/doc/html/database.html b/doc/html/database.html index 68e6833e3..b139ff08c 100644 --- a/doc/html/database.html +++ b/doc/html/database.html @@ -35,26 +35,26 @@ body { background: #ffffff; color: black; } <p> These classes provide access to SQL databases. <p><table width="100%"> -<tr bgcolor=#f0f0f0><td><b><a href="ntqdatabrowser.html">TQDataBrowser</a></b><td>Data manipulation and navigation for data entry forms -<tr bgcolor=#f0f0f0><td><b><a href="ntqdatatable.html">TQDataTable</a></b><td>Flexible SQL table widget that supports browsing and editing -<tr bgcolor=#f0f0f0><td><b><a href="ntqdataview.html">TQDataView</a></b><td>Read-only SQL forms -<tr bgcolor=#f0f0f0><td><b><a href="ntqeditorfactory.html">TQEditorFactory</a></b><td>Used to create editor widgets for TQVariant data types -<tr bgcolor=#f0f0f0><td><b><a href="ntqsql.html">TQSql</a></b><td>Namespace for TQt SQL identifiers that need to be global-like -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlcursor.html">TQSqlCursor</a></b><td>Browsing and editing of SQL tables and views -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqldatabase.html">TQSqlDatabase</a></b><td>Used to create SQL database connections and to provide transaction handling -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqldriver.html">TQSqlDriver</a></b><td>Abstract base class for accessing SQL databases -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a></b><td>Used to create the editors used by TQDataTable and TQSqlForm -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlerror.html">TQSqlError</a></b><td>SQL database error information -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlfield.html">TQSqlField</a></b><td>Manipulates the fields in SQL database tables and views -<tr bgcolor=#f0f0f0><td><b><a href="qsqlfieldinfo.html">TQSqlFieldInfo</a></b><td>Stores meta data associated with a SQL field -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlform.html">TQSqlForm</a></b><td>Creates and manages data entry forms tied to SQL databases -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlindex.html">TQSqlIndex</a></b><td>Functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a></b><td>Used to map widgets to SQL fields -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlquery.html">TQSqlQuery</a></b><td>Means of executing and manipulating SQL statements -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlrecord.html">TQSqlRecord</a></b><td>Encapsulates a database record, i.e. a set of database fields -<tr bgcolor=#f0f0f0><td><b><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a></b><td>Encapsulates a set of database field meta data -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlresult.html">TQSqlResult</a></b><td>Abstract interface for accessing data from SQL databases -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a></b><td>Browsing of general SQL SELECT statements +<tr bgcolor=#f0f0f0><td><b><a href="tqdatabrowser.html">TQDataBrowser</a></b><td>Data manipulation and navigation for data entry forms +<tr bgcolor=#f0f0f0><td><b><a href="tqdatatable.html">TQDataTable</a></b><td>Flexible SQL table widget that supports browsing and editing +<tr bgcolor=#f0f0f0><td><b><a href="tqdataview.html">TQDataView</a></b><td>Read-only SQL forms +<tr bgcolor=#f0f0f0><td><b><a href="tqeditorfactory.html">TQEditorFactory</a></b><td>Used to create editor widgets for TQVariant data types +<tr bgcolor=#f0f0f0><td><b><a href="tqsql.html">TQSql</a></b><td>Namespace for TQt SQL identifiers that need to be global-like +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlcursor.html">TQSqlCursor</a></b><td>Browsing and editing of SQL tables and views +<tr bgcolor=#f0f0f0><td><b><a href="tqsqldatabase.html">TQSqlDatabase</a></b><td>Used to create SQL database connections and to provide transaction handling +<tr bgcolor=#f0f0f0><td><b><a href="tqsqldriver.html">TQSqlDriver</a></b><td>Abstract base class for accessing SQL databases +<tr bgcolor=#f0f0f0><td><b><a href="tqsqleditorfactory.html">TQSqlEditorFactory</a></b><td>Used to create the editors used by TQDataTable and TQSqlForm +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlerror.html">TQSqlError</a></b><td>SQL database error information +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlfield.html">TQSqlField</a></b><td>Manipulates the fields in SQL database tables and views +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a></b><td>Stores meta data associated with a SQL field +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlform.html">TQSqlForm</a></b><td>Creates and manages data entry forms tied to SQL databases +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlindex.html">TQSqlIndex</a></b><td>Functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlpropertymap.html">TQSqlPropertyMap</a></b><td>Used to map widgets to SQL fields +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlquery.html">TQSqlQuery</a></b><td>Means of executing and manipulating SQL statements +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlrecord.html">TQSqlRecord</a></b><td>Encapsulates a database record, i.e. a set of database fields +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a></b><td>Encapsulates a set of database field meta data +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlresult.html">TQSqlResult</a></b><td>Abstract interface for accessing data from SQL databases +<tr bgcolor=#f0f0f0><td><b><a href="tqsqlselectcursor.html">TQSqlSelectCursor</a></b><td>Browsing of general SQL SELECT statements </table> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/designer-manual-8.html b/doc/html/designer-manual-8.html index 93317ead1..25db3e6b6 100644 --- a/doc/html/designer-manual-8.html +++ b/doc/html/designer-manual-8.html @@ -31,10 +31,10 @@ body { background: #ffffff; color: black; } </td> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><p align="right">[<a href="designer-manual-7.html">Prev: Creating Custom Widgets</a>] [<a href="designer-manual.html">Home</a>] [<a href="designer-manual-9.html">Next: Customizing and Integrating TQt Designer</a>]</p> <h2 align="center">Creating Database Applications</h2> -<!-- index Databases --><!-- index SQL --><p>This chapter shows you how to use TQt's data-aware widgets from within <em>TQt Designer</em>. It demonstrates <tt>INSERT</tt>, <tt>UPDATE</tt> and <tt>DELETE</tt> in both <a href="ntqdatatable.html">TQDataTable</a>s (tables) and <a href="ntqdatabrowser.html">TQDataBrowser</a>s (forms). It also shows how to code Master-Detail relationships and Drilldown. A simple approach to foreign key handling is presented here; a more sophisticated approach is shown in the online SQL module documentation.</p> +<!-- index Databases --><!-- index SQL --><p>This chapter shows you how to use TQt's data-aware widgets from within <em>TQt Designer</em>. It demonstrates <tt>INSERT</tt>, <tt>UPDATE</tt> and <tt>DELETE</tt> in both <a href="tqdatatable.html">TQDataTable</a>s (tables) and <a href="tqdatabrowser.html">TQDataBrowser</a>s (forms). It also shows how to code Master-Detail relationships and Drilldown. A simple approach to foreign key handling is presented here; a more sophisticated approach is shown in the online SQL module documentation.</p> <!-- index Databases!Drivers --><!-- index TQODBC3, Database driver --><!-- index TQOCI8, Database driver --><!-- index TQPSQL7, Database driver --><!-- index TQMYSQL3, Database driver --><!-- index Databases!Drivers!TQODBC3 --><!-- index Databases!Drivers!TQOCI8 --><!-- index Databases!Drivers!TQPSQL7 --><!-- index Databases!Drivers!TQMYSQL3 --><p>If you wish to run the examples or create your own applications using these widgets you need access to an SQL database and a TQt database driver that can connect to the database. At the time of writing the drivers that TQt supports are TQODBC3 (Open Database Connectivity), TQOCI8 (Oracle), TQPSQL7 (PostgreSQL 6 and 7) and TQMYSQL3 (MySQL).</p> <!-- index Widgets!Data Aware --><!-- index Data Aware Widgets --><!-- index Databases!Data Aware Widgets --><p>Although you can use the TQt data-aware widgets to browse and edit data in SQL databases without having to write any SQL, a basic understanding of SQL is highly recommended. We assume that you have some familiarity with <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt>, and <tt>DELETE</tt> statements. We also assume a basic understanding of the concepts of normalization and of primary and foreign keys. A standard text covering SQL databases is <em>An Introduction to Database Systems (7th ed.)</em> by C. J. Date, ISBN 0201385902.</p> -<!-- index In-place Editing --><!-- index Databases!In-place Editing --><p>In the following text we describe the creation of a 'book' database application. The application demonstrates how to use <a href="ntqdatatable.html">TQDataTable</a>s including in-place record editing and how to set up master-detail relationships between <a href="ntqdatatable.html">TQDataTable</a>s. It also explains how to drill down from a <a href="ntqdatatable.html">TQDataTable</a> to another widget, for example, to a <a href="ntqdatabrowser.html">TQDataBrowser</a> or a <a href="ntqdataview.html">TQDataView</a> and how to perform record editing in a <a href="ntqdatabrowser.html">TQDataBrowser</a>. A great deal of functionality is available from the classes directly in <em>TQt Designer</em> although subclassing is always available for finer control. If you want to build the 'book' examples you will need to create the example schema on your database.</p> +<!-- index In-place Editing --><!-- index Databases!In-place Editing --><p>In the following text we describe the creation of a 'book' database application. The application demonstrates how to use <a href="tqdatatable.html">TQDataTable</a>s including in-place record editing and how to set up master-detail relationships between <a href="tqdatatable.html">TQDataTable</a>s. It also explains how to drill down from a <a href="tqdatatable.html">TQDataTable</a> to another widget, for example, to a <a href="tqdatabrowser.html">TQDataBrowser</a> or a <a href="tqdataview.html">TQDataView</a> and how to perform record editing in a <a href="tqdatabrowser.html">TQDataBrowser</a>. A great deal of functionality is available from the classes directly in <em>TQt Designer</em> although subclassing is always available for finer control. If you want to build the 'book' examples you will need to create the example schema on your database.</p> <p align="center"><img align="middle" src="book-main.png" width="502" height="532"> </p> <blockquote><p align="center"><em>The Book Application</em></p></blockquote> @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; } <blockquote><p align="center"><em>Edit Database Connections Dialog</em></p></blockquote> <p>Choose <b>Project|Database Connections</b> from the menu bar. The <em>Edit Database Connections</em> dialog will appear. Click <b>New Connection</b>. For applications that use a single database it will probably be most convenient to use the default connection name of '(default)'. If you use more than one database then each one must be given a unique name. A driver must be chosen from the Driver combo box. The database name may be available in the Database Name combo box or may have to be typed in. The database name, username, password, hostname and port should be provided by your database system administrator. When the Connection information has been completed click <b>Connect</b>. If the connection is made the connection name will appear in the list box on the left hand side of the dialog. You can now close the dialog; the connection settings will remain in effect until you change or delete them or exit from <em>TQt Designer</em>.</p> <p><b>Warning:</b> If you are using an existing SQLite database, ensure that the name you specify in the "Database Name" field is not the same as the existing database file. <em>TQt Designer</em> will create a configuration file using the name given for the database and will overwrite any existing files with the same name.</p> -<!-- index Projects!Database Connections --><p><em>TQt Designer</em> can remember database connection settings in <tt>qmake</tt> project files. Create a new project, e.g. click <b>File|New</b>, then click the 'C++ Project' icon to invoke the <em>Project Settings</em> dialog. Click the ellipsis button to invoke the <em>Save As</em> dialog; navigate to the project's directory (creating it if necessary). Make sure you're in the project's directory, then enter a project name of 'book.pro'. Click the <b>Save</b> button to return to the <em>Project Settings</em> dialog, then click <b>OK</b>. Next time you start <em>TQt Designer</em> instead of opening individual <tt>.ui</tt> files open the <tt>.pro</tt> project file instead and <em>TQt Designer</em> will automatically reload the project's connection settings. To activate the connection click <b>Project|Database Connections</b>. The connections previously saved with the project will be listed in the left hand list box. Click the connection you wish to use and then click <b>Connect</b>. This connection will be used from now on, e.g. for previewing <a href="ntqdatatable.html">TQDataTable</a>s. Opening a project file also causes <em>TQt Designer</em> to load in the list of forms associated with the project into the Project Overview window. In most of the explanation that follows we will assume that you use project files and have clicked <b>Connect</b> so that there is always a connection available when you work in <em>TQt Designer</em>.</p> +<!-- index Projects!Database Connections --><p><em>TQt Designer</em> can remember database connection settings in <tt>qmake</tt> project files. Create a new project, e.g. click <b>File|New</b>, then click the 'C++ Project' icon to invoke the <em>Project Settings</em> dialog. Click the ellipsis button to invoke the <em>Save As</em> dialog; navigate to the project's directory (creating it if necessary). Make sure you're in the project's directory, then enter a project name of 'book.pro'. Click the <b>Save</b> button to return to the <em>Project Settings</em> dialog, then click <b>OK</b>. Next time you start <em>TQt Designer</em> instead of opening individual <tt>.ui</tt> files open the <tt>.pro</tt> project file instead and <em>TQt Designer</em> will automatically reload the project's connection settings. To activate the connection click <b>Project|Database Connections</b>. The connections previously saved with the project will be listed in the left hand list box. Click the connection you wish to use and then click <b>Connect</b>. This connection will be used from now on, e.g. for previewing <a href="tqdatatable.html">TQDataTable</a>s. Opening a project file also causes <em>TQt Designer</em> to load in the list of forms associated with the project into the Project Overview window. In most of the explanation that follows we will assume that you use project files and have clicked <b>Connect</b> so that there is always a connection available when you work in <em>TQt Designer</em>.</p> <h4><a name="1-2"></a>Setting Up Connections for Applications</h4> <p>The applications you create must make their own connections to the SQL database. We provide an example function, <tt>createConnections()</tt>, that you can use as a basis for your own code.<!-- index createConnections() --></p> <pre> @@ -112,59 +112,59 @@ bool createConnections() <!-- index Databases!Connecting to Multiple Database Servers --><!-- index createConnections() --><!-- index main.cpp --><!-- index addDatabase() --> <p>All the examples presented in this chapter call <tt>createConnections()</tt> after creating the <a href="ntqapplication.html">TQApplication</a> object in their <tt>main.cpp</tt> file and make use of the default connection. If you need to connect to multiple databases use the two-argument form of <tt>addDatabase()</tt>, passing it both the name of the driver and a unique identifier. This is explained further in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>.</p> <!-- index TQSqlDatabase::database() --><p>You do not need to keep a reference to database connections. If you use a single database connection, this becomes the default connection and database functions will use this connection automatically. We can always get a pointer to any of our connections by calling <tt>TQSqlDatabase::database()</tt>.</p> <p>If you create a <tt>main.cpp</tt> file using <em>TQt Designer</em>, this file will <em>not</em> include <tt>createConnections()</tt>. We do not include this function because it needs the username and password for the database connection, and you may prefer to handle these differently from our simple example function. As a result, applications that preview correctly in <em>TQt Designer</em> will not run unless you implement your own database connections function.</p> -<h3><a name="2"></a>Using <a href="ntqdatatable.html">TQDataTable</a></h3> -<p><a href="ntqdatatable.html">TQDataTable</a>s may be placed on any form to provide browsing of database tables and views. <a href="ntqdatatable.html">TQDataTable</a>s can also be used to update or delete records in-place, i.e. inside the cells themselves. Inserting records via a <a href="ntqdatatable.html">TQDataTable</a> usually requires connecting to the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal, so that we can generate primary keys for example, or provide default values. If we wish to present records using a form view (perhaps combining data from several tables and views) we might use several <a href="ntqdatabrowser.html">TQDataBrowser</a>s and <a href="ntqdataview.html">TQDataView</a>s.</p> +<h3><a name="2"></a>Using <a href="tqdatatable.html">TQDataTable</a></h3> +<p><a href="tqdatatable.html">TQDataTable</a>s may be placed on any form to provide browsing of database tables and views. <a href="tqdatatable.html">TQDataTable</a>s can also be used to update or delete records in-place, i.e. inside the cells themselves. Inserting records via a <a href="tqdatatable.html">TQDataTable</a> usually requires connecting to the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal, so that we can generate primary keys for example, or provide default values. If we wish to present records using a form view (perhaps combining data from several tables and views) we might use several <a href="tqdatabrowser.html">TQDataBrowser</a>s and <a href="tqdataview.html">TQDataView</a>s.</p> <h4><a name="2-1"></a>Quickly Viewing a Database Table</h4> <p>This example, along with all the other examples in this chapter, has the project name 'book' and uses the database created by the<!-- index book.sql --> <tt>book.sql</tt> script. As we work through the chapter we will build the 'book' application step by step. Create or copy the <tt>qt/tools/designer/examples/book/book1/main.cpp</tt> file shown earlier. The project file for this first example is <tt>qt/tools/designer/examples/book/book1/book.pro</tt>. Start a new project by clicking <b>File|New</b>, then click the 'C++ Project' icon to invoke the <em>Project Settings</em> dialog. Click the ellipsis button to invoke the <em>Save As</em> dialog; navigate to the project's directory (creating it if necessary). Make sure you're in the project's directory, then enter a project name of 'book.pro'. Click the <b>Save</b> button to return to the <em>Project Settings</em> dialog, then click <b>OK</b>. Now click <b>Project|Database Connections</b>. Fill in the connection information appropriate to your database then press <b>Connect</b>. The connection name should now appear in the left hand list box. (If this doesn't happen you'll need to contact your database systems administrator for help.) Close the dialog.</p> -<p>We will now create a new form with a <a href="ntqdatatable.html">TQDataTable</a> that's connected to one of our database tables.</p> +<p>We will now create a new form with a <a href="tqdatatable.html">TQDataTable</a> that's connected to one of our database tables.</p> <p>Click <b>File|New</b>. The <em>New File</em> dialog presents us with a number of form templates to choose from. Choose the 'Dialog' form and click <b>OK</b>. Now click <b>File|Save</b>. You will be prompted for a filename, call it <tt>book.ui</tt>.</p> -<h5><a name="2-1-1"></a>Setting up a <a href="ntqdatatable.html">TQDataTable</a></h5> -<!-- index Databases!SQL Table Wizard --><!-- index Wizards!SQL Table --><p>To place a <a href="ntqdatatable.html">TQDataTable</a> widget on the form either click <b>Tools|Views|DataTable</b> or click the <b>DataTable</b> toolbar button. Click on the form and the Data Table Wizard will appear.</p> -<ol type=1><li><p>The <em>Database Connection and Table</em> wizard page is used to set up a connection if one doesn't exist and to choose the table or view for the <a href="ntqdatatable.html">TQDataTable</a>. (See <a href="designer-manual-8.html#1-1">Setting Up TQt Designer's Connections</a>.)</p> +<h5><a name="2-1-1"></a>Setting up a <a href="tqdatatable.html">TQDataTable</a></h5> +<!-- index Databases!SQL Table Wizard --><!-- index Wizards!SQL Table --><p>To place a <a href="tqdatatable.html">TQDataTable</a> widget on the form either click <b>Tools|Views|DataTable</b> or click the <b>DataTable</b> toolbar button. Click on the form and the Data Table Wizard will appear.</p> +<ol type=1><li><p>The <em>Database Connection and Table</em> wizard page is used to set up a connection if one doesn't exist and to choose the table or view for the <a href="tqdatatable.html">TQDataTable</a>. (See <a href="designer-manual-8.html#1-1">Setting Up TQt Designer's Connections</a>.)</p> <p>Click the connection you wish to use, listed in the left hand Database Connection list box, e.g. "(default)". The available tables and views will appear in the right hand Table list box. Click the 'author' table and then click the <b>Next</b> button.</p> -<li><p>The <em>Displayed Fields</em> wizard page provides a means of selecting which fields should be displayed in the <a href="ntqdatatable.html">TQDataTable</a> and in what order. By default all fields except the primary key (if there is one) are in the Displayed Fields list box. The left- and right-pointing blue arrow buttons can be used to move fields between the Displayed Fields and the Available Fields list boxes. The blue up and down pointing arrow buttons are used to select the display order of the displayed fields.</p> +<li><p>The <em>Displayed Fields</em> wizard page provides a means of selecting which fields should be displayed in the <a href="tqdatatable.html">TQDataTable</a> and in what order. By default all fields except the primary key (if there is one) are in the Displayed Fields list box. The left- and right-pointing blue arrow buttons can be used to move fields between the Displayed Fields and the Available Fields list boxes. The blue up and down pointing arrow buttons are used to select the display order of the displayed fields.</p> <p>The default settings are the ones we want so simply click <b>Next</b>.</p> -<li><!-- index Properties!DataTable --><p>The <em>Table Properties</em> wizard page provides convenient access to some of the database-related properties of the <a href="ntqdatatable.html">TQDataTable</a>.</p> +<li><!-- index Properties!DataTable --><p>The <em>Table Properties</em> wizard page provides convenient access to some of the database-related properties of the <a href="tqdatatable.html">TQDataTable</a>.</p> <p>Make sure the Confirm Deletes checkbox is checked, then click <b>Next</b>.</p> -<li><p>The <em>SQL</em> wizard page is used to set the <a href="ntqdatatable.html">TQDataTable</a>'s Filter and Sort properties. The Filter is an SQL <tt>WHERE</tt> clause (without the word 'WHERE'). For example, to only list authors whose surnames begin with 'P', we would enter <tt>title LIKE 'P%'</tt>. We'll leave the filter empty. The Available Fields list box lists all the fields. The Sort By list box lists the fields that the <a href="ntqdatatable.html">TQDataTable</a> is to sort by and the direction of their sorting (ASCending or DESCending). The left and right blue arrows are used to move fields between the two list boxes. The up and down blue arrows move fields up and down within the Sort By list box. The ASC or DESC setting is changed with the 'sort order' toolbar button.</p> +<li><p>The <em>SQL</em> wizard page is used to set the <a href="tqdatatable.html">TQDataTable</a>'s Filter and Sort properties. The Filter is an SQL <tt>WHERE</tt> clause (without the word 'WHERE'). For example, to only list authors whose surnames begin with 'P', we would enter <tt>title LIKE 'P%'</tt>. We'll leave the filter empty. The Available Fields list box lists all the fields. The Sort By list box lists the fields that the <a href="tqdatatable.html">TQDataTable</a> is to sort by and the direction of their sorting (ASCending or DESCending). The left and right blue arrows are used to move fields between the two list boxes. The up and down blue arrows move fields up and down within the Sort By list box. The ASC or DESC setting is changed with the 'sort order' toolbar button.</p> <p>Move the surname and forename fields into the Sort By list box and click <b>Next</b>.</p> -<li><p>The <em>Finish</em> wizard page gives us the opportunity to go back and change any of our settings. We will be able to change them later through the <a href="ntqdatatable.html">TQDataTable</a>'s properties so we can finish with the wizard.</p> +<li><p>The <em>Finish</em> wizard page gives us the opportunity to go back and change any of our settings. We will be able to change them later through the <a href="tqdatatable.html">TQDataTable</a>'s properties so we can finish with the wizard.</p> <p>Click <b>Finish</b>.</p> -</ol><p>The table will appear on the form with each column labelled with a default column name. If you wish to change the settings then most of them are available in the property window. The display names, the fields they are based upon, and the order of appearance of the columns can be changed using the <em>Edit Table</em> dialog (explained later) by right clicking the <a href="ntqdatatable.html">TQDataTable</a> and left clicking <b>Edit</b>.</p> +</ol><p>The table will appear on the form with each column labelled with a default column name. If you wish to change the settings then most of them are available in the property window. The display names, the fields they are based upon, and the order of appearance of the columns can be changed using the <em>Edit Table</em> dialog (explained later) by right clicking the <a href="tqdatatable.html">TQDataTable</a> and left clicking <b>Edit</b>.</p> <h5><a name="2-1-2"></a>Laying out the Form</h5> <p>Click on the form and click the <b>Lay Out Vertically</b> toolbar button. Now click <b>Preview|Preview Form</b>; the form will run and the table will automatically display all the records.</p> <p>To turn the form we've created into an executable application we must add the<!-- index main.cpp --> <tt>main.cpp</tt> file to the project file and make the project. We should also do some renaming to make things easier to understand.</p> -<ol type=1><li><p>Click on the form and change its name to 'BookForm' and its caption to 'Book'. Click on the <a href="ntqdatatable.html">TQDataTable</a> and change its name to 'AuthorDataTable'.</p> +<ol type=1><li><p>Click on the form and change its name to 'BookForm' and its caption to 'Book'. Click on the <a href="tqdatatable.html">TQDataTable</a> and change its name to 'AuthorDataTable'.</p> <li><p>Click <b>File|Save All</b>.</p> <li><p>Open the project file, e.g.<!-- index book.pro --> <tt>book.pro</tt>, in a plain text editor and add the line: <tt>SOURCES += main.cpp</tt> at the end of the file.</p> <li><p>Run <tt>qmake</tt> to generate the make file, e.g. <tt>qmake -o Makefile book.pro</tt>, then make and run the <tt>book</tt> program.</p> -</ol><p>This example shows how easy it is to use <a href="ntqdatatable.html">TQDataTable</a> to show the contents of a database table or view. You can use the application we've just built to update and delete author records. In the examples that follow we will cover insertions, setting up master-detail relationships, drilldown and foreign key lookups.</p> +</ol><p>This example shows how easy it is to use <a href="tqdatatable.html">TQDataTable</a> to show the contents of a database table or view. You can use the application we've just built to update and delete author records. In the examples that follow we will cover insertions, setting up master-detail relationships, drilldown and foreign key lookups.</p> <blockquote> <p align="center"><b> A Note on Foreign Keys</b></p> <!-- index Foreign Keys --><!-- index Databases!Foreign Keys --><p>In most relational databases tables contain fields which are foreign keys into other tables. In our 'book' database example the authorid in the book table is a foreign key into the author table. When we present a form to the end user we do not usually want the foreign key itself to be visible but rather the text associated with it. Thus, we would want the author's name to appear rather than the author id when we show book information. In many databases, this can be achieved by using a view. See your database's documentation for details.</p> </blockquote> -<h4><a name="2-2"></a>Inserting Records in <a href="ntqdatatable.html">TQDataTable</a>s</h4> -<!-- index Inserting Records --><!-- index Databases!Inserting Records --><p>Record insertion into a relational database usually requires the generation of a primary key value which uniquely identifies the record in the table. Also we often want to create default values for some fields to minimize the user's work. We will create a slot to capture the <a href="ntqdatatable.html">TQDataTable</a>s<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and populate the <a href="ntqsqlrecord.html">TQSqlRecord</a> insertion buffer with a unique primary key.</p> +<h4><a name="2-2"></a>Inserting Records in <a href="tqdatatable.html">TQDataTable</a>s</h4> +<!-- index Inserting Records --><!-- index Databases!Inserting Records --><p>Record insertion into a relational database usually requires the generation of a primary key value which uniquely identifies the record in the table. Also we often want to create default values for some fields to minimize the user's work. We will create a slot to capture the <a href="tqdatatable.html">TQDataTable</a>s<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and populate the <a href="tqsqlrecord.html">TQSqlRecord</a> insertion buffer with a unique primary key.</p> <ol type=1><li><p>Click <b>Edit|Slots</b> to invoke the <em>Edit Functions</em> dialog. Click <b>New Function</b>, then enter the slot name <tt>primeInsertAuthor(TQSqlRecord*)</tt> into the Function Properties' Function line edit box. Click <b>OK</b>.</p> <li><p>Click the <b>Connect Signals/Slots</b> toolbar button, then click the AuthorDataTable, drag to the form and release the mouse. The <em>Edit Connections</em> dialog will now appear. Click the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and then the <tt>primeInsertAuthor()</tt> slot to make the connection. Now click <b>OK</b>.</p> <li><p>Click the Members tab of the Object Explorer window (click <b>Window|Views|Object Explorer</b> to make the window visible if necessary). Click the <tt>primeInsertAuthor()</tt> slot and an editor window will appear.</p> <li><p>We must change the <tt>BookForm::primeInsertAuthor()</tt> slot to specify the parameter name and perform the necessary action:</p> -<pre> void BookForm::primeInsertAuthor( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buffer ) +<pre> void BookForm::primeInsertAuthor( <a href="tqsqlrecord.html">TQSqlRecord</a> * buffer ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query; - query.<a href="ntqsqlquery.html#exec">exec</a>( "UPDATE sequence SET sequence = sequence + 1 WHERE tablename='author';" ); - query.<a href="ntqsqlquery.html#exec">exec</a>( "SELECT sequence FROM sequence WHERE tablename='author';" ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="ntqsqlquery.html#value">value</a>( 0 ) ); + <a href="tqsqlquery.html">TQSqlQuery</a> query; + query.<a href="tqsqlquery.html#exec">exec</a>( "UPDATE sequence SET sequence = sequence + 1 WHERE tablename='author';" ); + query.<a href="tqsqlquery.html#exec">exec</a>( "SELECT sequence FROM sequence WHERE tablename='author';" ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) { + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="tqsqlquery.html#value">value</a>( 0 ) ); } } </pre> - <p>A <a href="ntqsqlquery.html">TQSqlQuery</a> object is used to increment and retrieve a unique 'sequence' number for the author table. The signal passed us a pointer to the insertion buffer and we then put the value we've retrieved, i.e. the next sequence number, into the buffer's id field. (Again, note that SQL databases often support a native 'sequence' function. The method used here is inappropriate for production systems, and is for example purposes only. See your database's documentation for details on how to generate unique keys in code. In many cases, the database can generate them automatically, or the database may provide a special syntax for dealing with sequences.)</p> + <p>A <a href="tqsqlquery.html">TQSqlQuery</a> object is used to increment and retrieve a unique 'sequence' number for the author table. The signal passed us a pointer to the insertion buffer and we then put the value we've retrieved, i.e. the next sequence number, into the buffer's id field. (Again, note that SQL databases often support a native 'sequence' function. The method used here is inappropriate for production systems, and is for example purposes only. See your database's documentation for details on how to generate unique keys in code. In many cases, the database can generate them automatically, or the database may provide a special syntax for dealing with sequences.)</p> </ol><!-- index Deleting!Records!Databases --><!-- index Databases!Deleting Records --><!-- index Updating Records --><!-- index Databases!Updating Records --><p>If we rebuild the application it will now support <tt>INSERT</tt> as well as <tt>UPDATE</tt> and <tt>DELETE</tt>. We could easily have added additional code to insert default values, e.g. today's date into a date field, if necessary.</p> -<!-- index Databases!Browsing --><!-- index Databases!Confirmations --><!-- index Browsing Databases --><p>Browsing is supported by clicking records and by using the arrow keys. Once a record is active (highlighted) we can edit the it. Press the <b>Insert</b> key to <tt>INSERT</tt> a new record; press <b>F2</b> to <tt>UPDATE</tt> the current record; press the <b>Del</b> key to <tt>DELETE</tt> the current record. All these operations take place immediately. Users can be given the opportunity to confirm their edits by setting the <a href="ntqdatatable.html">TQDataTable</a>'s confirmEdits property to True. If the confirmEdits property is True then user confirmation will be required for all insertions, updates and deletes. For finer control you can set the confirmInsert, confirmUpdate and confirmDelete properties individually.</p> +<!-- index Databases!Browsing --><!-- index Databases!Confirmations --><!-- index Browsing Databases --><p>Browsing is supported by clicking records and by using the arrow keys. Once a record is active (highlighted) we can edit the it. Press the <b>Insert</b> key to <tt>INSERT</tt> a new record; press <b>F2</b> to <tt>UPDATE</tt> the current record; press the <b>Del</b> key to <tt>DELETE</tt> the current record. All these operations take place immediately. Users can be given the opportunity to confirm their edits by setting the <a href="tqdatatable.html">TQDataTable</a>'s confirmEdits property to True. If the confirmEdits property is True then user confirmation will be required for all insertions, updates and deletes. For finer control you can set the confirmInsert, confirmUpdate and confirmDelete properties individually.</p> <blockquote> -<p align="center"><b> <a href="ntqdatatable.html">TQDataTable</a> User Interface Interaction</b></p> -<!-- index Databases!User Interface Interaction --><!-- index User Interface Interaction, Databases --><p>The default user-interface behavior for <a href="ntqdatatable.html">TQDataTable</a>s is as follows:</p> +<p align="center"><b> <a href="tqdatatable.html">TQDataTable</a> User Interface Interaction</b></p> +<!-- index Databases!User Interface Interaction --><!-- index User Interface Interaction, Databases --><p>The default user-interface behavior for <a href="tqdatatable.html">TQDataTable</a>s is as follows:</p> <ul><li><p>Users can move to records by clicking the scrollbar and clicking records with the mouse. They can also use the keyboard's navigation keys, e.g. <b>Left Arrow</b>, <b>Right Arrow</b>, <b>Up Arrow</b>, <b>Down Arrow</b>, <b>Page Up</b>, <b>Page Down</b>, <b>Home</b> and <b>End</b>.</p> <li><p><tt>INSERT</tt> is initiated by right-clicking the record and clicking Insert or by pressing the <b>Ins</b> (Insert) key. The user moves between fields using <b>Tab</b> and <b>Shift+Tab</b>. The <tt>INSERT</tt> will take place if the user presses <b>Enter</b> or <b>Tab</b>s off the last field. If autoEdit is TRUE the insert will take place if the user navigates to another record. <tt>INSERT</tt> is cancelled by pressing <b>Esc</b> (Escape). If autoEdit is FALSE navigating to another record also cancels the <tt>INSERT</tt>. Setting confirmInsert to TRUE will require the user to confirm each <tt>INSERT</tt>.</p> <li><p><tt>UPDATE</tt> is initiated by right-clicking the record and clicking Update or by pressing <b>F2</b>. The update will take place if the user presses Enter or Tabs off the last field. If autoEdit is TRUE the update will take place if the user navigates to another record. <tt>UPDATE</tt> is cancelled by pressing <b>Esc</b>. If autoEdit is FALSE navigating to another record also cancels the <tt>UPDATE</tt>. Setting confirmUpdate to TRUE will require the user to confirm each <tt>UPDATE</tt>.</p> @@ -172,25 +172,25 @@ bool createConnections() </ul><p>You can change this default behavior programmatically if required.</p> </blockquote> <h4><a name="2-3"></a>Relating Two Tables Together (Master-Detail)</h4> -<!-- index Databases!Master-Detail Relationships --><!-- index Master-Detail Relationships --><p>Databases often have pairs of tables that are related. For example, an invoice table might list the numbers, dates and customers for invoices, but not the actual invoice items, which an invoice item table might store. In the 'book' application we wish to have a <a href="ntqdatatable.html">TQDataTable</a> that we can use to browse through the authors table and a second <a href="ntqdatatable.html">TQDataTable</a> to show the books they've written.</p> -<p>Open the book project if it isn't already open <em>TQt Designer</em>. We will modify this project to show two <a href="ntqdatatable.html">TQDataTable</a>s that relate the author table to the book table.</p> -<ol type=1><li><p>Click the author <a href="ntqdatatable.html">TQDataTable</a> and then click the <b>Break Layout</b> toolbutton.</p> +<!-- index Databases!Master-Detail Relationships --><!-- index Master-Detail Relationships --><p>Databases often have pairs of tables that are related. For example, an invoice table might list the numbers, dates and customers for invoices, but not the actual invoice items, which an invoice item table might store. In the 'book' application we wish to have a <a href="tqdatatable.html">TQDataTable</a> that we can use to browse through the authors table and a second <a href="tqdatatable.html">TQDataTable</a> to show the books they've written.</p> +<p>Open the book project if it isn't already open <em>TQt Designer</em>. We will modify this project to show two <a href="tqdatatable.html">TQDataTable</a>s that relate the author table to the book table.</p> +<ol type=1><li><p>Click the author <a href="tqdatatable.html">TQDataTable</a> and then click the <b>Break Layout</b> toolbutton.</p> <li><p>Resize the DataTable so that it only occupies the top half of the form.</p> <li><p>Now click on the DataTable toolbutton and click on the bottom half of the form. The Table Wizard will appear. (This Wizard is explained in <a href="designer-manual-8.html#2-1">Quickly Viewing a Database Table</a>.)</p> <ol type=1><li><p>Click the connection you're using and click the book table. Click the <b>Next</b> button.</p> <li><p>Since we do not want them visible, make sure the authorid and id fields are moved to the Available Fields list box by using the arrow buttons. Move the title field to the top of the Displayed Fields, and move the price field above the notes field. Click the <b>Next</b> button.</p> <li><p>On the Table Properties page click the Read Only checkbox then click the <b>Next</b> button.</p> <li><p>On the SQL page we will leave the Filter (<tt>WHERE</tt> clause) empty. Move the title field to the Sort By list box and click <b>Next</b>. Now click <b>Finish</b>.</p> -<li><p>Change this <a href="ntqdatatable.html">TQDataTable</a>'s name to "BookDataTable".</p> -</ol><li><p><b>Shift+Click</b> the top <a href="ntqdatatable.html">TQDataTable</a> so that both <a href="ntqdatatable.html">TQDataTable</a>s are selected and then click the <b>Lay Out Vertically (in Splitter)</b> toolbar button.</p> +<li><p>Change this <a href="tqdatatable.html">TQDataTable</a>'s name to "BookDataTable".</p> +</ol><li><p><b>Shift+Click</b> the top <a href="tqdatatable.html">TQDataTable</a> so that both <a href="tqdatatable.html">TQDataTable</a>s are selected and then click the <b>Lay Out Vertically (in Splitter)</b> toolbar button.</p> <li><p>Click on the form and click the <b>Lay Out Vertically</b> toolbar button.</p> -</ol><p>Preview the form by clicking <b>Preview|Preview Form</b>. All the authors are displayed in the top <a href="ntqdatatable.html">TQDataTable</a> and all the books are displayed in the bottom <a href="ntqdatatable.html">TQDataTable</a>. However we only want the books of the currently selected author showing in the bottom <a href="ntqdatatable.html">TQDataTable</a>. We will deal with this by filtering the records in the book table according to the author selected in the author table.</p> +</ol><p>Preview the form by clicking <b>Preview|Preview Form</b>. All the authors are displayed in the top <a href="tqdatatable.html">TQDataTable</a> and all the books are displayed in the bottom <a href="tqdatatable.html">TQDataTable</a>. However we only want the books of the currently selected author showing in the bottom <a href="tqdatatable.html">TQDataTable</a>. We will deal with this by filtering the records in the book table according to the author selected in the author table.</p> <blockquote> <p align="center"><b> Using the Table Editor</b></p> <!-- index Value Editors!SQL Table Editor --><p align="center"><img align="middle" src="edit-dbtable-dialog.png" width="613" height="405"> </p> <blockquote><p align="center"><em>Edit Table Dialog</em></p></blockquote> -<p><a href="ntqdatatable.html">TQDataTable</a>s are created and set up using the SQL Table Wizard. Like any other <em>TQt Designer</em> widget their properties may be changed in the Properties window. Some of the column and row based properties can also be be changed using the <em>Edit Table</em> dialog. This dialog is invoked by right clicking the <a href="ntqdatatable.html">TQDataTable</a> and left clicking the <b>Edit</b> menu item. The right hand half of the <em>Edit Table</em> dialog is where we choose the fields we wish to display, their order and their labels. The procedure for creating columns is as follows:</p> +<p><a href="tqdatatable.html">TQDataTable</a>s are created and set up using the SQL Table Wizard. Like any other <em>TQt Designer</em> widget their properties may be changed in the Properties window. Some of the column and row based properties can also be be changed using the <em>Edit Table</em> dialog. This dialog is invoked by right clicking the <a href="tqdatatable.html">TQDataTable</a> and left clicking the <b>Edit</b> menu item. The right hand half of the <em>Edit Table</em> dialog is where we choose the fields we wish to display, their order and their labels. The procedure for creating columns is as follows:</p> <ol type=1><li><p>Click the <b>New Column</b> button.</p> <li><p>Drop down the Field combobox to list the available fields.</p> <li><p>Click the field you wish to include at this point.</p> @@ -198,58 +198,58 @@ bool createConnections() <li><p><em>Optionally</em> click the Pixmap ellipsis (<b>...</b>) button to choose a pixmap to be displayed to the left of the column's label. (The ellipsis button appears when you click in the Value part of the Properties list by a <em>pixmap</em> or <em>iconSet</em> property.)</p> </ol><p>Repeat the steps listed above for each column you wish to add. Once all the fields have been added you can change their ordering by using the blue up and down arrow buttons. At any point you can press <b>Apply</b> to see how the table will look. Finally click the <b>OK</b> button to save the properties you have set. You can always return to the table editor to change these settings later.</p> </blockquote> -<h5><a name="2-3-1"></a>Filtering One <a href="ntqdatatable.html">TQDataTable</a> by Another</h5> -<!-- index Databases!Relating Tables --><p>To filter the book table's records we need to capture the author <a href="ntqdatatable.html">TQDataTable</a>'s<!-- index currentChanged() --> <tt>currentChanged()</tt> signal and change the BookDataTable's filter accordingly.</p> +<h5><a name="2-3-1"></a>Filtering One <a href="tqdatatable.html">TQDataTable</a> by Another</h5> +<!-- index Databases!Relating Tables --><p>To filter the book table's records we need to capture the author <a href="tqdatatable.html">TQDataTable</a>'s<!-- index currentChanged() --> <tt>currentChanged()</tt> signal and change the BookDataTable's filter accordingly.</p> <ol type=1><li><p>Click <b>Edit|Slots</b>. In the <em>Edit Functions</em> dialog click <b>New Function</b> and enter a slot name of <tt>newCurrentAuthor(TQSqlRecord*)</tt>. Click <b>OK</b>.</p> <li><p>Click <b>Edit|Connections</b> to invoke the <em>View and Edit Connections</em> dialog. Create a new connection, connecting the AuthorDataTable's currentChanged() signal to the form's newCurrentAuthor() slot. Click <b>OK</b>.</p> <li><p>Click the Members tab of the Object Explorer window (click <b>Window|Views|Object Explorer</b> to make the window visible if necessary). Click the <tt>newCurrentAuthor()</tt> slot and an editor window will appear.</p> <li><p>We must change the <tt>BookForm::newCurrentAuthor()</tt> slot to specify the parameter name and perform the necessary action:</p> -<pre> void BookForm::newCurrentAuthor( <a href="ntqsqlrecord.html">TQSqlRecord</a> *author ) +<pre> void BookForm::newCurrentAuthor( <a href="tqsqlrecord.html">TQSqlRecord</a> *author ) { - BookDataTable->setFilter( "authorid=" + author-><a href="ntqsqlrecord.html#value">value</a>( "id" ).toString() ); + BookDataTable->setFilter( "authorid=" + author-><a href="tqsqlrecord.html#value">value</a>( "id" ).toString() ); BookDataTable->refresh(); } </pre> - <p>All that's required now is to change the BookDataTable's filter and refresh the <a href="ntqdatatable.html">TQDataTable</a> to show the results of the filter.</p> + <p>All that's required now is to change the BookDataTable's filter and refresh the <a href="tqdatatable.html">TQDataTable</a> to show the results of the filter.</p> </ol><h5><a name="2-3-2"></a>Preparing the Interface for Drilldown</h5> -<!-- index Databases!Drilldown --><!-- index Drilldown --><p>We can now browse and edit authors and see their books in the BookDataTable. In the next section we explore <a href="ntqdatabrowser.html">TQDataBrowser</a>, which will allow us to drill down to a dialog through which we can edit books. For now we will add some buttons to the main BookForm which we will use to invoke the book editing dialog.</p> +<!-- index Databases!Drilldown --><!-- index Drilldown --><p>We can now browse and edit authors and see their books in the BookDataTable. In the next section we explore <a href="tqdatabrowser.html">TQDataBrowser</a>, which will allow us to drill down to a dialog through which we can edit books. For now we will add some buttons to the main BookForm which we will use to invoke the book editing dialog.</p> <ol type=1><li><p>Click the form, then click the <b>Break Layout</b> toolbar button. Resize the form to make room for some buttons at the bottom.</p> <li><p>Add two buttons to the bottom of the form. Change their names and labels to the following:</p> <ul><li><p>EditPushButton -- &Edit Books</p> <li><p>QuitPushButton -- &Quit</p> </ul><p>Hold down the Shift key and Click both buttons (i.e. <b>Shift+Click</b> the buttons) and click the <b>Lay Out Horizontally</b> toolbar button. Click the form and click the <b>Lay Out Vertically</b> toolbar button.</p> <li><p>We will provide the Quit button with functionality now and work on the rest shortly. Click <b>Edit|Connections</b>, then connect the the Quit button's clicked() signal to the form's accept() slot. Click <b>OK</b>.</p> -</ol><h3><a name="3"></a>Using <a href="ntqdatabrowser.html">TQDataBrowser</a> and <a href="ntqdataview.html">TQDataView</a></h3> +</ol><h3><a name="3"></a>Using <a href="tqdatabrowser.html">TQDataBrowser</a> and <a href="tqdataview.html">TQDataView</a></h3> <p align="center"><img align="middle" src="book-dialog.png" width="548" height="405"> </p> <blockquote><p align="center"><em>The Book Application's Edit Books Dialog</em></p></blockquote> -<h4><a name="3-1"></a>Drilling Down to a Form using <a href="ntqdatabrowser.html">TQDataBrowser</a></h4> -<h5><a name="3-1-1"></a>Setting up a <a href="ntqdatabrowser.html">TQDataBrowser</a></h5> -<!-- index Databases!Drilldown --><!-- index Drilldown --><!-- index Databases!Data Browser Wizard --><!-- index Wizards!Data Browser --><p>We will now create a new form to allow users to edit book records. Click the <b>New</b> toolbar button, click the Dialog template from the <em>New File</em> dialog and click <b>OK</b>. Change the name of the form to EditBookForm and its caption to 'Edit Books'. Click the <b>Save</b> toolbar button and call the file <tt>editbook.ui</tt>. Now that we have the form we can add a <a href="ntqdatabrowser.html">TQDataBrowser</a> to show the book records.</p> +<h4><a name="3-1"></a>Drilling Down to a Form using <a href="tqdatabrowser.html">TQDataBrowser</a></h4> +<h5><a name="3-1-1"></a>Setting up a <a href="tqdatabrowser.html">TQDataBrowser</a></h5> +<!-- index Databases!Drilldown --><!-- index Drilldown --><!-- index Databases!Data Browser Wizard --><!-- index Wizards!Data Browser --><p>We will now create a new form to allow users to edit book records. Click the <b>New</b> toolbar button, click the Dialog template from the <em>New File</em> dialog and click <b>OK</b>. Change the name of the form to EditBookForm and its caption to 'Edit Books'. Click the <b>Save</b> toolbar button and call the file <tt>editbook.ui</tt>. Now that we have the form we can add a <a href="tqdatabrowser.html">TQDataBrowser</a> to show the book records.</p> <ol type=1><li><p>Click the <b>Data Browser</b> toolbar button, then click the form. The Data Browser Wizard will appear.</p> -<li><p>The <em>Database Connection and Table</em> wizard page is used to set up a connection if one doesn't exist and to choose the table or view for the <a href="ntqdatabrowser.html">TQDataBrowser</a>. (See <a href="designer-manual-8.html#1-1">Setting Up TQt Designer's Connections</a>.)</p> +<li><p>The <em>Database Connection and Table</em> wizard page is used to set up a connection if one doesn't exist and to choose the table or view for the <a href="tqdatabrowser.html">TQDataBrowser</a>. (See <a href="designer-manual-8.html#1-1">Setting Up TQt Designer's Connections</a>.)</p> <p>Click the connection you wish to use, listed in the Database Connection list box, e.g. "(default)". The available tables and views will appear in the Table list box. Click the book table and then click the <b>Next</b> button.</p> -<li><p>The <em>Displayed Fields</em> wizard page provides a means of selecting which fields should be displayed in the <a href="ntqdatabrowser.html">TQDataBrowser</a> and in what order. By default all fields except the primary key (if there is one) are in the right hand Displayed Fields list box. The left and right blue arrow buttons can be used to move fields between the Displayed Fields and the Available Fields list boxes. The blue up and down arrow buttons are used to select the display order of the displayed fields.</p> +<li><p>The <em>Displayed Fields</em> wizard page provides a means of selecting which fields should be displayed in the <a href="tqdatabrowser.html">TQDataBrowser</a> and in what order. By default all fields except the primary key (if there is one) are in the right hand Displayed Fields list box. The left and right blue arrow buttons can be used to move fields between the Displayed Fields and the Available Fields list boxes. The blue up and down arrow buttons are used to select the display order of the displayed fields.</p> <p>We don't want to see the authorid foreign key field on the form, so move it to the Available Fields list box. Also, move the title field to the top of the Displayed Fields list. Click the <b>Next</b> button.</p> <li><p>The <em>Navigation and Editing</em> wizard page allows us to choose which navigation and editing buttons should appear on the form.</p> <p>We will accept the defaults and simply click the <b>Next</b> button.</p> -<li><p>The <em>SQL</em> wizard page is used to set the <a href="ntqdatabrowser.html">TQDataBrowser</a>'s Filter and Sort properties. The Filter is an SQL <tt>WHERE</tt> clause (without the word 'WHERE'). For example, to only list books that cost less than 50 (of some currency, e.g. dollars), we would enter <tt>price < 50</tt>. We will leave the filter empty. The Available Fields list box lists all the fields. The Sort By list box lists the fields that the <a href="ntqdatabrowser.html">TQDataBrowser</a> is to sort by and the direction of their sorting (ASCending or DESCending). The left and right blue arrows are used to move fields between the two list boxes. The up and down blue arrows move fields up and down within the Sort By list box. The ASC or DESC setting is changed with the sort order button.</p> +<li><p>The <em>SQL</em> wizard page is used to set the <a href="tqdatabrowser.html">TQDataBrowser</a>'s Filter and Sort properties. The Filter is an SQL <tt>WHERE</tt> clause (without the word 'WHERE'). For example, to only list books that cost less than 50 (of some currency, e.g. dollars), we would enter <tt>price < 50</tt>. We will leave the filter empty. The Available Fields list box lists all the fields. The Sort By list box lists the fields that the <a href="tqdatabrowser.html">TQDataBrowser</a> is to sort by and the direction of their sorting (ASCending or DESCending). The left and right blue arrows are used to move fields between the two list boxes. The up and down blue arrows move fields up and down within the Sort By list box. The ASC or DESC setting is changed with the sort order button.</p> <p>Move the title field into the Sort By list box and click <b>Next</b>.</p> <li><p>The <em>Layout</em> wizard page is used to specify the initial layout of the form.</p> <p>Change the Number of Columns to 1, then click <b>Next</b>. Now click <b>Finish</b>.</p> -<li><p>The <a href="ntqdatabrowser.html">TQDataBrowser</a> will now appear on the form. Resize the form to make it smaller. Click the <a href="ntqdatabrowser.html">TQDataBrowser</a> then click the <b>Break Layout</b> toolbar button. Click the buttons then click the <b>Break Layout</b> toolbar button. Add another button called 'PushButtonClose' with the text '&Close' and place it to the right of the Delete button.</p> -<li><p><b>Shift+Click</b> the Insert, Update, Delete and Close buttons, then click the <b>Lay Out Horizontally</b> toolbar button. Click the <a href="ntqdatabrowser.html">TQDataBrowser</a>, then click the <b>Lay Out in a Grid</b> toolbar button. Finally click the form and click the <b>Lay Out Vertically</b> toolbar button. Now click the <a href="ntqdatabrowser.html">TQDataBrowser</a> and rename it 'BookDataBrowser'.</p> +<li><p>The <a href="tqdatabrowser.html">TQDataBrowser</a> will now appear on the form. Resize the form to make it smaller. Click the <a href="tqdatabrowser.html">TQDataBrowser</a> then click the <b>Break Layout</b> toolbar button. Click the buttons then click the <b>Break Layout</b> toolbar button. Add another button called 'PushButtonClose' with the text '&Close' and place it to the right of the Delete button.</p> +<li><p><b>Shift+Click</b> the Insert, Update, Delete and Close buttons, then click the <b>Lay Out Horizontally</b> toolbar button. Click the <a href="tqdatabrowser.html">TQDataBrowser</a>, then click the <b>Lay Out in a Grid</b> toolbar button. Finally click the form and click the <b>Lay Out Vertically</b> toolbar button. Now click the <a href="tqdatabrowser.html">TQDataBrowser</a> and rename it 'BookDataBrowser'.</p> <li><p><em>TQt Designer</em> will generate the necessary code to make the browser operational (including generating the appropriate cursor, sort and filter code).</p> <p>For finer control over the form, we will be creating our own database cursor. Therefore, set the BookDataBrowser's frameworkCode property to FALSE in the Properties window to prevent <em>TQt Designer</em> from generating redundant code for the cursor.</p> </ol><blockquote> -<p align="center"><b> <a href="ntqdatabrowser.html">TQDataBrowser</a> User Interface Interaction</b></p> -<p>The user-interface behavior for <a href="ntqdatabrowser.html">TQDataBrowser</a>s is created by connecting slots and signals. The slots provided are:</p> +<p align="center"><b> <a href="tqdatabrowser.html">TQDataBrowser</a> User Interface Interaction</b></p> +<p>The user-interface behavior for <a href="tqdatabrowser.html">TQDataBrowser</a>s is created by connecting slots and signals. The slots provided are:</p> <ul><li><!-- index insert() --><p><tt>insert()</tt>,<!-- index update() --> <tt>update()</tt> and<!-- index del() --> <tt>del()</tt> for editing;</p> <li><!-- index first() --><p><tt>first()</tt>,<!-- index next() --> <tt>next()</tt>,<!-- index prev() --> <tt>prev()</tt>, and<!-- index last() --> <tt>last()</tt> for navigation;</p> <li><!-- index refresh() --><p><tt>refresh()</tt> to refresh the cursor from the database;</p> <li><!-- index readFields() --><p><tt>readFields()</tt> to read data from the cursor's edit buffer and<!-- index writeFields() --> <tt>writeFields()</tt> to write the form's data to the cursor's edit buffer;</p> <li><!-- index clearValues() --><p><tt>clearValues()</tt> to clear the form's values.</p> -</ul><p>If you use <em>TQt Designer</em>'s <a href="ntqdatabrowser.html">TQDataBrowser</a> wizard you will be given the option of creating a default set of buttons for navigation and editing. The behavior of these buttons is set up using the slots described above to provide the following functionality:</p> +</ul><p>If you use <em>TQt Designer</em>'s <a href="tqdatabrowser.html">TQDataBrowser</a> wizard you will be given the option of creating a default set of buttons for navigation and editing. The behavior of these buttons is set up using the slots described above to provide the following functionality:</p> <ul><li><p><tt>INSERT</tt> is initiated by pressing the <b>Ins</b> (Insert) key. The user moves between fields using <b>Tab</b> and <b>Shift+Tab</b>. If the user presses the Update button the <tt>INSERT</tt> will take place and the user will be taken to the record they have just inserted. If the user presses the Insert button (i.e. a second time) the <tt>INSERT</tt> will take place and a new insertion will be initiated. If autoEdit is TRUE the <tt>INSERT</tt> will take place if the user navigates to another record. <tt>INSERT</tt> is cancelled by pressing the <b>Esc</b> key or by pressing the <b>Del</b> (Delete) key. If autoEdit is FALSE then navigating to another record also cancels the <tt>INSERT</tt>. Setting confirmInsert to TRUE will require the user to confirm each <tt>INSERT</tt>.</p> <li><p><tt>UPDATE</tt> is automatically initiated whenever the user navigates to a record. An update will take place if the user presses the Update button. If autoEdit is TRUE the update will take place if the user navigates to another record. <tt>UPDATE</tt> is cancelled by pressing the <b>Esc</b> key or by pressing the <b>Del</b> button. If autoEdit is FALSE then navigating to another record also cancels the <tt>UPDATE</tt>. Setting confirmUpdate to TRUE will require the user to confirm each <tt>UPDATE</tt>.</p> <li><p><tt>DELETE</tt> is achieved by pressing the <b>Del</b> key. Setting confirmDelete to TRUE will require the user to confirm each <tt>DELETE</tt>.</p> @@ -261,10 +261,10 @@ bool createConnections() <pre> void BookForm::editClicked() { EditBookForm *dialog = new EditBookForm( this, "Edit Book Form", TRUE ); - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "book" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "book" ); dialog->BookDataBrowser->setSqlCursor( &cur ); dialog->BookDataBrowser->setFilter( BookDataTable->filter() ); - dialog->BookDataBrowser->setSort(TQSqlIndex::<a href="ntqsqlindex.html#fromStringList">fromStringList</a>( + dialog->BookDataBrowser->setSort(TQSqlIndex::<a href="tqsqlindex.html#fromStringList">fromStringList</a>( BookDataTable->sort(), &cur ) ); dialog->BookDataBrowser->refresh(); int i = BookDataTable->currentRow(); @@ -275,28 +275,28 @@ bool createConnections() BookDataTable->refresh(); } </pre> - <p>We create our dialog as before. We also create a cursor over the book table and set the dialog's <a href="ntqdatabrowser.html">TQDataBrowser</a>, BookDataBrowser, to use this new cursor. We set the <a href="ntqdatabrowser.html">TQDataBrowser</a>'s filter and sort to those that applied to the main form's book <a href="ntqdatatable.html">TQDataTable</a>. We refresh the <a href="ntqdatabrowser.html">TQDataBrowser</a> and seek to the same record the user was viewing on the main form. Then we exec the dialog and delete it when the user has finished with it. Finally we update the BookDataTable in the main form to reflect any changes that were made in the dialog.</p> -<li><p>Because our code refers to a class declared in <tt>editbook.h</tt> and to a <a href="ntqdatabrowser.html">TQDataBrowser</a> we need to add two additional include files. Click on the BookForm, then click on the Members tab of the Object Explorer window. Right click the 'Includes (In Declaration)' item and click New. Type in <tt>"editbook.h"</tt>. Now add a second include, this time, <tt></tt><ntqdatabrowser.h>.</p> -</ol><p>Now when we navigate through the author and book records in the BookForm we can click the Edit Books button to launch our Edit Books dialog. Although the dialog supports <tt>UPDATE</tt>, <tt>DELETE</tt> and navigation over the book table, we cannot edit the foreign keys nor perform inserts. We will deal with insertion in the same way as we did with the <a href="ntqdatatable.html">TQDataTable</a>, then we will handle the foreign key relationship to author.</p> -<h5><a name="3-1-3"></a>Inserting into a <a href="ntqdatabrowser.html">TQDataBrowser</a></h5> + <p>We create our dialog as before. We also create a cursor over the book table and set the dialog's <a href="tqdatabrowser.html">TQDataBrowser</a>, BookDataBrowser, to use this new cursor. We set the <a href="tqdatabrowser.html">TQDataBrowser</a>'s filter and sort to those that applied to the main form's book <a href="tqdatatable.html">TQDataTable</a>. We refresh the <a href="tqdatabrowser.html">TQDataBrowser</a> and seek to the same record the user was viewing on the main form. Then we exec the dialog and delete it when the user has finished with it. Finally we update the BookDataTable in the main form to reflect any changes that were made in the dialog.</p> +<li><p>Because our code refers to a class declared in <tt>editbook.h</tt> and to a <a href="tqdatabrowser.html">TQDataBrowser</a> we need to add two additional include files. Click on the BookForm, then click on the Members tab of the Object Explorer window. Right click the 'Includes (In Declaration)' item and click New. Type in <tt>"editbook.h"</tt>. Now add a second include, this time, <tt></tt><tqdatabrowser.h>.</p> +</ol><p>Now when we navigate through the author and book records in the BookForm we can click the Edit Books button to launch our Edit Books dialog. Although the dialog supports <tt>UPDATE</tt>, <tt>DELETE</tt> and navigation over the book table, we cannot edit the foreign keys nor perform inserts. We will deal with insertion in the same way as we did with the <a href="tqdatatable.html">TQDataTable</a>, then we will handle the foreign key relationship to author.</p> +<h5><a name="3-1-3"></a>Inserting into a <a href="tqdatabrowser.html">TQDataBrowser</a></h5> <p>We will create a slot to receive the Edit Books form's<!-- index primeInsert() --> <tt>primeInsert()</tt> signal so that we can insert a unique primary key.</p> <ol type=1><li><p>Click on the Edit Books form, then create a new Slot called <tt>primeInsertBook(TQSqlRecord*)</tt>.</p> <p>Click <b>Edit|Slots</b>, then click the <b>New Function</b> button and type the new function name in the Function Properties Function edit box. Click <b>OK</b>.</p> <li><p>Connect the BookDataBrowser's<!-- index primeInsert() --> <tt>primeInsert()</tt> signal to the <tt>primeInsertBook()</tt> slot.</p> <p>Click the <b>Connect Signals/Slots</b> toolbar button, then click the BookDataBrowser and drag to the form; release the mouse on the form. Now click the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and the primeInsertBook slot. Click <b>OK</b>.</p> <li><p>In the Object Explorer window click Members and then click the <tt>primeInsertBook</tt> slot. We need to change it to the following:</p> -<pre> void EditBookForm::primeInsertBook( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buffer ) +<pre> void EditBookForm::primeInsertBook( <a href="tqsqlrecord.html">TQSqlRecord</a> * buffer ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query; - query.<a href="ntqsqlquery.html#exec">exec</a>( "UPDATE sequence SET sequence = sequence + 1 WHERE tablename='book';" ); - query.<a href="ntqsqlquery.html#exec">exec</a>( "SELECT sequence FROM sequence WHERE tablename='book';" ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="ntqsqlquery.html#value">value</a>( 0 ) ); + <a href="tqsqlquery.html">TQSqlQuery</a> query; + query.<a href="tqsqlquery.html#exec">exec</a>( "UPDATE sequence SET sequence = sequence + 1 WHERE tablename='book';" ); + query.<a href="tqsqlquery.html#exec">exec</a>( "SELECT sequence FROM sequence WHERE tablename='book';" ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) { + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="tqsqlquery.html#value">value</a>( 0 ) ); } } </pre> <li><!-- index clicked() --><!-- index accept() --> <p>We will also tidy up the user interface slightly. Click the Update button and set its default property to True. Connect the Close button's <tt>clicked()</tt> signal to the EditBookForm's <tt>accept()</tt> slot.</p> -</ol><h5><a name="3-1-4"></a>Handling Foreign Keys in a <a href="ntqdatabrowser.html">TQDataBrowser</a></h5> +</ol><h5><a name="3-1-4"></a>Handling Foreign Keys in a <a href="tqdatabrowser.html">TQDataBrowser</a></h5> <!-- index Foreign Keys --><!-- index Databases!Foreign Keys --><p>TQt's SQL module provides two approaches to dealing with foreign keys. The most powerful and flexible approach is to subclass widgets and use property maps to relate the widgets to the database. This approach is described in the <a href="http://doc.trolltech.com/sql.html#Custom_Editor_Widgets">TQt SQL Module documentation</a>, particularly the StatusPicker example. A simpler approach that can be taken wholly within <em>TQt Designer</em> is presented here.</p> <p>We will add a new field to the EditBookForm so that authors can be edited along with the title and price. Once we've handled the visual design we'll write the code to make it all work.</p> <ol type=1><li><p>First we'll add the new widgets. Click the BookDataBrowser and click the <b>Break Layout</b> toolbar button. Resize the form to make it larger and drag each set of buttons down to make some room below the title and price TQLineEdits. Click the <b>Text Label</b> toolbar button and click on the form beneath the Price label. Click the <em>Text Label</em> and change its text to 'Author'. Click the <b>ComboBox</b> toolbar button and click on the form beneath the price TQLineEdit. In the Property Window change the <em>ComboBox</em>'s <em>name</em> to ComboBoxAuthor and change its <em>sizePolicy</em> <em>hSizeType</em> to Expanding.</p> @@ -309,31 +309,31 @@ bool createConnections() <ul><li><p>We start with the<!-- index init() --> <tt>init()</tt> function; this is called after the dialog is constructed and we will use it to populate the <em>ComboBox</em> with author names.</p> <pre> void EditBookForm::init() { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT surname FROM author ORDER BY surname;" ); - while ( query.<a href="ntqsqlquery.html#next">next</a>() ) - ComboBoxAuthor->insertItem( query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toString()); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT surname FROM author ORDER BY surname;" ); + while ( query.<a href="tqsqlquery.html#next">next</a>() ) + ComboBoxAuthor->insertItem( query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString()); } </pre> <p>Here we execute a query to get a list of author names and insert each one into the <em>ComboBox</em>.</p> <li><p>We next write the code which will be executed just before a record is updated (or inserted) in the database.</p> -<pre> void EditBookForm::beforeUpdateBook( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buffer ) +<pre> void EditBookForm::beforeUpdateBook( <a href="tqsqlrecord.html">TQSqlRecord</a> * buffer ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id FROM author WHERE surname ='" + + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id FROM author WHERE surname ='" + ComboBoxAuthor->currentText() + "';" ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "authorid", query.<a href="ntqsqlquery.html#value">value</a>( 0 ) ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "authorid", query.<a href="tqsqlquery.html#value">value</a>( 0 ) ); } </pre> <p>We look up the id of the <em>ComboBox</em>'s current author and place it in the update (or insert) buffer's authorid field.</p> <li><p>As the user navigates through the records we ensure that the <em>ComboBox</em> reflects the current author.</p> -<pre> void EditBookForm::primeUpdateBook( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buffer ) +<pre> void EditBookForm::primeUpdateBook( <a href="tqsqlrecord.html">TQSqlRecord</a> * buffer ) { // Who is this book's author? - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT surname FROM author WHERE id='" + - buffer-><a href="ntqsqlrecord.html#value">value</a>( "authorid" ).toString() + "';" ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT surname FROM author WHERE id='" + + buffer-><a href="tqsqlrecord.html#value">value</a>( "authorid" ).toString() + "';" ); <a href="ntqstring.html">TQString</a> author = ""; - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - author = query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toString(); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + author = query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString(); // Set the ComboBox to the right author for ( int i = 0; i < ComboBoxAuthor->count(); i++ ) { if ( ComboBoxAuthor->text( i ) == author ) { @@ -349,21 +349,21 @@ bool createConnections() <li><p>We now record the author id's in the<!-- index init() --> <tt>init()</tt> function.</p> <pre> void EditBookForm::init() { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT surname, id FROM author ORDER BY surname;" ); - while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - ComboBoxAuthor->insertItem( query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toString() ); - int id = query.<a href="ntqsqlquery.html#value">value</a>( 1 ).toInt(); - mapAuthor( query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toString(), id, TRUE ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT surname, id FROM author ORDER BY surname;" ); + while ( query.<a href="tqsqlquery.html#next">next</a>() ) { + ComboBoxAuthor->insertItem( query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString() ); + int id = query.<a href="tqsqlquery.html#value">value</a>( 1 ).toInt(); + mapAuthor( query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString(), id, TRUE ); } } </pre> <p>After inserting each author's name into the <em>ComboBox</em> we populate a <a href="ntqmap.html">TQMap</a> with the author's name and id.</p> <li><p>Instead of looking up the author's id in the database we look it up in the <a href="ntqmap.html">TQMap</a>.</p> -<pre> void EditBookForm::beforeUpdateBook( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buffer ) +<pre> void EditBookForm::beforeUpdateBook( <a href="tqsqlrecord.html">TQSqlRecord</a> * buffer ) { int id; mapAuthor( ComboBoxAuthor->currentText(), id, FALSE ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "authorid", id ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "authorid", id ); } </pre> <li> <p>We use a single function for storing author id's and returning them so that we can use a static data structure.</p> @@ -377,9 +377,9 @@ bool createConnections() </pre> <p>If the populate flag is TRUE, we store the author's name and id in the <a href="ntqmap.html">TQMap</a>, otherwise we look up the given author name and set id appropriately.</p> <li><p>Before we perform an update we must ensure that the author combobox shows the right author.</p> -<pre> void EditBookForm::primeUpdateBook( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buffer ) +<pre> void EditBookForm::primeUpdateBook( <a href="tqsqlrecord.html">TQSqlRecord</a> * buffer ) { - int id = buffer-><a href="ntqsqlrecord.html#value">value</a>( "authorid" ).toInt(); + int id = buffer-><a href="tqsqlrecord.html#value">value</a>( "authorid" ).toInt(); for ( int i = 0; i < ComboBoxAuthor->count(); i++ ) { <a href="ntqstring.html">TQString</a> author = ComboBoxAuthor->text( i ); if ( authorMap.contains( author ) && authorMap[author] == id ) { @@ -389,8 +389,8 @@ bool createConnections() } } </pre> -</ol><!-- index Databases!Foreign Keys --><!-- index Foreign Keys --> <p>Another approach which is especially useful if the same foreign key lookups are required in different parts of the application is to subclass a cursor and use this for our lookups. This is described in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>, particulary the section on subclassing <a href="ntqsqlcursor.html">TQSqlCursor</a>.</p> -<p>The 'book' example demonstrates the basic techniques needed for SQL programming with TQt. Additional information on the TQt SQL classes, especially the <a href="ntqsqlquery.html">TQSqlQuery</a> and <a href="ntqsqlcursor.html">TQSqlCursor</a> classes is provided in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>.</p> +</ol><!-- index Databases!Foreign Keys --><!-- index Foreign Keys --> <p>Another approach which is especially useful if the same foreign key lookups are required in different parts of the application is to subclass a cursor and use this for our lookups. This is described in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>, particulary the section on subclassing <a href="tqsqlcursor.html">TQSqlCursor</a>.</p> +<p>The 'book' example demonstrates the basic techniques needed for SQL programming with TQt. Additional information on the TQt SQL classes, especially the <a href="tqsqlquery.html">TQSqlQuery</a> and <a href="tqsqlcursor.html">TQSqlCursor</a> classes is provided in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>.</p> <!-- eof --> <p align="right">[<a href="designer-manual-7.html">Prev: Creating Custom Widgets</a>] [<a href="designer-manual.html">Home</a>] [<a href="designer-manual-9.html">Next: Customizing and Integrating TQt Designer</a>]</p> <p><address><hr><div align=center> diff --git a/doc/html/functions.html b/doc/html/functions.html index 23a6f8bed..a63d97cd5 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -78,12 +78,12 @@ abort: <a href="qnplugin.html#actual">TQNPlugin</a><li>add: <a href="qactiongroup.html#add">TQActionGroup</a> <a href="qgridlayout.html#add">TQGridLayout</a> <a href="ntqlayout.html#add">TQLayout</a> <a href="tqobjectcleanuphandler.html#add">TQObjectCleanupHandler</a> <a href="ntqtooltip.html#add">TQToolTip</a> <a href="ntqwhatsthis.html#add">TQWhatsThis</a><li>addArgument: <a href="ntqprocess.html#addArgument">TQProcess</a><li>addBindValue: - <a href="ntqsqlquery.html#addBindValue">TQSqlQuery</a><li>addChild: + <a href="tqsqlquery.html#addBindValue">TQSqlQuery</a><li>addChild: <a href="ntqscrollview.html#addChild">TQScrollView</a><li>addChildLayout: <a href="ntqlayout.html#addChildLayout">TQLayout</a><li>addColumn: - <a href="ntqdatatable.html#addColumn">TQDataTable</a> <a href="ntqlistview.html#addColumn">TQListView</a><li>addCoords: + <a href="tqdatatable.html#addColumn">TQDataTable</a> <a href="ntqlistview.html#addColumn">TQListView</a><li>addCoords: <a href="ntqrect.html#addCoords">TQRect</a><li>addDatabase: - <a href="ntqsqldatabase.html#addDatabase">TQSqlDatabase</a><li>addDays: + <a href="tqsqldatabase.html#addDatabase">TQSqlDatabase</a><li>addDays: <a href="qdate.html#addDays">TQDate</a> <a href="ntqdatetime.html#addDays">TQDateTime</a><li>addDockWindow: <a href="ntqmainwindow.html#addDockWindow">TQMainWindow</a><li>addFactory: <a href="qmimesourcefactory.html#addFactory">TQMimeSourceFactory</a><li>addFilePath: @@ -124,14 +124,14 @@ abort: <a href="ntqserversocket.html#address">TQServerSocket</a> <a href="ntqsocket.html#address">TQSocket</a> <a href="ntqsocketdevice.html#address">TQSocketDevice</a><li>addressReusable: <a href="ntqsocketdevice.html#addressReusable">TQSocketDevice</a><li>addresses: <a href="ntqdns.html#addresses">TQDns</a><li>adjustColumn: - <a href="ntqdatatable.html#adjustColumn">TQDataTable</a> <a href="ntqlistview.html#adjustColumn">TQListView</a> <a href="ntqtable.html#adjustColumn">TQTable</a><li>adjustHeaderSize: + <a href="tqdatatable.html#adjustColumn">TQDataTable</a> <a href="ntqlistview.html#adjustColumn">TQListView</a> <a href="ntqtable.html#adjustColumn">TQTable</a><li>adjustHeaderSize: <a href="ntqheader.html#adjustHeaderSize">TQHeader</a><li>adjustItems: <a href="ntqiconview.html#adjustItems">TQIconView</a><li>adjustPos: <a href="ntqsplitter.html#adjustPos">TQSplitter</a><li>adjustRow: <a href="ntqtable.html#adjustRow">TQTable</a><li>adjustSize: <a href="ntqmessagebox.html#adjustSize">TQMessageBox</a> <a href="ntqsimplerichtext.html#adjustSize">TQSimpleRichText</a> <a href="ntqwidget.html#adjustSize">TQWidget</a><li>advance: <a href="ntqcanvas.html#advance">TQCanvas</a> <a href="qcanvasitem.html#advance">TQCanvasItem</a> <a href="qcanvassprite.html#advance">TQCanvasSprite</a><li>afterSeek: - <a href="ntqsqlquery.html#afterSeek">TQSqlQuery</a><li>alignment: + <a href="tqsqlquery.html#afterSeek">TQSqlQuery</a><li>alignment: <a href="ntqgroupbox.html#alignment">TQGroupBox</a> <a href="ntqlabel.html#alignment">TQLabel</a> <a href="qlayoutitem.html#alignment">TQLayoutItem</a> <a href="ntqlineedit.html#alignment">TQLineEdit</a> <a href="ntqmultilineedit.html#alignment">TQMultiLineEdit</a> <a href="qstylesheetitem.html#alignment">TQStyleSheetItem</a> <a href="qtableitem.html#alignment">TQTableItem</a> <a href="ntqtextedit.html#alignment">TQTextEdit</a><li>alignmentRect: <a href="ntqlayout.html#alignmentRect">TQLayout</a><li>all: <a href="qmacmime.html#all">TQMacMime</a> <a href="qwindowsmime.html#all">TQWindowsMime</a><li>allColumnsShowFocus: @@ -155,7 +155,7 @@ abort: <a href="qcanvasitem.html#animated">TQCanvasItem</a><li>answerRect: <a href="qdragmoveevent.html#answerRect">TQDragMoveEvent</a><li>appID: <a href="qaxfactory.html#appID">TQAxFactory</a><li>append: - <a href="ntqcstring.html#append">TQCString</a> <a href="qicondrag.html#append">TQIconDrag</a> <a href="ntqptrlist.html#append">TQPtrList</a> <a href="ntqsqlcursor.html#append">TQSqlCursor</a> <a href="ntqsqlindex.html#append">TQSqlIndex</a> <a href="ntqsqlrecord.html#append">TQSqlRecord</a> <a href="ntqstring.html#append">TQString</a> <a href="ntqtextedit.html#append">TQTextEdit</a> <a href="ntqvaluelist.html#append">TQValueList</a> <a href="ntqvaluevector.html#append">TQValueVector</a> <a href="qxmlattributes.html#append">TQXmlAttributes</a><li>appendChild: + <a href="ntqcstring.html#append">TQCString</a> <a href="qicondrag.html#append">TQIconDrag</a> <a href="ntqptrlist.html#append">TQPtrList</a> <a href="tqsqlcursor.html#append">TQSqlCursor</a> <a href="tqsqlindex.html#append">TQSqlIndex</a> <a href="tqsqlrecord.html#append">TQSqlRecord</a> <a href="ntqstring.html#append">TQString</a> <a href="ntqtextedit.html#append">TQTextEdit</a> <a href="ntqvaluelist.html#append">TQValueList</a> <a href="ntqvaluevector.html#append">TQValueVector</a> <a href="qxmlattributes.html#append">TQXmlAttributes</a><li>appendChild: <a href="qdomnode.html#appendChild">TQDomNode</a><li>appendData: <a href="qdomcharacterdata.html#appendData">TQDomCharacterData</a><li>applicationContext: <a href="qmotif.html#applicationContext">TQMotif</a><li>applicationDirPath: @@ -214,7 +214,7 @@ abort: <a href="ntqmemarray.html#assign">TQMemArray</a><li>assistantClosed: <a href="ntqassistantclient.html#assistantClosed">TQAssistantClient</a><li>assistantOpened: <a href="ntqassistantclient.html#assistantOpened">TQAssistantClient</a><li>at: - <a href="ntqbitarray.html#at">TQBitArray</a> <a href="ntqiodevice.html#at">TQIODevice</a> <a href="ntqmemarray.html#at">TQMemArray</a> <a href="ntqptrlist.html#at">TQPtrList</a> <a href="ntqptrvector.html#at">TQPtrVector</a> <a href="ntqsocket.html#at">TQSocket</a> <a href="ntqsqlquery.html#at">TQSqlQuery</a> <a href="ntqsqlresult.html#at">TQSqlResult</a> <a href="ntqstring.html#at">TQString</a> <a href="ntqvaluelist.html#at">TQValueList</a> <a href="ntqvaluevector.html#at">TQValueVector</a><li>atBeginning: + <a href="ntqbitarray.html#at">TQBitArray</a> <a href="ntqiodevice.html#at">TQIODevice</a> <a href="ntqmemarray.html#at">TQMemArray</a> <a href="ntqptrlist.html#at">TQPtrList</a> <a href="ntqptrvector.html#at">TQPtrVector</a> <a href="ntqsocket.html#at">TQSocket</a> <a href="tqsqlquery.html#at">TQSqlQuery</a> <a href="tqsqlresult.html#at">TQSqlResult</a> <a href="ntqstring.html#at">TQString</a> <a href="ntqvaluelist.html#at">TQValueList</a> <a href="ntqvaluevector.html#at">TQValueVector</a><li>atBeginning: <a href="ntqmultilineedit.html#atBeginning">TQMultiLineEdit</a><li>atEnd: <a href="ntqdatastream.html#atEnd">TQDataStream</a> <a href="ntqfile.html#atEnd">TQFile</a> <a href="ntqiodevice.html#atEnd">TQIODevice</a> <a href="ntqmultilineedit.html#atEnd">TQMultiLineEdit</a> <a href="ntqsocket.html#atEnd">TQSocket</a> <a href="ntqtextstream.html#atEnd">TQTextStream</a><li>atFirst: <a href="qasciicacheiterator.html#atFirst">TQAsciiCacheIterator</a> <a href="qcacheiterator.html#atFirst">TQCacheIterator</a> <a href="qintcacheiterator.html#atFirst">TQIntCacheIterator</a> <a href="qptrlistiterator.html#atFirst">TQPtrListIterator</a><li>atLast: @@ -232,8 +232,8 @@ abort: <a href="ntqprogressdialog.html#autoClose">TQProgressDialog</a><li>autoCompletion: <a href="ntqcombobox.html#autoCompletion">TQComboBox</a><li>autoDefault: <a href="ntqpushbutton.html#autoDefault">TQPushButton</a><li>autoDelete: - <a href="ntqptrcollection.html#autoDelete">TQAsciiDict</a> <a href="ntqptrcollection.html#autoDelete">TQCache</a> <a href="ntqdatatable.html#autoDelete">TQDataTable</a> <a href="ntqptrcollection.html#autoDelete">TQDict</a> <a href="qiconfactory.html#autoDelete">TQIconFactory</a> <a href="ntqptrcollection.html#autoDelete">TQIntDict</a> <a href="ntqnetworkprotocol.html#autoDelete">TQNetworkProtocol</a> <a href="ntqptrcollection.html#autoDelete">TQPtrCollection</a> <a href="ntqptrcollection.html#autoDelete">TQPtrDict</a> <a href="ntqptrcollection.html#autoDelete">TQPtrList</a> <a href="ntqptrqueue.html#autoDelete">TQPtrQueue</a> <a href="ntqptrstack.html#autoDelete">TQPtrStack</a> <a href="ntqptrcollection.html#autoDelete">TQPtrVector</a><li>autoEdit: - <a href="ntqdatabrowser.html#autoEdit">TQDataBrowser</a> <a href="ntqdatatable.html#autoEdit">TQDataTable</a><li>autoFormatting: + <a href="ntqptrcollection.html#autoDelete">TQAsciiDict</a> <a href="ntqptrcollection.html#autoDelete">TQCache</a> <a href="tqdatatable.html#autoDelete">TQDataTable</a> <a href="ntqptrcollection.html#autoDelete">TQDict</a> <a href="qiconfactory.html#autoDelete">TQIconFactory</a> <a href="ntqptrcollection.html#autoDelete">TQIntDict</a> <a href="ntqnetworkprotocol.html#autoDelete">TQNetworkProtocol</a> <a href="ntqptrcollection.html#autoDelete">TQPtrCollection</a> <a href="ntqptrcollection.html#autoDelete">TQPtrDict</a> <a href="ntqptrcollection.html#autoDelete">TQPtrList</a> <a href="ntqptrqueue.html#autoDelete">TQPtrQueue</a> <a href="ntqptrstack.html#autoDelete">TQPtrStack</a> <a href="ntqptrcollection.html#autoDelete">TQPtrVector</a><li>autoEdit: + <a href="tqdatabrowser.html#autoEdit">TQDataBrowser</a> <a href="tqdatatable.html#autoEdit">TQDataTable</a><li>autoFormatting: <a href="ntqtextedit.html#autoFormatting">TQTextEdit</a><li>autoMask: <a href="ntqwidget.html#autoMask">TQWidget</a><li>autoRaise: <a href="ntqtoolbutton.html#autoRaise">TQToolButton</a><li>autoRepeat: @@ -259,18 +259,18 @@ back: <a href="ntqfileinfo.html#baseName">TQFileInfo</a><li>baseSize: <a href="ntqwidget.html#baseSize">TQWidget</a><li>beep: <a href="ntqapplication.html#beep">TQApplication</a><li>beforeDelete: - <a href="ntqdatabrowser.html#beforeDelete">TQDataBrowser</a> <a href="ntqdatatable.html#beforeDelete">TQDataTable</a><li>beforeInsert: - <a href="ntqdatabrowser.html#beforeInsert">TQDataBrowser</a> <a href="ntqdatatable.html#beforeInsert">TQDataTable</a><li>beforeSeek: - <a href="ntqsqlquery.html#beforeSeek">TQSqlQuery</a><li>beforeUpdate: - <a href="ntqdatabrowser.html#beforeUpdate">TQDataBrowser</a> <a href="ntqdatatable.html#beforeUpdate">TQDataTable</a><li>begin: + <a href="tqdatabrowser.html#beforeDelete">TQDataBrowser</a> <a href="tqdatatable.html#beforeDelete">TQDataTable</a><li>beforeInsert: + <a href="tqdatabrowser.html#beforeInsert">TQDataBrowser</a> <a href="tqdatatable.html#beforeInsert">TQDataTable</a><li>beforeSeek: + <a href="tqsqlquery.html#beforeSeek">TQSqlQuery</a><li>beforeUpdate: + <a href="tqdatabrowser.html#beforeUpdate">TQDataBrowser</a> <a href="tqdatatable.html#beforeUpdate">TQDataTable</a><li>begin: <a href="ntqmap.html#begin">TQMap</a> <a href="ntqmemarray.html#begin">TQMemArray</a> <a href="ntqpainter.html#begin">TQPainter</a> <a href="ntqvaluelist.html#begin">TQValueList</a> <a href="ntqvaluevector.html#begin">TQValueVector</a><li>beginEdit: <a href="ntqtable.html#beginEdit">TQTable</a><li>beginGroup: <a href="ntqsettings.html#beginGroup">TQSettings</a><li>beginInsert: - <a href="ntqdatatable.html#beginInsert">TQDataTable</a><li>beginTransaction: - <a href="ntqsqldriver.html#beginTransaction">TQSqlDriver</a><li>beginUpdate: - <a href="ntqdatatable.html#beginUpdate">TQDataTable</a><li>bind: + <a href="tqdatatable.html#beginInsert">TQDataTable</a><li>beginTransaction: + <a href="tqsqldriver.html#beginTransaction">TQSqlDriver</a><li>beginUpdate: + <a href="tqdatatable.html#beginUpdate">TQDataTable</a><li>bind: <a href="ntqsocketdevice.html#bind">TQSocketDevice</a><li>bindValue: - <a href="ntqsqlquery.html#bindValue">TQSqlQuery</a><li>bitBlt: + <a href="tqsqlquery.html#bindValue">TQSqlQuery</a><li>bitBlt: <a href="ntqimage.html#bitBlt">TQImage</a> <a href="ntqpaintdevice.html#bitBlt">TQPaintDevice</a><li>bitOrder: <a href="ntqimage.html#bitOrder">TQImage</a><li>bitmap: <a href="ntqcursor.html#bitmap">TQCursor</a><li>bits: @@ -288,10 +288,10 @@ back: <a href="ntqrect.html#bottomRight">TQRect</a><li>bottomRow: <a href="qtableselection.html#bottomRow">TQTableSelection</a><li>bound: <a href="ntqrangecontrol.html#bound">TQRangeControl</a><li>boundValue: - <a href="ntqsqlquery.html#boundValue">TQSqlQuery</a><li>boundValues: - <a href="ntqsqlquery.html#boundValues">TQSqlQuery</a><li>boundary: - <a href="ntqdatabrowser.html#boundary">TQDataBrowser</a><li>boundaryChecking: - <a href="ntqdatabrowser.html#boundaryChecking">TQDataBrowser</a><li>boundedTo: + <a href="tqsqlquery.html#boundValue">TQSqlQuery</a><li>boundValues: + <a href="tqsqlquery.html#boundValues">TQSqlQuery</a><li>boundary: + <a href="tqdatabrowser.html#boundary">TQDataBrowser</a><li>boundaryChecking: + <a href="tqdatabrowser.html#boundaryChecking">TQDataBrowser</a><li>boundedTo: <a href="ntqsize.html#boundedTo">TQSize</a><li>boundingRect: <a href="qcanvasitem.html#boundingRect">TQCanvasItem</a> <a href="qcanvaspolygonalitem.html#boundingRect">TQCanvasPolygonalItem</a> <a href="qcanvassprite.html#boundingRect">TQCanvasSprite</a> <a href="qcanvastext.html#boundingRect">TQCanvasText</a> <a href="ntqfontmetrics.html#boundingRect">TQFontMetrics</a> <a href="ntqpainter.html#boundingRect">TQPainter</a> <a href="ntqpicture.html#boundingRect">TQPicture</a> <a href="ntqpointarray.html#boundingRect">TQPointArray</a> <a href="ntqregion.html#boundingRect">TQRegion</a><li>boundingRectAdvanced: <a href="qcanvasitem.html#boundingRectAdvanced">TQCanvasItem</a><li>boxLayout: @@ -316,19 +316,19 @@ c: <a href="ntqpixmapcache.html#cacheLimit">TQPixmapCache</a><li>caching: <a href="ntqfileinfo.html#caching">TQFileInfo</a><li>calcRect: <a href="qiconviewitem.html#calcRect">TQIconViewItem</a><li>calculateField: - <a href="ntqsqlcursor.html#calculateField">TQSqlCursor</a><li>calibrate: + <a href="tqsqlcursor.html#calculateField">TQSqlCursor</a><li>calibrate: <a href="qwsmousehandler.html#calibrate">TQWSMouseHandler</a><li>call: <a href="qaxscript.html#call">TQAxScript</a> <a href="qaxscriptmanager.html#call">TQAxScriptManager</a><li>canCast: <a href="ntqvariant.html#canCast">TQVariant</a><li>canConvert: <a href="qmacmime.html#canConvert">TQMacMime</a> <a href="qwindowsmime.html#canConvert">TQWindowsMime</a><li>canDecode: <a href="qcolordrag.html#canDecode">TQColorDrag</a> <a href="qicondrag.html#canDecode">TQIconDrag</a> <a href="qimagedrag.html#canDecode">TQImageDrag</a> <a href="qtextdrag.html#canDecode">TQTextDrag</a> <a href="quridrag.html#canDecode">TQUriDrag</a><li>canDelete: - <a href="ntqsqlcursor.html#canDelete">TQSqlCursor</a><li>canEncode: + <a href="tqsqlcursor.html#canDelete">TQSqlCursor</a><li>canEncode: <a href="ntqtextcodec.html#canEncode">TQTextCodec</a><li>canInsert: - <a href="ntqsqlcursor.html#canInsert">TQSqlCursor</a><li>canReadLine: + <a href="tqsqlcursor.html#canInsert">TQSqlCursor</a><li>canReadLine: <a href="ntqsocket.html#canReadLine">TQSocket</a><li>canReadLineStderr: <a href="ntqprocess.html#canReadLineStderr">TQProcess</a><li>canReadLineStdout: <a href="ntqprocess.html#canReadLineStdout">TQProcess</a><li>canUpdate: - <a href="ntqsqlcursor.html#canUpdate">TQSqlCursor</a><li>cancel: + <a href="tqsqlcursor.html#canUpdate">TQSqlCursor</a><li>cancel: <a href="ntqprogressdialog.html#cancel">TQProgressDialog</a> <a href="ntqsessionmanager.html#cancel">TQSessionManager</a><li>cancelButton: <a href="ntqwizard.html#cancelButton">TQWizard</a><li>cancelButtonPressed: <a href="ntqtabdialog.html#cancelButtonPressed">TQTabDialog</a><li>cancelRename: @@ -396,7 +396,7 @@ c: <a href="ntqdir.html#cleanDirPath">TQDir</a><li>cleanText: <a href="ntqspinbox.html#cleanText">TQSpinBox</a><li>cleanup: <a href="ntqcolor.html#cleanup">TQColor</a> <a href="ntqcursor.html#cleanup">TQCursor</a> <a href="qfontmanager.html#cleanup">TQFontManager</a><li>clear: - <a href="ntqaccel.html#clear">TQAccel</a> <a href="ntqasciicache.html#clear">TQAsciiCache</a> <a href="ntqasciidict.html#clear">TQAsciiDict</a> <a href="qaxbase.html#clear">TQAxBase</a> <a href="ntqcache.html#clear">TQCache</a> <a href="ntqclipboard.html#clear">TQClipboard</a> <a href="ntqcombobox.html#clear">TQComboBox</a> <a href="ntqdict.html#clear">TQDict</a> <a href="qdomnode.html#clear">TQDomNode</a> <a href="ntqiconview.html#clear">TQIconView</a> <a href="ntqintcache.html#clear">TQIntCache</a> <a href="ntqintdict.html#clear">TQIntDict</a> <a href="ntqlabel.html#clear">TQLabel</a> <a href="ntqlineedit.html#clear">TQLineEdit</a> <a href="ntqlistbox.html#clear">TQListBox</a> <a href="ntqlistview.html#clear">TQListView</a> <a href="ntqmap.html#clear">TQMap</a> <a href="ntqmenudata.html#clear">TQMenuBar</a> <a href="ntqmenudata.html#clear">TQMenuData</a> <a href="tqobjectcleanuphandler.html#clear">TQObjectCleanupHandler</a> <a href="ntqpixmapcache.html#clear">TQPixmapCache</a> <a href="ntqmenudata.html#clear">TQPopupMenu</a> <a href="ntqptrcollection.html#clear">TQPtrCollection</a> <a href="ntqptrdict.html#clear">TQPtrDict</a> <a href="ntqptrlist.html#clear">TQPtrList</a> <a href="ntqptrqueue.html#clear">TQPtrQueue</a> <a href="ntqptrstack.html#clear">TQPtrStack</a> <a href="ntqptrvector.html#clear">TQPtrVector</a> <a href="ntqsplashscreen.html#clear">TQSplashScreen</a> <a href="ntqsqlcursor.html#clear">TQSqlCursor</a> <a href="ntqsqlfield.html#clear">TQSqlField</a> <a href="ntqsqlform.html#clear">TQSqlForm</a> <a href="ntqsqlrecord.html#clear">TQSqlRecord</a> <a href="ntqstatusbar.html#clear">TQStatusBar</a> <a href="ntqtextedit.html#clear">TQTextEdit</a> <a href="ntqtoolbar.html#clear">TQToolBar</a> <a href="ntqtooltip.html#clear">TQToolTip</a> <a href="ntqtranslator.html#clear">TQTranslator</a> <a href="ntqvaluelist.html#clear">TQValueList</a> <a href="ntqvaluevector.html#clear">TQValueVector</a> <a href="ntqvariant.html#clear">TQVariant</a> <a href="qxmlattributes.html#clear">TQXmlAttributes</a><li>clearArguments: + <a href="ntqaccel.html#clear">TQAccel</a> <a href="ntqasciicache.html#clear">TQAsciiCache</a> <a href="ntqasciidict.html#clear">TQAsciiDict</a> <a href="qaxbase.html#clear">TQAxBase</a> <a href="ntqcache.html#clear">TQCache</a> <a href="ntqclipboard.html#clear">TQClipboard</a> <a href="ntqcombobox.html#clear">TQComboBox</a> <a href="ntqdict.html#clear">TQDict</a> <a href="qdomnode.html#clear">TQDomNode</a> <a href="ntqiconview.html#clear">TQIconView</a> <a href="ntqintcache.html#clear">TQIntCache</a> <a href="ntqintdict.html#clear">TQIntDict</a> <a href="ntqlabel.html#clear">TQLabel</a> <a href="ntqlineedit.html#clear">TQLineEdit</a> <a href="ntqlistbox.html#clear">TQListBox</a> <a href="ntqlistview.html#clear">TQListView</a> <a href="ntqmap.html#clear">TQMap</a> <a href="ntqmenudata.html#clear">TQMenuBar</a> <a href="ntqmenudata.html#clear">TQMenuData</a> <a href="tqobjectcleanuphandler.html#clear">TQObjectCleanupHandler</a> <a href="ntqpixmapcache.html#clear">TQPixmapCache</a> <a href="ntqmenudata.html#clear">TQPopupMenu</a> <a href="ntqptrcollection.html#clear">TQPtrCollection</a> <a href="ntqptrdict.html#clear">TQPtrDict</a> <a href="ntqptrlist.html#clear">TQPtrList</a> <a href="ntqptrqueue.html#clear">TQPtrQueue</a> <a href="ntqptrstack.html#clear">TQPtrStack</a> <a href="ntqptrvector.html#clear">TQPtrVector</a> <a href="ntqsplashscreen.html#clear">TQSplashScreen</a> <a href="tqsqlcursor.html#clear">TQSqlCursor</a> <a href="tqsqlfield.html#clear">TQSqlField</a> <a href="tqsqlform.html#clear">TQSqlForm</a> <a href="tqsqlrecord.html#clear">TQSqlRecord</a> <a href="ntqstatusbar.html#clear">TQStatusBar</a> <a href="ntqtextedit.html#clear">TQTextEdit</a> <a href="ntqtoolbar.html#clear">TQToolBar</a> <a href="ntqtooltip.html#clear">TQToolTip</a> <a href="ntqtranslator.html#clear">TQTranslator</a> <a href="ntqvaluelist.html#clear">TQValueList</a> <a href="ntqvaluevector.html#clear">TQValueVector</a> <a href="ntqvariant.html#clear">TQVariant</a> <a href="qxmlattributes.html#clear">TQXmlAttributes</a><li>clearArguments: <a href="ntqprocess.html#clearArguments">TQProcess</a><li>clearBit: <a href="ntqbitarray.html#clearBit">TQBitArray</a><li>clearCalibration: <a href="qwsmousehandler.html#clearCalibration">TQWSMouseHandler</a><li>clearCell: @@ -415,7 +415,7 @@ c: <a href="ntqhttp.html#clearPendingRequests">TQHttp</a><li>clearSelection: <a href="qaccessibleinterface.html#clearSelection">TQAccessibleInterface</a> <a href="ntqiconview.html#clearSelection">TQIconView</a> <a href="ntqlistbox.html#clearSelection">TQListBox</a> <a href="ntqlistview.html#clearSelection">TQListView</a> <a href="ntqtable.html#clearSelection">TQTable</a><li>clearValidator: <a href="ntqcombobox.html#clearValidator">TQComboBox</a> <a href="ntqlineedit.html#clearValidator">TQLineEdit</a><li>clearValues: - <a href="ntqdatabrowser.html#clearValues">TQDataBrowser</a> <a href="ntqdataview.html#clearValues">TQDataView</a> <a href="ntqsqlform.html#clearValues">TQSqlForm</a> <a href="ntqsqlrecord.html#clearValues">TQSqlRecord</a><li>clearWFlags: + <a href="tqdatabrowser.html#clearValues">TQDataBrowser</a> <a href="tqdataview.html#clearValues">TQDataView</a> <a href="tqsqlform.html#clearValues">TQSqlForm</a> <a href="tqsqlrecord.html#clearValues">TQSqlRecord</a><li>clearWFlags: <a href="ntqwidget.html#clearWFlags">TQWidget</a><li>clicked: <a href="ntqbutton.html#clicked">TQButton</a> <a href="ntqbuttongroup.html#clicked">TQButtonGroup</a> <a href="ntqbutton.html#clicked">TQCheckBox</a> <a href="ntqheader.html#clicked">TQHeader</a> <a href="ntqiconview.html#clicked">TQIconView</a> <a href="ntqlistbox.html#clicked">TQListBox</a> <a href="ntqlistview.html#clicked">TQListView</a> <a href="ntqbutton.html#clicked">TQPushButton</a> <a href="ntqbutton.html#clicked">TQRadioButton</a> <a href="ntqtable.html#clicked">TQTable</a> <a href="ntqtextedit.html#clicked">TQTextEdit</a> <a href="ntqwhatsthis.html#clicked">TQWhatsThis</a><li>client: <a href="qwswindow.html#client">TQWSWindow</a><li>clientSite: @@ -425,7 +425,7 @@ c: <a href="ntqapplication.html#clipboard">TQApplication</a><li>clipper: <a href="ntqscrollview.html#clipper">TQScrollView</a><li>cloneNode: <a href="qdomnode.html#cloneNode">TQDomNode</a><li>close: - <a href="ntqfile.html#close">TQFile</a> <a href="ntqftp.html#close">TQFtp</a> <a href="ntqiodevice.html#close">TQIODevice</a> <a href="ntqsocket.html#close">TQSocket</a> <a href="ntqsqldatabase.html#close">TQSqlDatabase</a> <a href="ntqsqldriver.html#close">TQSqlDriver</a> <a href="qwsdecoration.html#close">TQWSDecoration</a> <a href="ntqwidget.html#close">TQWidget</a><li>closeActiveWindow: + <a href="ntqfile.html#close">TQFile</a> <a href="ntqftp.html#close">TQFtp</a> <a href="ntqiodevice.html#close">TQIODevice</a> <a href="ntqsocket.html#close">TQSocket</a> <a href="tqsqldatabase.html#close">TQSqlDatabase</a> <a href="tqsqldriver.html#close">TQSqlDriver</a> <a href="qwsdecoration.html#close">TQWSDecoration</a> <a href="ntqwidget.html#close">TQWidget</a><li>closeActiveWindow: <a href="ntqworkspace.html#closeActiveWindow">TQWorkspace</a><li>closeAllWindows: <a href="ntqapplication.html#closeAllWindows">TQApplication</a> <a href="ntqworkspace.html#closeAllWindows">TQWorkspace</a><li>closeAssistant: <a href="ntqassistantclient.html#closeAssistant">TQAssistantClient</a><li>closeConnection: @@ -478,26 +478,26 @@ c: <a href="ntqftp.html#commandFinished">TQFtp</a><li>commandStarted: <a href="ntqftp.html#commandStarted">TQFtp</a><li>comment: <a href="qtranslatormessage.html#comment">TQTranslatorMessage</a> <a href="qxmllexicalhandler.html#comment">TQXmlLexicalHandler</a><li>commit: - <a href="ntqsqldatabase.html#commit">TQSqlDatabase</a><li>commitData: + <a href="tqsqldatabase.html#commit">TQSqlDatabase</a><li>commitData: <a href="ntqapplication.html#commitData">TQApplication</a><li>commitTransaction: - <a href="ntqsqldriver.html#commitTransaction">TQSqlDriver</a><li>commonPrefix: + <a href="tqsqldriver.html#commitTransaction">TQSqlDriver</a><li>commonPrefix: <a href="qtranslatormessage.html#commonPrefix">TQTranslatorMessage</a><li>communication: <a href="ntqprocess.html#communication">TQProcess</a><li>compare: <a href="qiconviewitem.html#compare">TQIconViewItem</a> <a href="qlistviewitem.html#compare">TQListViewItem</a> <a href="ntqstring.html#compare">TQString</a><li>compareItems: <a href="ntqptrlist.html#compareItems">TQPtrList</a> <a href="ntqptrvector.html#compareItems">TQPtrVector</a><li>complete: <a href="qnpstream.html#complete">TQNPStream</a><li>compose: <a href="ntqstring.html#compose">TQString</a><li>confirmCancel: - <a href="ntqdatabrowser.html#confirmCancel">TQDataBrowser</a> <a href="ntqdatatable.html#confirmCancel">TQDataTable</a><li>confirmCancels: - <a href="ntqdatabrowser.html#confirmCancels">TQDataBrowser</a> <a href="ntqdatatable.html#confirmCancels">TQDataTable</a><li>confirmDelete: - <a href="ntqdatabrowser.html#confirmDelete">TQDataBrowser</a> <a href="ntqdatatable.html#confirmDelete">TQDataTable</a><li>confirmEdit: - <a href="ntqdatabrowser.html#confirmEdit">TQDataBrowser</a> <a href="ntqdatatable.html#confirmEdit">TQDataTable</a><li>confirmEdits: - <a href="ntqdatabrowser.html#confirmEdits">TQDataBrowser</a> <a href="ntqdatatable.html#confirmEdits">TQDataTable</a><li>confirmInsert: - <a href="ntqdatabrowser.html#confirmInsert">TQDataBrowser</a> <a href="ntqdatatable.html#confirmInsert">TQDataTable</a><li>confirmUpdate: - <a href="ntqdatabrowser.html#confirmUpdate">TQDataBrowser</a> <a href="ntqdatatable.html#confirmUpdate">TQDataTable</a><li>connect: + <a href="tqdatabrowser.html#confirmCancel">TQDataBrowser</a> <a href="tqdatatable.html#confirmCancel">TQDataTable</a><li>confirmCancels: + <a href="tqdatabrowser.html#confirmCancels">TQDataBrowser</a> <a href="tqdatatable.html#confirmCancels">TQDataTable</a><li>confirmDelete: + <a href="tqdatabrowser.html#confirmDelete">TQDataBrowser</a> <a href="tqdatatable.html#confirmDelete">TQDataTable</a><li>confirmEdit: + <a href="tqdatabrowser.html#confirmEdit">TQDataBrowser</a> <a href="tqdatatable.html#confirmEdit">TQDataTable</a><li>confirmEdits: + <a href="tqdatabrowser.html#confirmEdits">TQDataBrowser</a> <a href="tqdatatable.html#confirmEdits">TQDataTable</a><li>confirmInsert: + <a href="tqdatabrowser.html#confirmInsert">TQDataBrowser</a> <a href="tqdatatable.html#confirmInsert">TQDataTable</a><li>confirmUpdate: + <a href="tqdatabrowser.html#confirmUpdate">TQDataBrowser</a> <a href="tqdatatable.html#confirmUpdate">TQDataTable</a><li>connect: <a href="ntqasyncio.html#connect">TQAsyncIO</a> <a href="tqobject.html#connect">TQObject</a> <a href="qscreen.html#connect">TQScreen</a> <a href="ntqsignal.html#connect">TQSignal</a> <a href="ntqsocketdevice.html#connect">TQSocketDevice</a><li>connectItem: <a href="ntqaccel.html#connectItem">TQAccel</a> <a href="ntqmenudata.html#connectItem">TQMenuData</a> <a href="ntqmenudata.html#connectItem">TQPopupMenu</a><li>connectNotify: <a href="tqobject.html#connectNotify">TQObject</a><li>connectOptions: - <a href="ntqsqldatabase.html#connectOptions">TQSqlDatabase</a><li>connectResize: + <a href="tqsqldatabase.html#connectOptions">TQSqlDatabase</a><li>connectResize: <a href="ntqmovie.html#connectResize">TQMovie</a><li>connectStatus: <a href="ntqmovie.html#connectStatus">TQMovie</a><li>connectToHost: <a href="ntqftp.html#connectToHost">TQFtp</a> <a href="ntqsocket.html#connectToHost">TQSocket</a><li>connectUpdate: @@ -510,7 +510,7 @@ c: <a href="ntqwidget.html#constPolish">TQWidget</a><li>constref: <a href="ntqstring.html#constref">TQString</a><li>consume: <a href="qcontextmenuevent.html#consume">TQContextMenuEvent</a><li>contains: - <a href="ntqcstring.html#contains">TQCString</a> <a href="qdomnamednodemap.html#contains">TQDomNamedNodeMap</a> <a href="qiconviewitem.html#contains">TQIconViewItem</a> <a href="ntqmap.html#contains">TQMap</a> <a href="ntqmemarray.html#contains">TQMemArray</a> <a href="ntqptrlist.html#contains">TQPtrList</a> <a href="ntqptrvector.html#contains">TQPtrVector</a> <a href="ntqrect.html#contains">TQRect</a> <a href="ntqregion.html#contains">TQRegion</a> <a href="ntqsqldatabase.html#contains">TQSqlDatabase</a> <a href="ntqsqlrecord.html#contains">TQSqlRecord</a> <a href="qsqlrecordinfo.html#contains">TQSqlRecordInfo</a> <a href="ntqstring.html#contains">TQString</a> <a href="ntqtranslator.html#contains">TQTranslator</a> <a href="ntqvaluelist.html#contains">TQValueList</a><li>containsRef: + <a href="ntqcstring.html#contains">TQCString</a> <a href="qdomnamednodemap.html#contains">TQDomNamedNodeMap</a> <a href="qiconviewitem.html#contains">TQIconViewItem</a> <a href="ntqmap.html#contains">TQMap</a> <a href="ntqmemarray.html#contains">TQMemArray</a> <a href="ntqptrlist.html#contains">TQPtrList</a> <a href="ntqptrvector.html#contains">TQPtrVector</a> <a href="ntqrect.html#contains">TQRect</a> <a href="ntqregion.html#contains">TQRegion</a> <a href="tqsqldatabase.html#contains">TQSqlDatabase</a> <a href="tqsqlrecord.html#contains">TQSqlRecord</a> <a href="tqsqlrecordinfo.html#contains">TQSqlRecordInfo</a> <a href="ntqstring.html#contains">TQString</a> <a href="ntqtranslator.html#contains">TQTranslator</a> <a href="ntqvaluelist.html#contains">TQValueList</a><li>containsRef: <a href="ntqptrlist.html#containsRef">TQPtrList</a> <a href="ntqptrvector.html#containsRef">TQPtrVector</a><li>contentHandler: <a href="qxmlreader.html#contentHandler">TQXmlReader</a><li>contentLength: <a href="qhttpheader.html#contentLength">TQHttpHeader</a><li>contentType: @@ -558,12 +558,12 @@ c: <a href="ntqtextedit.html#copyAvailable">TQTextEdit</a><li>copyBlt: <a href="ntqpixmap.html#copyBlt">TQPixmap</a><li>cornerWidget: <a href="ntqscrollview.html#cornerWidget">TQScrollView</a> <a href="ntqtabwidget.html#cornerWidget">TQTabWidget</a><li>count: - <a href="ntqaccel.html#count">TQAccel</a> <a href="ntqasciicache.html#count">TQAsciiCache</a> <a href="qasciicacheiterator.html#count">TQAsciiCacheIterator</a> <a href="ntqasciidict.html#count">TQAsciiDict</a> <a href="qasciidictiterator.html#count">TQAsciiDictIterator</a> <a href="ntqbuttongroup.html#count">TQButtonGroup</a> <a href="ntqcache.html#count">TQCache</a> <a href="qcacheiterator.html#count">TQCacheIterator</a> <a href="qcanvaspixmaparray.html#count">TQCanvasPixmapArray</a> <a href="ntqcombobox.html#count">TQComboBox</a> <a href="qcombotableitem.html#count">TQComboTableItem</a> <a href="ntqdict.html#count">TQDict</a> <a href="qdictiterator.html#count">TQDictIterator</a> <a href="ntqdir.html#count">TQDir</a> <a href="ntqdockarea.html#count">TQDockArea</a> <a href="qdomnamednodemap.html#count">TQDomNamedNodeMap</a> <a href="qdomnodelist.html#count">TQDomNodeList</a> <a href="ntqfocusdata.html#count">TQFocusData</a> <a href="ntqheader.html#count">TQHeader</a> <a href="ntqiconview.html#count">TQIconView</a> <a href="ntqintcache.html#count">TQIntCache</a> <a href="qintcacheiterator.html#count">TQIntCacheIterator</a> <a href="ntqintdict.html#count">TQIntDict</a> <a href="qintdictiterator.html#count">TQIntDictIterator</a> <a href="qkeyevent.html#count">TQKeyEvent</a> <a href="ntqkeysequence.html#count">TQKeySequence</a> <a href="ntqlistbox.html#count">TQListBox</a> <a href="ntqmap.html#count">TQMap</a> <a href="ntqmemarray.html#count">TQMemArray</a> <a href="ntqmenudata.html#count">TQMenuData</a> <a href="ntqptrcollection.html#count">TQPtrCollection</a> <a href="ntqptrdict.html#count">TQPtrDict</a> <a href="qptrdictiterator.html#count">TQPtrDictIterator</a> <a href="ntqptrlist.html#count">TQPtrList</a> <a href="qptrlistiterator.html#count">TQPtrListIterator</a> <a href="ntqptrqueue.html#count">TQPtrQueue</a> <a href="ntqptrstack.html#count">TQPtrStack</a> <a href="ntqptrvector.html#count">TQPtrVector</a> <a href="ntqsqlform.html#count">TQSqlForm</a> <a href="ntqsqlrecord.html#count">TQSqlRecord</a> <a href="ntqtabbar.html#count">TQTabBar</a> <a href="ntqtabwidget.html#count">TQTabWidget</a> <a href="ntqtoolbox.html#count">TQToolBox</a> <a href="ntqvaluelist.html#count">TQValueList</a> <a href="ntqvaluevector.html#count">TQValueVector</a> <a href="qxmlattributes.html#count">TQXmlAttributes</a><li>countCf: + <a href="ntqaccel.html#count">TQAccel</a> <a href="ntqasciicache.html#count">TQAsciiCache</a> <a href="qasciicacheiterator.html#count">TQAsciiCacheIterator</a> <a href="ntqasciidict.html#count">TQAsciiDict</a> <a href="qasciidictiterator.html#count">TQAsciiDictIterator</a> <a href="ntqbuttongroup.html#count">TQButtonGroup</a> <a href="ntqcache.html#count">TQCache</a> <a href="qcacheiterator.html#count">TQCacheIterator</a> <a href="qcanvaspixmaparray.html#count">TQCanvasPixmapArray</a> <a href="ntqcombobox.html#count">TQComboBox</a> <a href="qcombotableitem.html#count">TQComboTableItem</a> <a href="ntqdict.html#count">TQDict</a> <a href="qdictiterator.html#count">TQDictIterator</a> <a href="ntqdir.html#count">TQDir</a> <a href="ntqdockarea.html#count">TQDockArea</a> <a href="qdomnamednodemap.html#count">TQDomNamedNodeMap</a> <a href="qdomnodelist.html#count">TQDomNodeList</a> <a href="ntqfocusdata.html#count">TQFocusData</a> <a href="ntqheader.html#count">TQHeader</a> <a href="ntqiconview.html#count">TQIconView</a> <a href="ntqintcache.html#count">TQIntCache</a> <a href="qintcacheiterator.html#count">TQIntCacheIterator</a> <a href="ntqintdict.html#count">TQIntDict</a> <a href="qintdictiterator.html#count">TQIntDictIterator</a> <a href="qkeyevent.html#count">TQKeyEvent</a> <a href="ntqkeysequence.html#count">TQKeySequence</a> <a href="ntqlistbox.html#count">TQListBox</a> <a href="ntqmap.html#count">TQMap</a> <a href="ntqmemarray.html#count">TQMemArray</a> <a href="ntqmenudata.html#count">TQMenuData</a> <a href="ntqptrcollection.html#count">TQPtrCollection</a> <a href="ntqptrdict.html#count">TQPtrDict</a> <a href="qptrdictiterator.html#count">TQPtrDictIterator</a> <a href="ntqptrlist.html#count">TQPtrList</a> <a href="qptrlistiterator.html#count">TQPtrListIterator</a> <a href="ntqptrqueue.html#count">TQPtrQueue</a> <a href="ntqptrstack.html#count">TQPtrStack</a> <a href="ntqptrvector.html#count">TQPtrVector</a> <a href="tqsqlform.html#count">TQSqlForm</a> <a href="tqsqlrecord.html#count">TQSqlRecord</a> <a href="ntqtabbar.html#count">TQTabBar</a> <a href="ntqtabwidget.html#count">TQTabWidget</a> <a href="ntqtoolbox.html#count">TQToolBox</a> <a href="ntqvaluelist.html#count">TQValueList</a> <a href="ntqvaluevector.html#count">TQValueVector</a> <a href="qxmlattributes.html#count">TQXmlAttributes</a><li>countCf: <a href="qwindowsmime.html#countCf">TQWindowsMime</a><li>countFlavors: <a href="qmacmime.html#countFlavors">TQMacMime</a><li>country: <a href="ntqlocale.html#country">TQLocale</a><li>countryToString: <a href="ntqlocale.html#countryToString">TQLocale</a><li>create: - <a href="qaxfactory.html#create">TQAxFactory</a> <a href="qglcontext.html#create">TQGLContext</a> <a href="qgfxdriverfactory.html#create">TQGfxDriverFactory</a> <a href="qgfxdriverplugin.html#create">TQGfxDriverPlugin</a> <a href="ntqimage.html#create">TQImage</a> <a href="qkbddriverfactory.html#create">TQKbdDriverFactory</a> <a href="qkbddriverplugin.html#create">TQKbdDriverPlugin</a> <a href="qmousedriverfactory.html#create">TQMouseDriverFactory</a> <a href="qmousedriverplugin.html#create">TQMouseDriverPlugin</a> <a href="qnplugin.html#create">TQNPlugin</a> <a href="ntqsqldriverplugin.html#create">TQSqlDriverPlugin</a> <a href="ntqstylefactory.html#create">TQStyleFactory</a> <a href="ntqstyleplugin.html#create">TQStylePlugin</a> <a href="ntqwidget.html#create">TQWidget</a> <a href="ntqwidgetfactory.html#create">TQWidgetFactory</a> <a href="ntqwidgetplugin.html#create">TQWidgetPlugin</a><li>createAggregate: + <a href="qaxfactory.html#create">TQAxFactory</a> <a href="qglcontext.html#create">TQGLContext</a> <a href="qgfxdriverfactory.html#create">TQGfxDriverFactory</a> <a href="qgfxdriverplugin.html#create">TQGfxDriverPlugin</a> <a href="ntqimage.html#create">TQImage</a> <a href="qkbddriverfactory.html#create">TQKbdDriverFactory</a> <a href="qkbddriverplugin.html#create">TQKbdDriverPlugin</a> <a href="qmousedriverfactory.html#create">TQMouseDriverFactory</a> <a href="qmousedriverplugin.html#create">TQMouseDriverPlugin</a> <a href="qnplugin.html#create">TQNPlugin</a> <a href="tqsqldriverplugin.html#create">TQSqlDriverPlugin</a> <a href="ntqstylefactory.html#create">TQStyleFactory</a> <a href="ntqstyleplugin.html#create">TQStylePlugin</a> <a href="ntqwidget.html#create">TQWidget</a> <a href="ntqwidgetfactory.html#create">TQWidgetFactory</a> <a href="ntqwidgetplugin.html#create">TQWidgetPlugin</a><li>createAggregate: <a href="qaxbindable.html#createAggregate">TQAxBindable</a><li>createAlphaMask: <a href="ntqimage.html#createAlphaMask">TQImage</a><li>createAttribute: <a href="qdomdocument.html#createAttribute">TQDomDocument</a><li>createAttributeNS: @@ -574,7 +574,7 @@ c: <a href="qdomimplementation.html#createDocument">TQDomImplementation</a><li>createDocumentFragment: <a href="qdomdocument.html#createDocumentFragment">TQDomDocument</a><li>createDocumentType: <a href="qdomimplementation.html#createDocumentType">TQDomImplementation</a><li>createEditor: - <a href="ntqeditorfactory.html#createEditor">TQEditorFactory</a> <a href="ntqsqleditorfactory.html#createEditor">TQSqlEditorFactory</a> <a href="ntqtable.html#createEditor">TQTable</a> <a href="qtableitem.html#createEditor">TQTableItem</a><li>createElement: + <a href="tqeditorfactory.html#createEditor">TQEditorFactory</a> <a href="tqsqleditorfactory.html#createEditor">TQSqlEditorFactory</a> <a href="ntqtable.html#createEditor">TQTable</a> <a href="qtableitem.html#createEditor">TQTableItem</a><li>createElement: <a href="qdomdocument.html#createElement">TQDomDocument</a><li>createElementNS: <a href="qdomdocument.html#createElementNS">TQDomDocument</a><li>createEntityReference: <a href="qdomdocument.html#createEntityReference">TQDomDocument</a><li>createForMib: @@ -588,7 +588,7 @@ c: <a href="qiconfactory.html#createPixmap">TQIconFactory</a><li>createPopupMenu: <a href="ntqlineedit.html#createPopupMenu">TQLineEdit</a> <a href="ntqtextedit.html#createPopupMenu">TQTextEdit</a><li>createProcessingInstruction: <a href="qdomdocument.html#createProcessingInstruction">TQDomDocument</a><li>createQuery: - <a href="ntqsqldriver.html#createQuery">TQSqlDriver</a><li>createTextNode: + <a href="tqsqldriver.html#createQuery">TQSqlDriver</a><li>createTextNode: <a href="qdomdocument.html#createTextNode">TQDomDocument</a><li>createUuid: <a href="ntquuid.html#createUuid">TQUuid</a><li>createWidget: <a href="ntqwidgetfactory.html#createWidget">TQWidgetFactory</a><li>created: @@ -602,7 +602,7 @@ c: <a href="qasciicacheiterator.html#current">TQAsciiCacheIterator</a> <a href="qasciidictiterator.html#current">TQAsciiDictIterator</a> <a href="qcacheiterator.html#current">TQCacheIterator</a> <a href="qdictiterator.html#current">TQDictIterator</a> <a href="ntqdir.html#current">TQDir</a> <a href="qglayoutiterator.html#current">TQGLayoutIterator</a> <a href="qintcacheiterator.html#current">TQIntCacheIterator</a> <a href="qintdictiterator.html#current">TQIntDictIterator</a> <a href="qlayoutiterator.html#current">TQLayoutIterator</a> <a href="qlistviewitemiterator.html#current">TQListViewItemIterator</a> <a href="qptrdictiterator.html#current">TQPtrDictIterator</a> <a href="ntqptrlist.html#current">TQPtrList</a> <a href="qptrlistiterator.html#current">TQPtrListIterator</a> <a href="ntqptrqueue.html#current">TQPtrQueue</a> <a href="ntqptrstack.html#current">TQPtrStack</a><li>currentAlignmentChanged: <a href="ntqtextedit.html#currentAlignmentChanged">TQTextEdit</a><li>currentAllocContext: <a href="ntqcolor.html#currentAllocContext">TQColor</a><li>currentChanged: - <a href="ntqdatabrowser.html#currentChanged">TQDataBrowser</a> <a href="ntqdatatable.html#currentChanged">TQDataTable</a> <a href="ntqiconview.html#currentChanged">TQIconView</a> <a href="ntqlistbox.html#currentChanged">TQListBox</a> <a href="ntqlistview.html#currentChanged">TQListView</a> <a href="ntqtabdialog.html#currentChanged">TQTabDialog</a> <a href="ntqtabwidget.html#currentChanged">TQTabWidget</a> <a href="ntqtable.html#currentChanged">TQTable</a> <a href="ntqtoolbox.html#currentChanged">TQToolBox</a><li>currentColorChanged: + <a href="tqdatabrowser.html#currentChanged">TQDataBrowser</a> <a href="tqdatatable.html#currentChanged">TQDataTable</a> <a href="ntqiconview.html#currentChanged">TQIconView</a> <a href="ntqlistbox.html#currentChanged">TQListBox</a> <a href="ntqlistview.html#currentChanged">TQListView</a> <a href="ntqtabdialog.html#currentChanged">TQTabDialog</a> <a href="ntqtabwidget.html#currentChanged">TQTabWidget</a> <a href="ntqtable.html#currentChanged">TQTable</a> <a href="ntqtoolbox.html#currentChanged">TQToolBox</a><li>currentColorChanged: <a href="ntqtextedit.html#currentColorChanged">TQTextEdit</a><li>currentColumn: <a href="ntqtable.html#currentColumn">TQTable</a><li>currentCommand: <a href="ntqftp.html#currentCommand">TQFtp</a><li>currentContext: @@ -612,7 +612,7 @@ c: <a href="ntqhttp.html#currentDestinationDevice">TQHttp</a><li>currentDevice: <a href="ntqftp.html#currentDevice">TQFtp</a><li>currentDirPath: <a href="ntqdir.html#currentDirPath">TQDir</a><li>currentEdited: - <a href="ntqdatabrowser.html#currentEdited">TQDataBrowser</a><li>currentFont: + <a href="tqdatabrowser.html#currentEdited">TQDataBrowser</a><li>currentFont: <a href="ntqtextedit.html#currentFont">TQTextEdit</a><li>currentFontChanged: <a href="ntqtextedit.html#currentFontChanged">TQTextEdit</a><li>currentId: <a href="ntqftp.html#currentId">TQFtp</a> <a href="ntqhttp.html#currentId">TQHttp</a><li>currentIndex: @@ -623,7 +623,7 @@ c: <a href="ntqtabdialog.html#currentPage">TQTabDialog</a> <a href="ntqtabwidget.html#currentPage">TQTabWidget</a> <a href="ntqwizard.html#currentPage">TQWizard</a><li>currentPageIndex: <a href="ntqtabwidget.html#currentPageIndex">TQTabWidget</a><li>currentParagraph: <a href="ntqsyntaxhighlighter.html#currentParagraph">TQSyntaxHighlighter</a><li>currentRecord: - <a href="ntqdatatable.html#currentRecord">TQDataTable</a><li>currentRequest: + <a href="tqdatatable.html#currentRecord">TQDataTable</a><li>currentRequest: <a href="ntqhttp.html#currentRequest">TQHttp</a><li>currentRow: <a href="ntqtable.html#currentRow">TQTable</a><li>currentSelection: <a href="ntqtable.html#currentSelection">TQTable</a><li>currentSourceDevice: @@ -636,12 +636,12 @@ c: <a href="ntqtextedit.html#currentVerticalAlignmentChanged">TQTextEdit</a><li>cursor: <a href="ntqwidget.html#cursor">TQWidget</a><li>cursorBackward: <a href="ntqlineedit.html#cursorBackward">TQLineEdit</a><li>cursorChanged: - <a href="ntqdatabrowser.html#cursorChanged">TQDataBrowser</a> <a href="ntqdatatable.html#cursorChanged">TQDataTable</a><li>cursorDown: + <a href="tqdatabrowser.html#cursorChanged">TQDataBrowser</a> <a href="tqdatatable.html#cursorChanged">TQDataTable</a><li>cursorDown: <a href="ntqmultilineedit.html#cursorDown">TQMultiLineEdit</a><li>cursorFlashTime: <a href="ntqapplication.html#cursorFlashTime">TQApplication</a><li>cursorForward: <a href="ntqlineedit.html#cursorForward">TQLineEdit</a><li>cursorLeft: <a href="ntqmultilineedit.html#cursorLeft">TQMultiLineEdit</a><li>cursorName: - <a href="ntqsqlindex.html#cursorName">TQSqlIndex</a><li>cursorPoint: + <a href="tqsqlindex.html#cursorName">TQSqlIndex</a><li>cursorPoint: <a href="ntqmultilineedit.html#cursorPoint">TQMultiLineEdit</a><li>cursorPos: <a href="qimevent.html#cursorPos">TQIMEvent</a><li>cursorPosition: <a href="ntqlineedit.html#cursorPosition">TQLineEdit</a><li>cursorPositionChanged: @@ -658,17 +658,17 @@ c: <a href="ntqlineedit.html#cut">TQLineEdit</a> <a href="ntqtextedit.html#cut">TQTextEdit</a><li><a name="d"></a> dark: <a href="ntqcolor.html#dark">TQColor</a> <a href="qcolorgroup.html#dark">TQColorGroup</a><li>data: - <a href="ntqclipboard.html#data">TQClipboard</a> <a href="qcustomevent.html#data">TQCustomEvent</a> <a href="qdomcharacterdata.html#data">TQDomCharacterData</a> <a href="qdomprocessinginstruction.html#data">TQDomProcessingInstruction</a> <a href="qicondragitem.html#data">TQIconDragItem</a> <a href="qmapconstiterator.html#data">TQMapConstIterator</a> <a href="qmapiterator.html#data">TQMapIterator</a> <a href="ntqmemarray.html#data">TQMemArray</a> <a href="qmimesourcefactory.html#data">TQMimeSourceFactory</a> <a href="ntqnetworkprotocol.html#data">TQNetworkProtocol</a> <a href="ntqpicture.html#data">TQPicture</a> <a href="ntqptrvector.html#data">TQPtrVector</a> <a href="ntqsqlresult.html#data">TQSqlResult</a> <a href="ntqurloperator.html#data">TQUrlOperator</a> <a href="qxmlinputsource.html#data">TQXmlInputSource</a><li>dataChanged: + <a href="ntqclipboard.html#data">TQClipboard</a> <a href="qcustomevent.html#data">TQCustomEvent</a> <a href="qdomcharacterdata.html#data">TQDomCharacterData</a> <a href="qdomprocessinginstruction.html#data">TQDomProcessingInstruction</a> <a href="qicondragitem.html#data">TQIconDragItem</a> <a href="qmapconstiterator.html#data">TQMapConstIterator</a> <a href="qmapiterator.html#data">TQMapIterator</a> <a href="ntqmemarray.html#data">TQMemArray</a> <a href="qmimesourcefactory.html#data">TQMimeSourceFactory</a> <a href="ntqnetworkprotocol.html#data">TQNetworkProtocol</a> <a href="ntqpicture.html#data">TQPicture</a> <a href="ntqptrvector.html#data">TQPtrVector</a> <a href="tqsqlresult.html#data">TQSqlResult</a> <a href="ntqurloperator.html#data">TQUrlOperator</a> <a href="qxmlinputsource.html#data">TQXmlInputSource</a><li>dataChanged: <a href="ntqclipboard.html#dataChanged">TQClipboard</a><li>dataReadProgress: <a href="ntqhttp.html#dataReadProgress">TQHttp</a><li>dataSendProgress: <a href="ntqhttp.html#dataSendProgress">TQHttp</a><li>dataTransferProgress: <a href="ntqftp.html#dataTransferProgress">TQFtp</a> <a href="ntqnetworkprotocol.html#dataTransferProgress">TQNetworkProtocol</a> <a href="ntqurloperator.html#dataTransferProgress">TQUrlOperator</a><li>database: - <a href="ntqsqldatabase.html#database">TQSqlDatabase</a><li>databaseName: - <a href="ntqsqldatabase.html#databaseName">TQSqlDatabase</a><li>databaseText: - <a href="ntqsqlerror.html#databaseText">TQSqlError</a><li>date: + <a href="tqsqldatabase.html#database">TQSqlDatabase</a><li>databaseName: + <a href="tqsqldatabase.html#databaseName">TQSqlDatabase</a><li>databaseText: + <a href="tqsqlerror.html#databaseText">TQSqlError</a><li>date: <a href="qdateedit.html#date">TQDateEdit</a> <a href="ntqdatetime.html#date">TQDateTime</a><li>dateEdit: <a href="ntqdatetimeedit.html#dateEdit">TQDateTimeEdit</a><li>dateFormat: - <a href="ntqdatatable.html#dateFormat">TQDataTable</a><li>dateTime: + <a href="tqdatatable.html#dateFormat">TQDataTable</a><li>dateTime: <a href="ntqdatetimeedit.html#dateTime">TQDateTimeEdit</a><li>day: <a href="qdate.html#day">TQDate</a> <a href="qstyleoption.html#day">TQStyleOption</a><li>dayOfWeek: <a href="qdate.html#dayOfWeek">TQDate</a><li>dayOfYear: @@ -688,25 +688,25 @@ dark: <a href="qchar.html#decompositionTag">TQChar</a><li>defaultButtonPressed: <a href="ntqtabdialog.html#defaultButtonPressed">TQTabDialog</a><li>defaultDepth: <a href="ntqpixmap.html#defaultDepth">TQPixmap</a><li>defaultFactory: - <a href="ntqeditorfactory.html#defaultFactory">TQEditorFactory</a> <a href="qiconfactory.html#defaultFactory">TQIconFactory</a> <a href="qmimesourcefactory.html#defaultFactory">TQMimeSourceFactory</a> <a href="ntqsqleditorfactory.html#defaultFactory">TQSqlEditorFactory</a><li>defaultFamily: + <a href="tqeditorfactory.html#defaultFactory">TQEditorFactory</a> <a href="qiconfactory.html#defaultFactory">TQIconFactory</a> <a href="qmimesourcefactory.html#defaultFactory">TQMimeSourceFactory</a> <a href="tqsqleditorfactory.html#defaultFactory">TQSqlEditorFactory</a><li>defaultFamily: <a href="ntqfont.html#defaultFamily">TQFont</a><li>defaultFormat: <a href="qglformat.html#defaultFormat">TQGLFormat</a><li>defaultMap: - <a href="ntqsqlpropertymap.html#defaultMap">TQSqlPropertyMap</a><li>defaultOptimization: + <a href="tqsqlpropertymap.html#defaultMap">TQSqlPropertyMap</a><li>defaultOptimization: <a href="ntqpixmap.html#defaultOptimization">TQPixmap</a><li>defaultOverlayFormat: <a href="qglformat.html#defaultOverlayFormat">TQGLFormat</a><li>defaultRenameAction: <a href="ntqlistview.html#defaultRenameAction">TQListView</a><li>defaultSheet: <a href="ntqstylesheet.html#defaultSheet">TQStyleSheet</a><li>defaultValue: - <a href="qsqlfieldinfo.html#defaultValue">TQSqlFieldInfo</a><li>defineIOHandler: + <a href="tqsqlfieldinfo.html#defaultValue">TQSqlFieldInfo</a><li>defineIOHandler: <a href="qimageio.html#defineIOHandler">TQImageIO</a><li>definesFontItalic: <a href="qstylesheetitem.html#definesFontItalic">TQStyleSheetItem</a><li>definesFontStrikeOut: <a href="qstylesheetitem.html#definesFontStrikeOut">TQStyleSheetItem</a><li>definesFontUnderline: <a href="qstylesheetitem.html#definesFontUnderline">TQStyleSheetItem</a><li>del: - <a href="ntqdatabrowser.html#del">TQDataBrowser</a> <a href="ntqlineedit.html#del">TQLineEdit</a> <a href="ntqsqlcursor.html#del">TQSqlCursor</a> <a href="ntqtextedit.html#del">TQTextEdit</a><li>delay: + <a href="tqdatabrowser.html#del">TQDataBrowser</a> <a href="ntqlineedit.html#del">TQLineEdit</a> <a href="tqsqlcursor.html#del">TQSqlCursor</a> <a href="ntqtextedit.html#del">TQTextEdit</a><li>delay: <a href="qtooltipgroup.html#delay">TQToolTipGroup</a><li>delayedCloseFinished: <a href="ntqsocket.html#delayedCloseFinished">TQSocket</a><li>deleteAllCodecs: <a href="ntqtextcodec.html#deleteAllCodecs">TQTextCodec</a><li>deleteAllItems: <a href="ntqlayout.html#deleteAllItems">TQLayout</a><li>deleteCurrent: - <a href="ntqdatabrowser.html#deleteCurrent">TQDataBrowser</a> <a href="ntqdatatable.html#deleteCurrent">TQDataTable</a> <a href="qlayoutiterator.html#deleteCurrent">TQLayoutIterator</a><li>deleteData: + <a href="tqdatabrowser.html#deleteCurrent">TQDataBrowser</a> <a href="tqdatatable.html#deleteCurrent">TQDataTable</a> <a href="qlayoutiterator.html#deleteCurrent">TQLayoutIterator</a><li>deleteData: <a href="qdomcharacterdata.html#deleteData">TQDomCharacterData</a><li>deleteItem: <a href="ntqptrcollection.html#deleteItem">TQPtrCollection</a><li>deleteLater: <a href="tqobject.html#deleteLater">TQObject</a><li>deleteNetworkProtocol: @@ -829,10 +829,10 @@ dark: <a href="ntqpainter.html#drawText">TQPainter</a> <a href="ntqwidget.html#drawText">TQWidget</a><li>drawTiledPixmap: <a href="ntqpainter.html#drawTiledPixmap">TQPainter</a><li>drawWinFocusRect: <a href="ntqpainter.html#drawWinFocusRect">TQPainter</a><li>driver: - <a href="ntqsqldatabase.html#driver">TQSqlDatabase</a> <a href="ntqsqlquery.html#driver">TQSqlQuery</a> <a href="ntqsqlresult.html#driver">TQSqlResult</a><li>driverName: - <a href="ntqsqldatabase.html#driverName">TQSqlDatabase</a><li>driverText: - <a href="ntqsqlerror.html#driverText">TQSqlError</a><li>drivers: - <a href="ntqsqldatabase.html#drivers">TQSqlDatabase</a><li>drives: + <a href="tqsqldatabase.html#driver">TQSqlDatabase</a> <a href="tqsqlquery.html#driver">TQSqlQuery</a> <a href="tqsqlresult.html#driver">TQSqlResult</a><li>driverName: + <a href="tqsqldatabase.html#driverName">TQSqlDatabase</a><li>driverText: + <a href="tqsqlerror.html#driverText">TQSqlError</a><li>drivers: + <a href="tqsqldatabase.html#drivers">TQSqlDatabase</a><li>drives: <a href="ntqdir.html#drives">TQDir</a><li>dropEnabled: <a href="qiconviewitem.html#dropEnabled">TQIconViewItem</a> <a href="qlistviewitem.html#dropEnabled">TQListViewItem</a><li>dropEvent: <a href="ntqwidget.html#dropEvent">TQWidget</a><li>dropped: @@ -846,7 +846,7 @@ dark: <a href="qaxbase.html#dynamicCall">TQAxBase</a> <a href="qaxbase.html#dynamicCall">TQAxObject</a> <a href="qaxbase.html#dynamicCall">TQAxWidget</a><li><a name="e"></a> echoMode: <a href="ntqlineedit.html#echoMode">TQLineEdit</a><li>editBuffer: - <a href="ntqsqlcursor.html#editBuffer">TQSqlCursor</a><li>editCell: + <a href="tqsqlcursor.html#editBuffer">TQSqlCursor</a><li>editCell: <a href="ntqtable.html#editCell">TQTable</a><li>editMode: <a href="ntqtable.html#editMode">TQTable</a><li>editType: <a href="qtableitem.html#editType">TQTableItem</a><li>editable: @@ -918,8 +918,8 @@ echoMode: <a href="qaxfactory.html#eventsID">TQAxFactory</a><li>exactMatch: <a href="ntqfont.html#exactMatch">TQFont</a> <a href="ntqfontinfo.html#exactMatch">TQFontInfo</a> <a href="ntqregexp.html#exactMatch">TQRegExp</a><li>exception: <a href="qaxbase.html#exception">TQAxBase</a><li>exec: - <a href="ntqapplication.html#exec">TQApplication</a> <a href="ntqdialog.html#exec">TQDialog</a> <a href="ntqeventloop.html#exec">TQEventLoop</a> <a href="ntqpopupmenu.html#exec">TQPopupMenu</a> <a href="ntqsqldatabase.html#exec">TQSqlDatabase</a> <a href="ntqsqlquery.html#exec">TQSqlQuery</a><li>executedQuery: - <a href="ntqsqlquery.html#executedQuery">TQSqlQuery</a><li>exists: + <a href="ntqapplication.html#exec">TQApplication</a> <a href="ntqdialog.html#exec">TQDialog</a> <a href="ntqeventloop.html#exec">TQEventLoop</a> <a href="ntqpopupmenu.html#exec">TQPopupMenu</a> <a href="tqsqldatabase.html#exec">TQSqlDatabase</a> <a href="tqsqlquery.html#exec">TQSqlQuery</a><li>executedQuery: + <a href="tqsqlquery.html#executedQuery">TQSqlQuery</a><li>exists: <a href="ntqdir.html#exists">TQDir</a> <a href="ntqfile.html#exists">TQFile</a> <a href="ntqfileinfo.html#exists">TQFileInfo</a><li>exit: <a href="ntqapplication.html#exit">TQApplication</a> <a href="ntqeventloop.html#exit">TQEventLoop</a> <a href="ntqthread.html#exit">TQThread</a><li>exitLoop: <a href="ntqeventloop.html#exitLoop">TQEventLoop</a><li>exitStatus: @@ -933,22 +933,22 @@ echoMode: <a href="ntqdialog.html#extension">TQDialog</a> <a href="ntqfileinfo.html#extension">TQFileInfo</a><li>externalEntityDecl: <a href="qxmldeclhandler.html#externalEntityDecl">TQXmlDeclHandler</a><li><a name="f"></a> falseText: - <a href="ntqdatatable.html#falseText">TQDataTable</a><li>families: + <a href="tqdatatable.html#falseText">TQDataTable</a><li>families: <a href="ntqfontdatabase.html#families">TQFontDatabase</a><li>family: <a href="ntqfont.html#family">TQFont</a> <a href="ntqfontinfo.html#family">TQFontInfo</a> <a href="ntqtextedit.html#family">TQTextEdit</a><li>fatalError: <a href="qxmlerrorhandler.html#fatalError">TQXmlErrorHandler</a><li>feature: <a href="qxmlreader.html#feature">TQXmlReader</a><li>featureList: <a href="qaxfactory.html#featureList">TQAxFactory</a><li>fetch: - <a href="ntqsqlresult.html#fetch">TQSqlResult</a><li>fetchData: + <a href="tqsqlresult.html#fetch">TQSqlResult</a><li>fetchData: <a href="qxmlinputsource.html#fetchData">TQXmlInputSource</a><li>fetchFirst: - <a href="ntqsqlresult.html#fetchFirst">TQSqlResult</a><li>fetchLast: - <a href="ntqsqlresult.html#fetchLast">TQSqlResult</a><li>fetchNext: - <a href="ntqsqlresult.html#fetchNext">TQSqlResult</a><li>fetchPrev: - <a href="ntqsqlresult.html#fetchPrev">TQSqlResult</a><li>field: - <a href="ntqsqlrecord.html#field">TQSqlRecord</a><li>fieldAlignment: - <a href="ntqdatatable.html#fieldAlignment">TQDataTable</a><li>fieldName: - <a href="ntqsqlrecord.html#fieldName">TQSqlRecord</a><li>fieldToWidget: - <a href="ntqsqlform.html#fieldToWidget">TQSqlForm</a><li>fileHighlighted: + <a href="tqsqlresult.html#fetchFirst">TQSqlResult</a><li>fetchLast: + <a href="tqsqlresult.html#fetchLast">TQSqlResult</a><li>fetchNext: + <a href="tqsqlresult.html#fetchNext">TQSqlResult</a><li>fetchPrev: + <a href="tqsqlresult.html#fetchPrev">TQSqlResult</a><li>field: + <a href="tqsqlrecord.html#field">TQSqlRecord</a><li>fieldAlignment: + <a href="tqdatatable.html#fieldAlignment">TQDataTable</a><li>fieldName: + <a href="tqsqlrecord.html#fieldName">TQSqlRecord</a><li>fieldToWidget: + <a href="tqsqlform.html#fieldToWidget">TQSqlForm</a><li>fileHighlighted: <a href="ntqfiledialog.html#fileHighlighted">TQFileDialog</a><li>fileName: <a href="ntqfileinfo.html#fileName">TQFileInfo</a> <a href="qimageio.html#fileName">TQImageIO</a> <a href="ntqsound.html#fileName">TQSound</a> <a href="ntqurl.html#fileName">TQUrl</a><li>filePath: <a href="ntqdir.html#filePath">TQDir</a> <a href="ntqfileinfo.html#filePath">TQFileInfo</a> <a href="qmimesourcefactory.html#filePath">TQMimeSourceFactory</a><li>fileSelected: @@ -956,9 +956,9 @@ falseText: <a href="ntqfiledialog.html#filesSelected">TQFileDialog</a><li>fill: <a href="ntqbitarray.html#fill">TQBitArray</a> <a href="ntqcstring.html#fill">TQCString</a> <a href="ntqimage.html#fill">TQImage</a> <a href="ntqmemarray.html#fill">TQMemArray</a> <a href="ntqpixmap.html#fill">TQPixmap</a> <a href="ntqptrvector.html#fill">TQPtrVector</a> <a href="ntqstring.html#fill">TQString</a> <a href="ntqtextstream.html#fill">TQTextStream</a><li>fillRect: <a href="ntqpainter.html#fillRect">TQPainter</a><li>filter: - <a href="ntqdatabrowser.html#filter">TQDataBrowser</a> <a href="ntqdatatable.html#filter">TQDataTable</a> <a href="ntqdir.html#filter">TQDir</a> <a href="ntqsqlcursor.html#filter">TQSqlCursor</a> <a href="qwsinputmethod.html#filter">TQWSInputMethod</a><li>filterSelected: + <a href="tqdatabrowser.html#filter">TQDataBrowser</a> <a href="tqdatatable.html#filter">TQDataTable</a> <a href="ntqdir.html#filter">TQDir</a> <a href="tqsqlcursor.html#filter">TQSqlCursor</a> <a href="qwsinputmethod.html#filter">TQWSInputMethod</a><li>filterSelected: <a href="ntqfiledialog.html#filterSelected">TQFileDialog</a><li>find: - <a href="ntqasciicache.html#find">TQAsciiCache</a> <a href="ntqasciidict.html#find">TQAsciiDict</a> <a href="ntqbuttongroup.html#find">TQButtonGroup</a> <a href="ntqcstring.html#find">TQCString</a> <a href="ntqcache.html#find">TQCache</a> <a href="ntqdatatable.html#find">TQDataTable</a> <a href="ntqdict.html#find">TQDict</a> <a href="ntqglcolormap.html#find">TQGLColormap</a> <a href="ntqintcache.html#find">TQIntCache</a> <a href="ntqintdict.html#find">TQIntDict</a> <a href="ntqmap.html#find">TQMap</a> <a href="ntqmemarray.html#find">TQMemArray</a> <a href="ntqpixmapcache.html#find">TQPixmapCache</a> <a href="ntqptrdict.html#find">TQPtrDict</a> <a href="ntqptrlist.html#find">TQPtrList</a> <a href="ntqptrvector.html#find">TQPtrVector</a> <a href="qsqlrecordinfo.html#find">TQSqlRecordInfo</a> <a href="ntqstring.html#find">TQString</a> <a href="ntqtextedit.html#find">TQTextEdit</a> <a href="ntqvaluelist.html#find">TQValueList</a> <a href="ntqwidget.html#find">TQWidget</a><li>findFirstVisibleItem: + <a href="ntqasciicache.html#find">TQAsciiCache</a> <a href="ntqasciidict.html#find">TQAsciiDict</a> <a href="ntqbuttongroup.html#find">TQButtonGroup</a> <a href="ntqcstring.html#find">TQCString</a> <a href="ntqcache.html#find">TQCache</a> <a href="tqdatatable.html#find">TQDataTable</a> <a href="ntqdict.html#find">TQDict</a> <a href="ntqglcolormap.html#find">TQGLColormap</a> <a href="ntqintcache.html#find">TQIntCache</a> <a href="ntqintdict.html#find">TQIntDict</a> <a href="ntqmap.html#find">TQMap</a> <a href="ntqmemarray.html#find">TQMemArray</a> <a href="ntqpixmapcache.html#find">TQPixmapCache</a> <a href="ntqptrdict.html#find">TQPtrDict</a> <a href="ntqptrlist.html#find">TQPtrList</a> <a href="ntqptrvector.html#find">TQPtrVector</a> <a href="tqsqlrecordinfo.html#find">TQSqlRecordInfo</a> <a href="ntqstring.html#find">TQString</a> <a href="ntqtextedit.html#find">TQTextEdit</a> <a href="ntqvaluelist.html#find">TQValueList</a> <a href="ntqwidget.html#find">TQWidget</a><li>findFirstVisibleItem: <a href="ntqiconview.html#findFirstVisibleItem">TQIconView</a><li>findIndex: <a href="ntqvaluelist.html#findIndex">TQValueList</a><li>findItem: <a href="ntqiconview.html#findItem">TQIconView</a> <a href="ntqlistbox.html#findItem">TQListBox</a> <a href="ntqlistview.html#findItem">TQListView</a> <a href="ntqmenudata.html#findItem">TQMenuData</a><li>findKey: @@ -975,10 +975,10 @@ falseText: <a href="ntqsplashscreen.html#finish">TQSplashScreen</a><li>finishButton: <a href="ntqwizard.html#finishButton">TQWizard</a><li>finished: <a href="qaxscript.html#finished">TQAxScript</a> <a href="ntqmovie.html#finished">TQMovie</a> <a href="ntqnetworkprotocol.html#finished">TQNetworkProtocol</a> <a href="ntqthread.html#finished">TQThread</a> <a href="ntqurloperator.html#finished">TQUrlOperator</a><li>first: - <a href="ntqdatabrowser.html#first">TQDataBrowser</a> <a href="ntqfocusdata.html#first">TQFocusData</a> <a href="ntqptrlist.html#first">TQPtrList</a> <a href="ntqsqlquery.html#first">TQSqlQuery</a> <a href="ntqvaluelist.html#first">TQValueList</a> <a href="ntqvaluevector.html#first">TQValueVector</a><li>firstChild: + <a href="tqdatabrowser.html#first">TQDataBrowser</a> <a href="ntqfocusdata.html#first">TQFocusData</a> <a href="ntqptrlist.html#first">TQPtrList</a> <a href="tqsqlquery.html#first">TQSqlQuery</a> <a href="ntqvaluelist.html#first">TQValueList</a> <a href="ntqvaluevector.html#first">TQValueVector</a><li>firstChild: <a href="qdomnode.html#firstChild">TQDomNode</a> <a href="ntqlistview.html#firstChild">TQListView</a> <a href="qlistviewitem.html#firstChild">TQListViewItem</a><li>firstItem: <a href="ntqiconview.html#firstItem">TQIconView</a> <a href="ntqlistbox.html#firstItem">TQListBox</a><li>firstRecordAvailable: - <a href="ntqdatabrowser.html#firstRecordAvailable">TQDataBrowser</a><li>fix: + <a href="tqdatabrowser.html#firstRecordAvailable">TQDataBrowser</a><li>fix: <a href="qdateedit.html#fix">TQDateEdit</a><li>fixedExtent: <a href="ntqdockwindow.html#fixedExtent">TQDockWindow</a><li>fixedPitch: <a href="ntqfont.html#fixedPitch">TQFont</a> <a href="ntqfontinfo.html#fixedPitch">TQFontInfo</a><li>fixup: @@ -1011,10 +1011,10 @@ falseText: <a href="ntqprogressdialog.html#forceShow">TQProgressDialog</a><li>foreground: <a href="qcolorgroup.html#foreground">TQColorGroup</a><li>foregroundColor: <a href="ntqwidget.html#foregroundColor">TQWidget</a><li>form: - <a href="ntqdatabrowser.html#form">TQDataBrowser</a> <a href="ntqdataview.html#form">TQDataView</a><li>format: + <a href="tqdatabrowser.html#form">TQDataBrowser</a> <a href="tqdataview.html#form">TQDataView</a><li>format: <a href="qdropevent.html#format">TQDropEvent</a> <a href="qglcontext.html#format">TQGLContext</a> <a href="qglwidget.html#format">TQGLWidget</a> <a href="qimagedecoder.html#format">TQImageDecoder</a> <a href="qimageio.html#format">TQImageIO</a> <a href="qmimesource.html#format">TQMimeSource</a><li>formatName: <a href="qimagedecoder.html#formatName">TQImageDecoder</a> <a href="qimageformattype.html#formatName">TQImageFormatType</a><li>formatValue: - <a href="ntqsqldriver.html#formatValue">TQSqlDriver</a><li>forward: + <a href="tqsqldriver.html#formatValue">TQSqlDriver</a><li>forward: <a href="ntqtextbrowser.html#forward">TQTextBrowser</a><li>forwardAvailable: <a href="ntqtextbrowser.html#forwardAvailable">TQTextBrowser</a><li>frame: <a href="qcanvassprite.html#frame">TQCanvasSprite</a> <a href="ntqlineedit.html#frame">TQLineEdit</a><li>frameBuffer: @@ -1042,7 +1042,7 @@ falseText: <a href="qxmlinputsource.html#fromRawData">TQXmlInputSource</a><li>fromStrList: <a href="ntqstringlist.html#fromStrList">TQStringList</a><li>fromString: <a href="qdate.html#fromString">TQDate</a> <a href="ntqdatetime.html#fromString">TQDateTime</a> <a href="ntqfont.html#fromString">TQFont</a> <a href="qtime.html#fromString">TQTime</a><li>fromStringList: - <a href="ntqsqlindex.html#fromStringList">TQSqlIndex</a><li>fromUcs2: + <a href="tqsqlindex.html#fromStringList">TQSqlIndex</a><li>fromUcs2: <a href="ntqstring.html#fromUcs2">TQString</a><li>fromUnicode: <a href="qhebrewcodec.html#fromUnicode">TQHebrewCodec</a> <a href="ntqtextcodec.html#fromUnicode">TQTextCodec</a> <a href="qtextencoder.html#fromUnicode">TQTextEncoder</a><li>fromUtf8: <a href="ntqstring.html#fromUtf8">TQString</a><li>front: @@ -1114,7 +1114,7 @@ gamma: hScrollBarMode: <a href="ntqscrollview.html#hScrollBarMode">TQScrollView</a><li>handle: <a href="ntqcursor.html#handle">TQCursor</a> <a href="ntqfile.html#handle">TQFile</a> <a href="ntqfont.html#handle">TQFont</a> <a href="ntqpaintdevice.html#handle">TQPaintDevice</a> <a href="ntqpainter.html#handle">TQPainter</a> <a href="ntqregion.html#handle">TQRegion</a> <a href="ntqsessionmanager.html#handle">TQSessionManager</a><li>handleError: - <a href="ntqdatabrowser.html#handleError">TQDataBrowser</a> <a href="ntqdatatable.html#handleError">TQDataTable</a><li>handlePosition: + <a href="tqdatabrowser.html#handleError">TQDataBrowser</a> <a href="tqdatatable.html#handleError">TQDataTable</a><li>handlePosition: <a href="ntqdockarea.html#handlePosition">TQDockArea</a><li>handleWidth: <a href="ntqsplitter.html#handleWidth">TQSplitter</a><li>hasAcceptableInput: <a href="ntqlineedit.html#hasAcceptableInput">TQLineEdit</a><li>hasAlpha: @@ -1132,7 +1132,7 @@ hScrollBarMode: <a href="qhttpheader.html#hasContentType">TQHttpHeader</a><li>hasDefaultButton: <a href="ntqtabdialog.html#hasDefaultButton">TQTabDialog</a><li>hasDockWindow: <a href="ntqdockarea.html#hasDockWindow">TQDockArea</a> <a href="ntqmainwindow.html#hasDockWindow">TQMainWindow</a><li>hasFeature: - <a href="qdomimplementation.html#hasFeature">TQDomImplementation</a> <a href="ntqsqldriver.html#hasFeature">TQSqlDriver</a> <a href="qxmlreader.html#hasFeature">TQXmlReader</a><li>hasFocus: + <a href="qdomimplementation.html#hasFeature">TQDomImplementation</a> <a href="tqsqldriver.html#hasFeature">TQSqlDriver</a> <a href="qxmlreader.html#hasFeature">TQXmlReader</a><li>hasFocus: <a href="ntqwidget.html#hasFocus">TQWidget</a><li>hasGlobalMouseTracking: <a href="ntqapplication.html#hasGlobalMouseTracking">TQApplication</a><li>hasHeightForWidth: <a href="qboxlayout.html#hasHeightForWidth">TQBoxLayout</a> <a href="qgridlayout.html#hasHeightForWidth">TQGridLayout</a> <a href="qlayoutitem.html#hasHeightForWidth">TQLayoutItem</a> <a href="ntqsizepolicy.html#hasHeightForWidth">TQSizePolicy</a><li>hasHelpButton: @@ -1200,7 +1200,7 @@ hScrollBarMode: <a href="ntqscrollview.html#horizontalSliderReleased">TQScrollView</a><li>host: <a href="ntqurl.html#host">TQUrl</a><li>hostFound: <a href="ntqsocket.html#hostFound">TQSocket</a><li>hostName: - <a href="ntqsqldatabase.html#hostName">TQSqlDatabase</a><li>hostNames: + <a href="tqsqldatabase.html#hostName">TQSqlDatabase</a><li>hostNames: <a href="ntqdns.html#hostNames">TQDns</a><li>hotSpot: <a href="ntqcursor.html#hotSpot">TQCursor</a><li>hour: <a href="qtime.html#hour">TQTime</a><li><a name="i"></a> @@ -1233,9 +1233,9 @@ icon: <a href="ntqpalette.html#inactive">TQPalette</a><li>includeFile: <a href="ntqwidgetplugin.html#includeFile">TQWidgetPlugin</a><li>indent: <a href="ntqlabel.html#indent">TQLabel</a><li>index: - <a href="ntqiconview.html#index">TQIconView</a> <a href="qiconviewitem.html#index">TQIconViewItem</a> <a href="ntqlistbox.html#index">TQListBox</a> <a href="ntqsqlcursor.html#index">TQSqlCursor</a> <a href="qxmlattributes.html#index">TQXmlAttributes</a><li>indexChange: + <a href="ntqiconview.html#index">TQIconView</a> <a href="qiconviewitem.html#index">TQIconViewItem</a> <a href="ntqlistbox.html#index">TQListBox</a> <a href="tqsqlcursor.html#index">TQSqlCursor</a> <a href="qxmlattributes.html#index">TQXmlAttributes</a><li>indexChange: <a href="ntqheader.html#indexChange">TQHeader</a><li>indexOf: - <a href="ntqdatatable.html#indexOf">TQDataTable</a> <a href="ntqmenudata.html#indexOf">TQMenuData</a> <a href="ntqtabbar.html#indexOf">TQTabBar</a> <a href="ntqtabwidget.html#indexOf">TQTabWidget</a> <a href="ntqtable.html#indexOf">TQTable</a> <a href="ntqtoolbox.html#indexOf">TQToolBox</a> <a href="ntqwizard.html#indexOf">TQWizard</a><li>indicatorFollowsStyle: + <a href="tqdatatable.html#indexOf">TQDataTable</a> <a href="ntqmenudata.html#indexOf">TQMenuData</a> <a href="ntqtabbar.html#indexOf">TQTabBar</a> <a href="ntqtabwidget.html#indexOf">TQTabWidget</a> <a href="ntqtable.html#indexOf">TQTable</a> <a href="ntqtoolbox.html#indexOf">TQToolBox</a> <a href="ntqwizard.html#indexOf">TQWizard</a><li>indicatorFollowsStyle: <a href="ntqprogressbar.html#indicatorFollowsStyle">TQProgressBar</a><li>info: <a href="ntqurloperator.html#info">TQUrlOperator</a><li>information: <a href="ntqmessagebox.html#information">TQMessageBox</a><li>inherits: @@ -1253,14 +1253,14 @@ icon: <a href="ntqimage.html#inputFormatList">TQImage</a><li>inputFormats: <a href="ntqimage.html#inputFormats">TQImage</a> <a href="qimagedecoder.html#inputFormats">TQImageDecoder</a> <a href="qimageio.html#inputFormats">TQImageIO</a><li>inputMask: <a href="ntqlineedit.html#inputMask">TQLineEdit</a><li>insert: - <a href="ntqasciicache.html#insert">TQAsciiCache</a> <a href="ntqasciidict.html#insert">TQAsciiDict</a> <a href="ntqbuttongroup.html#insert">TQButtonGroup</a> <a href="ntqcstring.html#insert">TQCString</a> <a href="ntqcache.html#insert">TQCache</a> <a href="ntqdatabrowser.html#insert">TQDataBrowser</a> <a href="ntqdict.html#insert">TQDict</a> <a href="ntqintcache.html#insert">TQIntCache</a> <a href="ntqintdict.html#insert">TQIntDict</a> <a href="ntqlineedit.html#insert">TQLineEdit</a> <a href="ntqmap.html#insert">TQMap</a> <a href="ntqpixmapcache.html#insert">TQPixmapCache</a> <a href="ntqptrdict.html#insert">TQPtrDict</a> <a href="ntqptrlist.html#insert">TQPtrList</a> <a href="ntqptrvector.html#insert">TQPtrVector</a> <a href="ntqsqlcursor.html#insert">TQSqlCursor</a> <a href="ntqsqlform.html#insert">TQSqlForm</a> <a href="ntqsqlpropertymap.html#insert">TQSqlPropertyMap</a> <a href="ntqsqlrecord.html#insert">TQSqlRecord</a> <a href="ntqstring.html#insert">TQString</a> <a href="ntqtextedit.html#insert">TQTextEdit</a> <a href="ntqtranslator.html#insert">TQTranslator</a> <a href="ntqvaluelist.html#insert">TQValueList</a> <a href="ntqvaluevector.html#insert">TQValueVector</a><li>insertAfter: + <a href="ntqasciicache.html#insert">TQAsciiCache</a> <a href="ntqasciidict.html#insert">TQAsciiDict</a> <a href="ntqbuttongroup.html#insert">TQButtonGroup</a> <a href="ntqcstring.html#insert">TQCString</a> <a href="ntqcache.html#insert">TQCache</a> <a href="tqdatabrowser.html#insert">TQDataBrowser</a> <a href="ntqdict.html#insert">TQDict</a> <a href="ntqintcache.html#insert">TQIntCache</a> <a href="ntqintdict.html#insert">TQIntDict</a> <a href="ntqlineedit.html#insert">TQLineEdit</a> <a href="ntqmap.html#insert">TQMap</a> <a href="ntqpixmapcache.html#insert">TQPixmapCache</a> <a href="ntqptrdict.html#insert">TQPtrDict</a> <a href="ntqptrlist.html#insert">TQPtrList</a> <a href="ntqptrvector.html#insert">TQPtrVector</a> <a href="tqsqlcursor.html#insert">TQSqlCursor</a> <a href="tqsqlform.html#insert">TQSqlForm</a> <a href="tqsqlpropertymap.html#insert">TQSqlPropertyMap</a> <a href="tqsqlrecord.html#insert">TQSqlRecord</a> <a href="ntqstring.html#insert">TQString</a> <a href="ntqtextedit.html#insert">TQTextEdit</a> <a href="ntqtranslator.html#insert">TQTranslator</a> <a href="ntqvaluelist.html#insert">TQValueList</a> <a href="ntqvaluevector.html#insert">TQValueVector</a><li>insertAfter: <a href="qdomnode.html#insertAfter">TQDomNode</a><li>insertAndMark: <a href="ntqmultilineedit.html#insertAndMark">TQMultiLineEdit</a><li>insertAt: <a href="ntqmultilineedit.html#insertAt">TQMultiLineEdit</a> <a href="ntqtextedit.html#insertAt">TQTextEdit</a><li>insertBefore: <a href="qdomnode.html#insertBefore">TQDomNode</a><li>insertChild: <a href="tqobject.html#insertChild">TQObject</a><li>insertColumns: <a href="ntqtable.html#insertColumns">TQTable</a><li>insertCurrent: - <a href="ntqdatabrowser.html#insertCurrent">TQDataBrowser</a> <a href="ntqdatatable.html#insertCurrent">TQDataTable</a><li>insertData: + <a href="tqdatabrowser.html#insertCurrent">TQDataBrowser</a> <a href="tqdatatable.html#insertCurrent">TQDataTable</a><li>insertData: <a href="qdomcharacterdata.html#insertData">TQDomCharacterData</a><li>insertInGrid: <a href="ntqiconview.html#insertInGrid">TQIconView</a><li>insertItem: <a href="ntqaccel.html#insertItem">TQAccel</a> <a href="qboxlayout.html#insertItem">TQBoxLayout</a> <a href="ntqcombobox.html#insertItem">TQComboBox</a> <a href="ntqiconview.html#insertItem">TQIconView</a> <a href="ntqlistbox.html#insertItem">TQListBox</a> <a href="ntqlistview.html#insertItem">TQListView</a> <a href="qlistviewitem.html#insertItem">TQListViewItem</a> <a href="ntqmenudata.html#insertItem">TQMenuBar</a> <a href="ntqmenudata.html#insertItem">TQMenuData</a> <a href="ntqmenudata.html#insertItem">TQPopupMenu</a> <a href="ntqtoolbox.html#insertItem">TQToolBox</a><li>insertLayout: @@ -1284,13 +1284,13 @@ icon: <a href="ntqcombobox.html#insertionPolicy">TQComboBox</a><li>insideMargin: <a href="ntqgroupbox.html#insideMargin">TQGroupBox</a><li>insideSpacing: <a href="ntqgroupbox.html#insideSpacing">TQGroupBox</a><li>installDefaultFactory: - <a href="ntqeditorfactory.html#installDefaultFactory">TQEditorFactory</a> <a href="qiconfactory.html#installDefaultFactory">TQIconFactory</a> <a href="ntqsqleditorfactory.html#installDefaultFactory">TQSqlEditorFactory</a><li>installDefaultMap: - <a href="ntqsqlpropertymap.html#installDefaultMap">TQSqlPropertyMap</a><li>installEditorFactory: - <a href="ntqdatatable.html#installEditorFactory">TQDataTable</a><li>installEventFilter: + <a href="tqeditorfactory.html#installDefaultFactory">TQEditorFactory</a> <a href="qiconfactory.html#installDefaultFactory">TQIconFactory</a> <a href="tqsqleditorfactory.html#installDefaultFactory">TQSqlEditorFactory</a><li>installDefaultMap: + <a href="tqsqlpropertymap.html#installDefaultMap">TQSqlPropertyMap</a><li>installEditorFactory: + <a href="tqdatatable.html#installEditorFactory">TQDataTable</a><li>installEventFilter: <a href="tqobject.html#installEventFilter">TQObject</a><li>installIOHandler: <a href="ntqimageformatplugin.html#installIOHandler">TQImageFormatPlugin</a><li>installIconFactory: <a href="ntqiconset.html#installIconFactory">TQIconSet</a><li>installPropertyMap: - <a href="ntqdatatable.html#installPropertyMap">TQDataTable</a> <a href="ntqsqlform.html#installPropertyMap">TQSqlForm</a><li>installTranslator: + <a href="tqdatatable.html#installPropertyMap">TQDataTable</a> <a href="tqsqlform.html#installPropertyMap">TQSqlForm</a><li>installTranslator: <a href="ntqapplication.html#installTranslator">TQApplication</a><li>instance: <a href="qnpstream.html#instance">TQNPStream</a> <a href="qnpwidget.html#instance">TQNPWidget</a><li>intValue: <a href="ntqlcdnumber.html#intValue">TQLCDNumber</a><li>interfaceID: @@ -1310,7 +1310,7 @@ icon: <a href="tqobject.html#isA">TQObject</a><li>isAccepted: <a href="qcloseevent.html#isAccepted">TQCloseEvent</a> <a href="qcontextmenuevent.html#isAccepted">TQContextMenuEvent</a> <a href="qdropevent.html#isAccepted">TQDropEvent</a> <a href="qimevent.html#isAccepted">TQIMEvent</a> <a href="qicondragevent.html#isAccepted">TQIconDragEvent</a> <a href="qkeyevent.html#isAccepted">TQKeyEvent</a> <a href="qmouseevent.html#isAccepted">TQMouseEvent</a> <a href="qtabletevent.html#isAccepted">TQTabletEvent</a> <a href="qwheelevent.html#isAccepted">TQWheelEvent</a><li>isActionAccepted: <a href="qdropevent.html#isActionAccepted">TQDropEvent</a><li>isActive: - <a href="ntqaccessible.html#isActive">TQAccessible</a> <a href="qcanvasitem.html#isActive">TQCanvasItem</a> <a href="ntqpainter.html#isActive">TQPainter</a> <a href="ntqsqlquery.html#isActive">TQSqlQuery</a> <a href="ntqsqlresult.html#isActive">TQSqlResult</a> <a href="qtableselection.html#isActive">TQTableSelection</a> <a href="ntqtimer.html#isActive">TQTimer</a><li>isActiveWindow: + <a href="ntqaccessible.html#isActive">TQAccessible</a> <a href="qcanvasitem.html#isActive">TQCanvasItem</a> <a href="ntqpainter.html#isActive">TQPainter</a> <a href="tqsqlquery.html#isActive">TQSqlQuery</a> <a href="tqsqlresult.html#isActive">TQSqlResult</a> <a href="qtableselection.html#isActive">TQTableSelection</a> <a href="ntqtimer.html#isActive">TQTimer</a><li>isActiveWindow: <a href="ntqwidget.html#isActiveWindow">TQWidget</a> <a href="qxtwidget.html#isActiveWindow">TQXtWidget</a><li>isAnchor: <a href="qstylesheetitem.html#isAnchor">TQStyleSheetItem</a><li>isAsynchronous: <a href="ntqiodevice.html#isAsynchronous">TQIODevice</a><li>isAttr: @@ -1320,7 +1320,7 @@ icon: <a href="ntqfontdatabase.html#isBitmapScalable">TQFontDatabase</a><li>isBuffered: <a href="ntqiodevice.html#isBuffered">TQIODevice</a><li>isCDATASection: <a href="qdomcdatasection.html#isCDATASection">TQDomCDATASection</a> <a href="qdomnode.html#isCDATASection">TQDomNode</a><li>isCalculated: - <a href="ntqsqlcursor.html#isCalculated">TQSqlCursor</a> <a href="qsqlfieldinfo.html#isCalculated">TQSqlFieldInfo</a><li>isCharacterData: + <a href="tqsqlcursor.html#isCalculated">TQSqlCursor</a> <a href="tqsqlfieldinfo.html#isCalculated">TQSqlFieldInfo</a><li>isCharacterData: <a href="qdomcharacterdata.html#isCharacterData">TQDomCharacterData</a> <a href="qdomnode.html#isCharacterData">TQDomNode</a><li>isCheckable: <a href="ntqgroupbox.html#isCheckable">TQGroupBox</a> <a href="ntqpopupmenu.html#isCheckable">TQPopupMenu</a><li>isChecked: <a href="ntqcheckbox.html#isChecked">TQCheckBox</a> <a href="qchecktableitem.html#isChecked">TQCheckTableItem</a> <a href="ntqgroupbox.html#isChecked">TQGroupBox</a> <a href="ntqradiobutton.html#isChecked">TQRadioButton</a><li>isClickEnabled: @@ -1341,7 +1341,7 @@ icon: <a href="ntqmainwindow.html#isCustomizable">TQMainWindow</a><li>isDefault: <a href="ntqpushbutton.html#isDefault">TQPushButton</a> <a href="qstyleoption.html#isDefault">TQStyleOption</a><li>isDefaultUp: <a href="ntqmenubar.html#isDefaultUp">TQMenuBar</a><li>isDescending: - <a href="ntqsqlindex.html#isDescending">TQSqlIndex</a><li>isDesktop: + <a href="tqsqlindex.html#isDescending">TQSqlIndex</a><li>isDesktop: <a href="ntqwidget.html#isDesktop">TQWidget</a><li>isDialog: <a href="ntqwidget.html#isDialog">TQWidget</a><li>isDigit: <a href="qchar.html#isDigit">TQChar</a><li>isDir: @@ -1354,12 +1354,12 @@ icon: <a href="qdomdocumentfragment.html#isDocumentFragment">TQDomDocumentFragment</a> <a href="qdomnode.html#isDocumentFragment">TQDomNode</a><li>isDocumentType: <a href="qdomdocumenttype.html#isDocumentType">TQDomDocumentType</a> <a href="qdomnode.html#isDocumentType">TQDomNode</a><li>isDown: <a href="ntqbutton.html#isDown">TQButton</a> <a href="ntqbutton.html#isDown">TQCheckBox</a> <a href="ntqbutton.html#isDown">TQPushButton</a> <a href="ntqbutton.html#isDown">TQRadioButton</a><li>isDriverAvailable: - <a href="ntqsqldatabase.html#isDriverAvailable">TQSqlDatabase</a><li>isEditable: + <a href="tqsqldatabase.html#isDriverAvailable">TQSqlDatabase</a><li>isEditable: <a href="qcombotableitem.html#isEditable">TQComboTableItem</a><li>isEditing: <a href="ntqtable.html#isEditing">TQTable</a><li>isEffectEnabled: <a href="ntqapplication.html#isEffectEnabled">TQApplication</a><li>isElement: <a href="qdomelement.html#isElement">TQDomElement</a> <a href="qdomnode.html#isElement">TQDomNode</a><li>isEmpty: - <a href="ntqasciicache.html#isEmpty">TQAsciiCache</a> <a href="qasciicacheiterator.html#isEmpty">TQAsciiCacheIterator</a> <a href="ntqasciidict.html#isEmpty">TQAsciiDict</a> <a href="qasciidictiterator.html#isEmpty">TQAsciiDictIterator</a> <a href="ntqcstring.html#isEmpty">TQCString</a> <a href="ntqcache.html#isEmpty">TQCache</a> <a href="qcacheiterator.html#isEmpty">TQCacheIterator</a> <a href="ntqdict.html#isEmpty">TQDict</a> <a href="qdictiterator.html#isEmpty">TQDictIterator</a> <a href="ntqdockarea.html#isEmpty">TQDockArea</a> <a href="ntqglcolormap.html#isEmpty">TQGLColormap</a> <a href="ntqintcache.html#isEmpty">TQIntCache</a> <a href="qintcacheiterator.html#isEmpty">TQIntCacheIterator</a> <a href="ntqintdict.html#isEmpty">TQIntDict</a> <a href="qintdictiterator.html#isEmpty">TQIntDictIterator</a> <a href="ntqkeysequence.html#isEmpty">TQKeySequence</a> <a href="ntqlayout.html#isEmpty">TQLayout</a> <a href="qlayoutitem.html#isEmpty">TQLayoutItem</a> <a href="ntqmap.html#isEmpty">TQMap</a> <a href="ntqmemarray.html#isEmpty">TQMemArray</a> <a href="tqobjectcleanuphandler.html#isEmpty">TQObjectCleanupHandler</a> <a href="ntqptrdict.html#isEmpty">TQPtrDict</a> <a href="qptrdictiterator.html#isEmpty">TQPtrDictIterator</a> <a href="ntqptrlist.html#isEmpty">TQPtrList</a> <a href="qptrlistiterator.html#isEmpty">TQPtrListIterator</a> <a href="ntqptrqueue.html#isEmpty">TQPtrQueue</a> <a href="ntqptrstack.html#isEmpty">TQPtrStack</a> <a href="ntqptrvector.html#isEmpty">TQPtrVector</a> <a href="ntqrect.html#isEmpty">TQRect</a> <a href="ntqregexp.html#isEmpty">TQRegExp</a> <a href="ntqregion.html#isEmpty">TQRegion</a> <a href="ntqsize.html#isEmpty">TQSize</a> <a href="qspaceritem.html#isEmpty">TQSpacerItem</a> <a href="ntqsqlrecord.html#isEmpty">TQSqlRecord</a> <a href="ntqstring.html#isEmpty">TQString</a> <a href="qtableselection.html#isEmpty">TQTableSelection</a> <a href="ntqtranslator.html#isEmpty">TQTranslator</a> <a href="ntqvaluelist.html#isEmpty">TQValueList</a> <a href="ntqvaluevector.html#isEmpty">TQValueVector</a> <a href="qwidgetitem.html#isEmpty">TQWidgetItem</a><li>isEnabled: + <a href="ntqasciicache.html#isEmpty">TQAsciiCache</a> <a href="qasciicacheiterator.html#isEmpty">TQAsciiCacheIterator</a> <a href="ntqasciidict.html#isEmpty">TQAsciiDict</a> <a href="qasciidictiterator.html#isEmpty">TQAsciiDictIterator</a> <a href="ntqcstring.html#isEmpty">TQCString</a> <a href="ntqcache.html#isEmpty">TQCache</a> <a href="qcacheiterator.html#isEmpty">TQCacheIterator</a> <a href="ntqdict.html#isEmpty">TQDict</a> <a href="qdictiterator.html#isEmpty">TQDictIterator</a> <a href="ntqdockarea.html#isEmpty">TQDockArea</a> <a href="ntqglcolormap.html#isEmpty">TQGLColormap</a> <a href="ntqintcache.html#isEmpty">TQIntCache</a> <a href="qintcacheiterator.html#isEmpty">TQIntCacheIterator</a> <a href="ntqintdict.html#isEmpty">TQIntDict</a> <a href="qintdictiterator.html#isEmpty">TQIntDictIterator</a> <a href="ntqkeysequence.html#isEmpty">TQKeySequence</a> <a href="ntqlayout.html#isEmpty">TQLayout</a> <a href="qlayoutitem.html#isEmpty">TQLayoutItem</a> <a href="ntqmap.html#isEmpty">TQMap</a> <a href="ntqmemarray.html#isEmpty">TQMemArray</a> <a href="tqobjectcleanuphandler.html#isEmpty">TQObjectCleanupHandler</a> <a href="ntqptrdict.html#isEmpty">TQPtrDict</a> <a href="qptrdictiterator.html#isEmpty">TQPtrDictIterator</a> <a href="ntqptrlist.html#isEmpty">TQPtrList</a> <a href="qptrlistiterator.html#isEmpty">TQPtrListIterator</a> <a href="ntqptrqueue.html#isEmpty">TQPtrQueue</a> <a href="ntqptrstack.html#isEmpty">TQPtrStack</a> <a href="ntqptrvector.html#isEmpty">TQPtrVector</a> <a href="ntqrect.html#isEmpty">TQRect</a> <a href="ntqregexp.html#isEmpty">TQRegExp</a> <a href="ntqregion.html#isEmpty">TQRegion</a> <a href="ntqsize.html#isEmpty">TQSize</a> <a href="qspaceritem.html#isEmpty">TQSpacerItem</a> <a href="tqsqlrecord.html#isEmpty">TQSqlRecord</a> <a href="ntqstring.html#isEmpty">TQString</a> <a href="qtableselection.html#isEmpty">TQTableSelection</a> <a href="ntqtranslator.html#isEmpty">TQTranslator</a> <a href="ntqvaluelist.html#isEmpty">TQValueList</a> <a href="ntqvaluevector.html#isEmpty">TQValueVector</a> <a href="qwidgetitem.html#isEmpty">TQWidgetItem</a><li>isEnabled: <a href="ntqaccel.html#isEnabled">TQAccel</a> <a href="ntqaction.html#isEnabled">TQAction</a> <a href="qcanvasitem.html#isEnabled">TQCanvasItem</a> <a href="ntqlayout.html#isEnabled">TQLayout</a> <a href="qlistviewitem.html#isEnabled">TQListViewItem</a> <a href="ntqsocketnotifier.html#isEnabled">TQSocketNotifier</a> <a href="qtab.html#isEnabled">TQTab</a> <a href="qtableitem.html#isEnabled">TQTableItem</a> <a href="ntqwidget.html#isEnabled">TQWidget</a><li>isEnabledTo: <a href="ntqwidget.html#isEnabledTo">TQWidget</a><li>isEntity: <a href="qdomentity.html#isEntity">TQDomEntity</a> <a href="qdomnode.html#isEntity">TQDomNode</a><li>isEntityReference: @@ -1375,10 +1375,10 @@ icon: <a href="ntqfontdatabase.html#isFixedPitch">TQFontDatabase</a><li>isFlat: <a href="ntqgroupbox.html#isFlat">TQGroupBox</a> <a href="ntqpushbutton.html#isFlat">TQPushButton</a><li>isFocusEnabled: <a href="ntqwidget.html#isFocusEnabled">TQWidget</a><li>isForwardOnly: - <a href="ntqsqlquery.html#isForwardOnly">TQSqlQuery</a> <a href="ntqsqlresult.html#isForwardOnly">TQSqlResult</a><li>isFullScreen: + <a href="tqsqlquery.html#isForwardOnly">TQSqlQuery</a> <a href="tqsqlresult.html#isForwardOnly">TQSqlResult</a><li>isFullScreen: <a href="ntqwidget.html#isFullScreen">TQWidget</a><li>isFullyObscured: <a href="qwswindow.html#isFullyObscured">TQWSWindow</a><li>isGenerated: - <a href="ntqiconset.html#isGenerated">TQIconSet</a> <a href="qsqlfieldinfo.html#isGenerated">TQSqlFieldInfo</a> <a href="ntqsqlrecord.html#isGenerated">TQSqlRecord</a><li>isGloballyEnabled: + <a href="ntqiconset.html#isGenerated">TQIconSet</a> <a href="tqsqlfieldinfo.html#isGenerated">TQSqlFieldInfo</a> <a href="tqsqlrecord.html#isGenerated">TQSqlRecord</a><li>isGloballyEnabled: <a href="ntqtooltip.html#isGloballyEnabled">TQToolTip</a><li>isGrayscale: <a href="ntqimage.html#isGrayscale">TQImage</a><li>isHidden: <a href="ntqfileinfo.html#isHidden">TQFileInfo</a> <a href="ntqwidget.html#isHidden">TQWidget</a><li>isHorizontalSliderPressed: @@ -1407,11 +1407,11 @@ icon: <a href="ntqlineedit.html#isModified">TQLineEdit</a> <a href="ntqtextedit.html#isModified">TQTextEdit</a><li>isMovingEnabled: <a href="ntqdockwindow.html#isMovingEnabled">TQDockWindow</a> <a href="ntqheader.html#isMovingEnabled">TQHeader</a><li>isNotation: <a href="qdomnode.html#isNotation">TQDomNode</a> <a href="qdomnotation.html#isNotation">TQDomNotation</a><li>isNull: - <a href="qaxbase.html#isNull">TQAxBase</a> <a href="ntqcstring.html#isNull">TQCString</a> <a href="qchar.html#isNull">TQChar</a> <a href="qdate.html#isNull">TQDate</a> <a href="ntqdatetime.html#isNull">TQDateTime</a> <a href="qdomimplementation.html#isNull">TQDomImplementation</a> <a href="qdomnode.html#isNull">TQDomNode</a> <a href="ntqguardedptr.html#isNull">TQGuardedPtr</a> <a href="ntqhostaddress.html#isNull">TQHostAddress</a> <a href="ntqiconset.html#isNull">TQIconSet</a> <a href="ntqimage.html#isNull">TQImage</a> <a href="ntqmemarray.html#isNull">TQMemArray</a> <a href="ntqmovie.html#isNull">TQMovie</a> <a href="ntqpicture.html#isNull">TQPicture</a> <a href="ntqpixmap.html#isNull">TQPixmap</a> <a href="ntqpoint.html#isNull">TQPoint</a> <a href="ntqptrvector.html#isNull">TQPtrVector</a> <a href="ntqrect.html#isNull">TQRect</a> <a href="ntqregion.html#isNull">TQRegion</a> <a href="ntqsize.html#isNull">TQSize</a> <a href="ntqsqlcursor.html#isNull">TQSqlCursor</a> <a href="ntqsqlfield.html#isNull">TQSqlField</a> <a href="ntqsqlquery.html#isNull">TQSqlQuery</a> <a href="ntqsqlrecord.html#isNull">TQSqlRecord</a> <a href="ntqsqlresult.html#isNull">TQSqlResult</a> <a href="ntqstring.html#isNull">TQString</a> <a href="qtime.html#isNull">TQTime</a> <a href="ntquuid.html#isNull">TQUuid</a> <a href="ntqvariant.html#isNull">TQVariant</a><li>isNumber: + <a href="qaxbase.html#isNull">TQAxBase</a> <a href="ntqcstring.html#isNull">TQCString</a> <a href="qchar.html#isNull">TQChar</a> <a href="qdate.html#isNull">TQDate</a> <a href="ntqdatetime.html#isNull">TQDateTime</a> <a href="qdomimplementation.html#isNull">TQDomImplementation</a> <a href="qdomnode.html#isNull">TQDomNode</a> <a href="ntqguardedptr.html#isNull">TQGuardedPtr</a> <a href="ntqhostaddress.html#isNull">TQHostAddress</a> <a href="ntqiconset.html#isNull">TQIconSet</a> <a href="ntqimage.html#isNull">TQImage</a> <a href="ntqmemarray.html#isNull">TQMemArray</a> <a href="ntqmovie.html#isNull">TQMovie</a> <a href="ntqpicture.html#isNull">TQPicture</a> <a href="ntqpixmap.html#isNull">TQPixmap</a> <a href="ntqpoint.html#isNull">TQPoint</a> <a href="ntqptrvector.html#isNull">TQPtrVector</a> <a href="ntqrect.html#isNull">TQRect</a> <a href="ntqregion.html#isNull">TQRegion</a> <a href="ntqsize.html#isNull">TQSize</a> <a href="tqsqlcursor.html#isNull">TQSqlCursor</a> <a href="tqsqlfield.html#isNull">TQSqlField</a> <a href="tqsqlquery.html#isNull">TQSqlQuery</a> <a href="tqsqlrecord.html#isNull">TQSqlRecord</a> <a href="tqsqlresult.html#isNull">TQSqlResult</a> <a href="ntqstring.html#isNull">TQString</a> <a href="qtime.html#isNull">TQTime</a> <a href="ntquuid.html#isNull">TQUuid</a> <a href="ntqvariant.html#isNull">TQVariant</a><li>isNumber: <a href="qchar.html#isNumber">TQChar</a><li>isOn: <a href="ntqaction.html#isOn">TQAction</a> <a href="ntqbutton.html#isOn">TQButton</a> <a href="ntqbutton.html#isOn">TQCheckBox</a> <a href="qchecklistitem.html#isOn">TQCheckListItem</a> <a href="ntqbutton.html#isOn">TQPushButton</a> <a href="ntqbutton.html#isOn">TQRadioButton</a><li>isOpen: - <a href="ntqassistantclient.html#isOpen">TQAssistantClient</a> <a href="ntqiodevice.html#isOpen">TQIODevice</a> <a href="ntqlistview.html#isOpen">TQListView</a> <a href="qlistviewitem.html#isOpen">TQListViewItem</a> <a href="ntqsqldatabase.html#isOpen">TQSqlDatabase</a> <a href="ntqsqldriver.html#isOpen">TQSqlDriver</a><li>isOpenError: - <a href="ntqsqldatabase.html#isOpenError">TQSqlDatabase</a> <a href="ntqsqldriver.html#isOpenError">TQSqlDriver</a><li>isOptionEnabled: + <a href="ntqassistantclient.html#isOpen">TQAssistantClient</a> <a href="ntqiodevice.html#isOpen">TQIODevice</a> <a href="ntqlistview.html#isOpen">TQListView</a> <a href="qlistviewitem.html#isOpen">TQListViewItem</a> <a href="tqsqldatabase.html#isOpen">TQSqlDatabase</a> <a href="tqsqldriver.html#isOpen">TQSqlDriver</a><li>isOpenError: + <a href="tqsqldatabase.html#isOpenError">TQSqlDatabase</a> <a href="tqsqldriver.html#isOpenError">TQSqlDriver</a><li>isOptionEnabled: <a href="ntqprinter.html#isOptionEnabled">TQPrinter</a><li>isOverwriteMode: <a href="ntqtextedit.html#isOverwriteMode">TQTextEdit</a><li>isPartiallyObscured: <a href="qwswindow.html#isPartiallyObscured">TQWSWindow</a><li>isPhase2: @@ -1424,7 +1424,7 @@ icon: <a href="ntqpixmap.html#isTQBitmap">TQPixmap</a><li>isRadioButtonExclusive: <a href="ntqbuttongroup.html#isRadioButtonExclusive">TQButtonGroup</a><li>isRaw: <a href="ntqiodevice.html#isRaw">TQIODevice</a><li>isReadOnly: - <a href="ntqdatabrowser.html#isReadOnly">TQDataBrowser</a> <a href="ntqlineedit.html#isReadOnly">TQLineEdit</a> <a href="ntqsqlcursor.html#isReadOnly">TQSqlCursor</a> <a href="ntqsqlfield.html#isReadOnly">TQSqlField</a> <a href="ntqtable.html#isReadOnly">TQTable</a> <a href="ntqtextedit.html#isReadOnly">TQTextEdit</a><li>isReadWrite: + <a href="tqdatabrowser.html#isReadOnly">TQDataBrowser</a> <a href="ntqlineedit.html#isReadOnly">TQLineEdit</a> <a href="tqsqlcursor.html#isReadOnly">TQSqlCursor</a> <a href="tqsqlfield.html#isReadOnly">TQSqlField</a> <a href="ntqtable.html#isReadOnly">TQTable</a> <a href="ntqtextedit.html#isReadOnly">TQTextEdit</a><li>isReadWrite: <a href="ntqiodevice.html#isReadWrite">TQIODevice</a><li>isReadable: <a href="ntqdir.html#isReadable">TQDir</a> <a href="ntqfileinfo.html#isReadable">TQFileInfo</a> <a href="ntqiodevice.html#isReadable">TQIODevice</a> <a href="ntqurlinfo.html#isReadable">TQUrlInfo</a><li>isRedoAvailable: <a href="ntqlineedit.html#isRedoAvailable">TQLineEdit</a> <a href="ntqtextedit.html#isRedoAvailable">TQTextEdit</a><li>isRegistered: @@ -1434,7 +1434,7 @@ icon: <a href="ntqurl.html#isRelativeUrl">TQUrl</a><li>isRenaming: <a href="ntqiconview.html#isRenaming">TQIconView</a> <a href="ntqlistview.html#isRenaming">TQListView</a><li>isReplaceable: <a href="qtableitem.html#isReplaceable">TQTableItem</a><li>isRequired: - <a href="qsqlfieldinfo.html#isRequired">TQSqlFieldInfo</a><li>isResizeEnabled: + <a href="tqsqlfieldinfo.html#isRequired">TQSqlFieldInfo</a><li>isResizeEnabled: <a href="ntqdockwindow.html#isResizeEnabled">TQDockWindow</a> <a href="ntqheader.html#isResizeEnabled">TQHeader</a><li>isRoot: <a href="ntqdir.html#isRoot">TQDir</a><li>isRowHidden: <a href="ntqtable.html#isRowHidden">TQTable</a><li>isRowReadOnly: @@ -1444,7 +1444,7 @@ icon: <a href="ntqlistbox.html#isRubberSelecting">TQListBox</a><li>isRunning: <a href="ntqprocess.html#isRunning">TQProcess</a><li>isScalable: <a href="ntqfontdatabase.html#isScalable">TQFontDatabase</a><li>isSelect: - <a href="ntqsqlquery.html#isSelect">TQSqlQuery</a> <a href="ntqsqlresult.html#isSelect">TQSqlResult</a><li>isSelectable: + <a href="tqsqlquery.html#isSelect">TQSqlQuery</a> <a href="tqsqlresult.html#isSelect">TQSqlResult</a><li>isSelectable: <a href="qiconviewitem.html#isSelectable">TQIconViewItem</a> <a href="qlistboxitem.html#isSelectable">TQListBoxItem</a> <a href="qlistviewitem.html#isSelectable">TQListViewItem</a><li>isSelected: <a href="qcanvasitem.html#isSelected">TQCanvasItem</a> <a href="qiconviewitem.html#isSelected">TQIconViewItem</a> <a href="ntqlistbox.html#isSelected">TQListBox</a> <a href="qlistboxitem.html#isSelected">TQListBoxItem</a> <a href="ntqlistview.html#isSelected">TQListView</a> <a href="qlistviewitem.html#isSelected">TQListViewItem</a> <a href="ntqtable.html#isSelected">TQTable</a><li>isSeparator: <a href="qcustommenuitem.html#isSeparator">TQCustomMenuItem</a><li>isSequentialAccess: @@ -1471,13 +1471,13 @@ icon: <a href="ntqlayout.html#isTopLevel">TQLayout</a> <a href="ntqwidget.html#isTopLevel">TQWidget</a><li>isTransformed: <a href="qscreen.html#isTransformed">TQScreen</a><li>isTranslated: <a href="ntqiodevice.html#isTranslated">TQIODevice</a><li>isTrim: - <a href="qsqlfieldinfo.html#isTrim">TQSqlFieldInfo</a><li>isTrimmed: - <a href="ntqsqlcursor.html#isTrimmed">TQSqlCursor</a><li>isTristate: + <a href="tqsqlfieldinfo.html#isTrim">TQSqlFieldInfo</a><li>isTrimmed: + <a href="tqsqlcursor.html#isTrimmed">TQSqlCursor</a><li>isTristate: <a href="ntqcheckbox.html#isTristate">TQCheckBox</a> <a href="qchecklistitem.html#isTristate">TQCheckListItem</a><li>isUndoAvailable: <a href="ntqlineedit.html#isUndoAvailable">TQLineEdit</a> <a href="ntqtextedit.html#isUndoAvailable">TQTextEdit</a><li>isUndoRedoEnabled: <a href="ntqtextedit.html#isUndoRedoEnabled">TQTextEdit</a><li>isUpdatesEnabled: <a href="ntqwidget.html#isUpdatesEnabled">TQWidget</a><li>isValid: - <a href="qaccessibleinterface.html#isValid">TQAccessibleInterface</a> <a href="qaxscriptengine.html#isValid">TQAxScriptEngine</a> <a href="qcanvaspixmaparray.html#isValid">TQCanvasPixmapArray</a> <a href="qcanvaspolygonalitem.html#isValid">TQCanvasPolygonalItem</a> <a href="ntqcolor.html#isValid">TQColor</a> <a href="qdate.html#isValid">TQDate</a> <a href="ntqdatetime.html#isValid">TQDateTime</a> <a href="qglcontext.html#isValid">TQGLContext</a> <a href="qglwidget.html#isValid">TQGLWidget</a> <a href="qhttpheader.html#isValid">TQHttpHeader</a> <a href="ntqrect.html#isValid">TQRect</a> <a href="ntqregexp.html#isValid">TQRegExp</a> <a href="ntqsize.html#isValid">TQSize</a> <a href="ntqsocketdevice.html#isValid">TQSocketDevice</a> <a href="ntqsqlquery.html#isValid">TQSqlQuery</a> <a href="ntqsqlresult.html#isValid">TQSqlResult</a> <a href="qtime.html#isValid">TQTime</a> <a href="ntqurl.html#isValid">TQUrl</a> <a href="ntqurlinfo.html#isValid">TQUrlInfo</a> <a href="ntqvariant.html#isValid">TQVariant</a><li>isVerticalSliderPressed: + <a href="qaccessibleinterface.html#isValid">TQAccessibleInterface</a> <a href="qaxscriptengine.html#isValid">TQAxScriptEngine</a> <a href="qcanvaspixmaparray.html#isValid">TQCanvasPixmapArray</a> <a href="qcanvaspolygonalitem.html#isValid">TQCanvasPolygonalItem</a> <a href="ntqcolor.html#isValid">TQColor</a> <a href="qdate.html#isValid">TQDate</a> <a href="ntqdatetime.html#isValid">TQDateTime</a> <a href="qglcontext.html#isValid">TQGLContext</a> <a href="qglwidget.html#isValid">TQGLWidget</a> <a href="qhttpheader.html#isValid">TQHttpHeader</a> <a href="ntqrect.html#isValid">TQRect</a> <a href="ntqregexp.html#isValid">TQRegExp</a> <a href="ntqsize.html#isValid">TQSize</a> <a href="ntqsocketdevice.html#isValid">TQSocketDevice</a> <a href="tqsqlquery.html#isValid">TQSqlQuery</a> <a href="tqsqlresult.html#isValid">TQSqlResult</a> <a href="qtime.html#isValid">TQTime</a> <a href="ntqurl.html#isValid">TQUrl</a> <a href="ntqurlinfo.html#isValid">TQUrlInfo</a> <a href="ntqvariant.html#isValid">TQVariant</a><li>isVerticalSliderPressed: <a href="ntqscrollview.html#isVerticalSliderPressed">TQScrollView</a><li>isVerticallyStretchable: <a href="ntqdockwindow.html#isVerticallyStretchable">TQDockWindow</a><li>isVirtualDesktop: <a href="ntqdesktopwidget.html#isVirtualDesktop">TQDesktopWidget</a><li>isVisible: @@ -1522,7 +1522,7 @@ key: <a href="ntqtabbar.html#keyboardFocusTab">TQTabBar</a><li>keyboardGrabber: <a href="ntqwidget.html#keyboardGrabber">TQWidget</a><li>keyboardHandler: <a href="qwsserver.html#keyboardHandler">TQWSServer</a><li>keys: - <a href="qgfxdriverfactory.html#keys">TQGfxDriverFactory</a> <a href="qgfxdriverplugin.html#keys">TQGfxDriverPlugin</a> <a href="qhttpheader.html#keys">TQHttpHeader</a> <a href="ntqimageformatplugin.html#keys">TQImageFormatPlugin</a> <a href="qkbddriverfactory.html#keys">TQKbdDriverFactory</a> <a href="qkbddriverplugin.html#keys">TQKbdDriverPlugin</a> <a href="ntqmap.html#keys">TQMap</a> <a href="qmousedriverfactory.html#keys">TQMouseDriverFactory</a> <a href="qmousedriverplugin.html#keys">TQMouseDriverPlugin</a> <a href="ntqsqldriverplugin.html#keys">TQSqlDriverPlugin</a> <a href="ntqstylefactory.html#keys">TQStyleFactory</a> <a href="ntqstyleplugin.html#keys">TQStylePlugin</a> <a href="ntqwidgetplugin.html#keys">TQWidgetPlugin</a><li>keysToValue: + <a href="qgfxdriverfactory.html#keys">TQGfxDriverFactory</a> <a href="qgfxdriverplugin.html#keys">TQGfxDriverPlugin</a> <a href="qhttpheader.html#keys">TQHttpHeader</a> <a href="ntqimageformatplugin.html#keys">TQImageFormatPlugin</a> <a href="qkbddriverfactory.html#keys">TQKbdDriverFactory</a> <a href="qkbddriverplugin.html#keys">TQKbdDriverPlugin</a> <a href="ntqmap.html#keys">TQMap</a> <a href="qmousedriverfactory.html#keys">TQMouseDriverFactory</a> <a href="qmousedriverplugin.html#keys">TQMouseDriverPlugin</a> <a href="tqsqldriverplugin.html#keys">TQSqlDriverPlugin</a> <a href="ntqstylefactory.html#keys">TQStyleFactory</a> <a href="ntqstyleplugin.html#keys">TQStylePlugin</a> <a href="ntqwidgetplugin.html#keys">TQWidgetPlugin</a><li>keysToValue: <a href="qmetaproperty.html#keysToValue">TQMetaProperty</a><li>kill: <a href="ntqprocess.html#kill">TQProcess</a><li>killLine: <a href="ntqmultilineedit.html#killLine">TQMultiLineEdit</a><li>killTimer: @@ -1533,15 +1533,15 @@ label: <a href="ntqprogressdialog.html#labelText">TQProgressDialog</a><li>language: <a href="ntqlocale.html#language">TQLocale</a><li>languageToString: <a href="ntqlocale.html#languageToString">TQLocale</a><li>last: - <a href="ntqdatabrowser.html#last">TQDataBrowser</a> <a href="ntqfocusdata.html#last">TQFocusData</a> <a href="ntqptrlist.html#last">TQPtrList</a> <a href="ntqsqlquery.html#last">TQSqlQuery</a> <a href="ntqvaluelist.html#last">TQValueList</a> <a href="ntqvaluevector.html#last">TQValueVector</a><li>lastChild: + <a href="tqdatabrowser.html#last">TQDataBrowser</a> <a href="ntqfocusdata.html#last">TQFocusData</a> <a href="ntqptrlist.html#last">TQPtrList</a> <a href="tqsqlquery.html#last">TQSqlQuery</a> <a href="ntqvaluelist.html#last">TQValueList</a> <a href="ntqvaluevector.html#last">TQValueVector</a><li>lastChild: <a href="qdomnode.html#lastChild">TQDomNode</a><li>lastError: - <a href="ntqsqldatabase.html#lastError">TQSqlDatabase</a> <a href="ntqsqldriver.html#lastError">TQSqlDriver</a> <a href="ntqsqlquery.html#lastError">TQSqlQuery</a> <a href="ntqsqlresult.html#lastError">TQSqlResult</a><li>lastItem: + <a href="tqsqldatabase.html#lastError">TQSqlDatabase</a> <a href="tqsqldriver.html#lastError">TQSqlDriver</a> <a href="tqsqlquery.html#lastError">TQSqlQuery</a> <a href="tqsqlresult.html#lastError">TQSqlResult</a><li>lastItem: <a href="ntqiconview.html#lastItem">TQIconView</a> <a href="ntqlistview.html#lastItem">TQListView</a><li>lastModified: <a href="ntqfileinfo.html#lastModified">TQFileInfo</a> <a href="qnpstream.html#lastModified">TQNPStream</a> <a href="ntqurlinfo.html#lastModified">TQUrlInfo</a><li>lastOp: <a href="qscreen.html#lastOp">TQScreen</a><li>lastQuery: - <a href="ntqsqlquery.html#lastQuery">TQSqlQuery</a> <a href="ntqsqlresult.html#lastQuery">TQSqlResult</a><li>lastRead: + <a href="tqsqlquery.html#lastQuery">TQSqlQuery</a> <a href="tqsqlresult.html#lastQuery">TQSqlResult</a><li>lastRead: <a href="ntqfileinfo.html#lastRead">TQFileInfo</a> <a href="ntqurlinfo.html#lastRead">TQUrlInfo</a><li>lastRecordAvailable: - <a href="ntqdatabrowser.html#lastRecordAvailable">TQDataBrowser</a><li>lastResortFamily: + <a href="tqdatabrowser.html#lastRecordAvailable">TQDataBrowser</a><li>lastResortFamily: <a href="ntqfont.html#lastResortFamily">TQFont</a><li>lastResortFont: <a href="ntqfont.html#lastResortFont">TQFont</a><li>lastWindowClosed: <a href="ntqapplication.html#lastWindowClosed">TQApplication</a><li>latin1: @@ -1566,7 +1566,7 @@ label: <a href="qcanvassprite.html#leftEdge">TQCanvasSprite</a><li>leftJustify: <a href="ntqcstring.html#leftJustify">TQCString</a> <a href="ntqstring.html#leftJustify">TQString</a><li>leftMargin: <a href="ntqscrollview.html#leftMargin">TQScrollView</a><li>length: - <a href="ntqcstring.html#length">TQCString</a> <a href="qdomcharacterdata.html#length">TQDomCharacterData</a> <a href="qdomnamednodemap.html#length">TQDomNamedNodeMap</a> <a href="qdomnodelist.html#length">TQDomNodeList</a> <a href="qsqlfieldinfo.html#length">TQSqlFieldInfo</a> <a href="ntqstring.html#length">TQString</a> <a href="ntqtextedit.html#length">TQTextEdit</a> <a href="qxmlattributes.html#length">TQXmlAttributes</a><li>lessThan: + <a href="ntqcstring.html#length">TQCString</a> <a href="qdomcharacterdata.html#length">TQDomCharacterData</a> <a href="qdomnamednodemap.html#length">TQDomNamedNodeMap</a> <a href="qdomnodelist.html#length">TQDomNodeList</a> <a href="tqsqlfieldinfo.html#length">TQSqlFieldInfo</a> <a href="ntqstring.html#length">TQString</a> <a href="ntqtextedit.html#length">TQTextEdit</a> <a href="qxmlattributes.html#length">TQXmlAttributes</a><li>lessThan: <a href="ntqurlinfo.html#lessThan">TQUrlInfo</a><li>lexicalHandler: <a href="qxmlreader.html#lexicalHandler">TQXmlReader</a><li>library: <a href="ntqlibrary.html#library">TQLibrary</a><li>libraryPaths: @@ -1732,7 +1732,7 @@ m11: <a href="qchar.html#mirroredChar">TQChar</a><li>mixedColor: <a href="ntqplatinumstyle.html#mixedColor">TQPlatinumStyle</a><li>mkdir: <a href="ntqdir.html#mkdir">TQDir</a> <a href="ntqftp.html#mkdir">TQFtp</a> <a href="ntqurloperator.html#mkdir">TQUrlOperator</a><li>mode: - <a href="ntqfiledialog.html#mode">TQFileDialog</a> <a href="ntqiodevice.html#mode">TQIODevice</a> <a href="ntqlcdnumber.html#mode">TQLCDNumber</a> <a href="qnpinstance.html#mode">TQNPInstance</a> <a href="ntqsqlcursor.html#mode">TQSqlCursor</a><li>modificationChanged: + <a href="ntqfiledialog.html#mode">TQFileDialog</a> <a href="ntqiodevice.html#mode">TQIODevice</a> <a href="ntqlcdnumber.html#mode">TQLCDNumber</a> <a href="qnpinstance.html#mode">TQNPInstance</a> <a href="tqsqlcursor.html#mode">TQSqlCursor</a><li>modificationChanged: <a href="ntqtextedit.html#modificationChanged">TQTextEdit</a><li>month: <a href="qdate.html#month">TQDate</a><li>motifWidget: <a href="qmotifwidget.html#motifWidget">TQMotifWidget</a><li>mouseButtonClicked: @@ -1774,7 +1774,7 @@ m11: <a href="qlistviewitem.html#multiLinesEnabled">TQListViewItem</a><li>mutex: <a href="qmutexlocker.html#mutex">TQMutexLocker</a><li><a name="n"></a> name: - <a href="ntqcolor.html#name">TQColor</a> <a href="qdomattr.html#name">TQDomAttr</a> <a href="qdomdocumenttype.html#name">TQDomDocumentType</a> <a href="ntqfile.html#name">TQFile</a> <a href="ntqlocale.html#name">TQLocale</a> <a href="qmetaproperty.html#name">TQMetaProperty</a> <a href="tqobject.html#name">TQObject</a> <a href="ntqsqlcursor.html#name">TQSqlCursor</a> <a href="ntqsqlfield.html#name">TQSqlField</a> <a href="qsqlfieldinfo.html#name">TQSqlFieldInfo</a> <a href="ntqsqlindex.html#name">TQSqlIndex</a> <a href="qstylesheetitem.html#name">TQStyleSheetItem</a> <a href="ntqtextcodec.html#name">TQTextCodec</a> <a href="ntqurlinfo.html#name">TQUrlInfo</a> <a href="qwswindow.html#name">TQWSWindow</a><li>nameFilter: + <a href="ntqcolor.html#name">TQColor</a> <a href="qdomattr.html#name">TQDomAttr</a> <a href="qdomdocumenttype.html#name">TQDomDocumentType</a> <a href="ntqfile.html#name">TQFile</a> <a href="ntqlocale.html#name">TQLocale</a> <a href="qmetaproperty.html#name">TQMetaProperty</a> <a href="tqobject.html#name">TQObject</a> <a href="tqsqlcursor.html#name">TQSqlCursor</a> <a href="tqsqlfield.html#name">TQSqlField</a> <a href="tqsqlfieldinfo.html#name">TQSqlFieldInfo</a> <a href="tqsqlindex.html#name">TQSqlIndex</a> <a href="qstylesheetitem.html#name">TQStyleSheetItem</a> <a href="ntqtextcodec.html#name">TQTextCodec</a> <a href="ntqurlinfo.html#name">TQUrlInfo</a> <a href="qwswindow.html#name">TQWSWindow</a><li>nameFilter: <a href="ntqdir.html#nameFilter">TQDir</a> <a href="ntqurloperator.html#nameFilter">TQUrlOperator</a><li>nameToType: <a href="ntqvariant.html#nameToType">TQVariant</a><li>namedItem: <a href="qdomnamednodemap.html#namedItem">TQDomNamedNodeMap</a> <a href="qdomnode.html#namedItem">TQDomNode</a><li>namedItemNS: @@ -1793,12 +1793,12 @@ name: <a href="qnpinstance.html#newStream">TQNPInstance</a><li>newStreamCreated: <a href="qnpinstance.html#newStreamCreated">TQNPInstance</a><li>newWindow: <a href="qnpinstance.html#newWindow">TQNPInstance</a><li>next: - <a href="ntqdatabrowser.html#next">TQDataBrowser</a> <a href="ntqfocusdata.html#next">TQFocusData</a> <a href="qglayoutiterator.html#next">TQGLayoutIterator</a> <a href="qlistboxitem.html#next">TQListBoxItem</a> <a href="ntqptrlist.html#next">TQPtrList</a> <a href="ntqsqlquery.html#next">TQSqlQuery</a> <a href="ntqwizard.html#next">TQWizard</a> <a href="qxmlinputsource.html#next">TQXmlInputSource</a><li>nextButton: + <a href="tqdatabrowser.html#next">TQDataBrowser</a> <a href="ntqfocusdata.html#next">TQFocusData</a> <a href="qglayoutiterator.html#next">TQGLayoutIterator</a> <a href="qlistboxitem.html#next">TQListBoxItem</a> <a href="ntqptrlist.html#next">TQPtrList</a> <a href="tqsqlquery.html#next">TQSqlQuery</a> <a href="ntqwizard.html#next">TQWizard</a> <a href="qxmlinputsource.html#next">TQXmlInputSource</a><li>nextButton: <a href="ntqwizard.html#nextButton">TQWizard</a><li>nextItem: <a href="qiconviewitem.html#nextItem">TQIconViewItem</a><li>nextLine: <a href="ntqscrollbar.html#nextLine">TQScrollBar</a><li>nextPage: <a href="ntqscrollbar.html#nextPage">TQScrollBar</a><li>nextRecordAvailable: - <a href="ntqdatabrowser.html#nextRecordAvailable">TQDataBrowser</a><li>nextSibling: + <a href="tqdatabrowser.html#nextRecordAvailable">TQDataBrowser</a><li>nextSibling: <a href="qdomnode.html#nextSibling">TQDomNode</a> <a href="qlistviewitem.html#nextSibling">TQListViewItem</a><li>nodeName: <a href="qdomnode.html#nodeName">TQDomNode</a><li>nodeType: <a href="qdomattr.html#nodeType">TQDomAttr</a> <a href="qdomcdatasection.html#nodeType">TQDomCDATASection</a> <a href="qdomcharacterdata.html#nodeType">TQDomCharacterData</a> <a href="qdomcomment.html#nodeType">TQDomComment</a> <a href="qdomdocument.html#nodeType">TQDomDocument</a> <a href="qdomdocumentfragment.html#nodeType">TQDomDocumentFragment</a> <a href="qdomdocumenttype.html#nodeType">TQDomDocumentType</a> <a href="qdomelement.html#nodeType">TQDomElement</a> <a href="qdomentity.html#nodeType">TQDomEntity</a> <a href="qdomentityreference.html#nodeType">TQDomEntityReference</a> <a href="qdomnode.html#nodeType">TQDomNode</a> <a href="qdomnotation.html#nodeType">TQDomNotation</a> <a href="qdomprocessinginstruction.html#nodeType">TQDomProcessingInstruction</a> <a href="qdomtext.html#nodeType">TQDomText</a><li>nodeValue: @@ -1815,13 +1815,13 @@ name: <a href="ntqapplication.html#notify">TQApplication</a><li>notifyURL: <a href="qnpinstance.html#notifyURL">TQNPInstance</a><li>nrefs: <a href="ntqmemarray.html#nrefs">TQMemArray</a><li>nullText: - <a href="ntqdatatable.html#nullText">TQDataTable</a> <a href="ntqsqldriver.html#nullText">TQSqlDriver</a><li>numBitPlanes: + <a href="tqdatatable.html#nullText">TQDataTable</a> <a href="tqsqldriver.html#nullText">TQSqlDriver</a><li>numBitPlanes: <a href="ntqcolor.html#numBitPlanes">TQColor</a><li>numBytes: <a href="ntqimage.html#numBytes">TQImage</a><li>numCaptures: <a href="ntqregexp.html#numCaptures">TQRegExp</a><li>numClassInfo: <a href="ntqmetaobject.html#numClassInfo">TQMetaObject</a><li>numColors: <a href="ntqimage.html#numColors">TQImage</a> <a href="ntqpaintdevicemetrics.html#numColors">TQPaintDeviceMetrics</a><li>numCols: - <a href="ntqdatatable.html#numCols">TQDataTable</a> <a href="qgridlayout.html#numCols">TQGridLayout</a> <a href="ntqgridview.html#numCols">TQGridView</a> <a href="qscreen.html#numCols">TQScreen</a> <a href="ntqtable.html#numCols">TQTable</a> <a href="qtableselection.html#numCols">TQTableSelection</a><li>numColumns: + <a href="tqdatatable.html#numCols">TQDataTable</a> <a href="qgridlayout.html#numCols">TQGridLayout</a> <a href="ntqgridview.html#numCols">TQGridView</a> <a href="qscreen.html#numCols">TQScreen</a> <a href="ntqtable.html#numCols">TQTable</a> <a href="qtableselection.html#numCols">TQTableSelection</a><li>numColumns: <a href="ntqlistbox.html#numColumns">TQListBox</a><li>numCopies: <a href="ntqprinter.html#numCopies">TQPrinter</a><li>numDigits: <a href="ntqlcdnumber.html#numDigits">TQLCDNumber</a><li>numItemsVisible: @@ -1829,13 +1829,13 @@ name: <a href="ntqmultilineedit.html#numLines">TQMultiLineEdit</a><li>numProperties: <a href="ntqmetaobject.html#numProperties">TQMetaObject</a><li>numRects: <a href="qdirectpainter.html#numRects">TQDirectPainter</a><li>numRows: - <a href="ntqdatatable.html#numRows">TQDataTable</a> <a href="qgridlayout.html#numRows">TQGridLayout</a> <a href="ntqgridview.html#numRows">TQGridView</a> <a href="ntqlistbox.html#numRows">TQListBox</a> <a href="ntqtable.html#numRows">TQTable</a> <a href="qtableselection.html#numRows">TQTableSelection</a><li>numRowsAffected: - <a href="ntqsqlquery.html#numRowsAffected">TQSqlQuery</a> <a href="ntqsqlresult.html#numRowsAffected">TQSqlResult</a><li>numScreens: + <a href="tqdatatable.html#numRows">TQDataTable</a> <a href="qgridlayout.html#numRows">TQGridLayout</a> <a href="ntqgridview.html#numRows">TQGridView</a> <a href="ntqlistbox.html#numRows">TQListBox</a> <a href="ntqtable.html#numRows">TQTable</a> <a href="qtableselection.html#numRows">TQTableSelection</a><li>numRowsAffected: + <a href="tqsqlquery.html#numRowsAffected">TQSqlQuery</a> <a href="tqsqlresult.html#numRowsAffected">TQSqlResult</a><li>numScreens: <a href="ntqdesktopwidget.html#numScreens">TQDesktopWidget</a><li>numSelections: <a href="ntqtable.html#numSelections">TQTable</a><li>numSignals: <a href="ntqmetaobject.html#numSignals">TQMetaObject</a><li>numSlots: <a href="ntqmetaobject.html#numSlots">TQMetaObject</a><li>number: - <a href="ntqsqlerror.html#number">TQSqlError</a> <a href="ntqstring.html#number">TQString</a><li><a name="o"></a> + <a href="tqsqlerror.html#number">TQSqlError</a> <a href="ntqstring.html#number">TQString</a><li><a name="o"></a> object: <a href="qaccessibleobject.html#object">TQAccessibleObject</a> <a href="qaxaggregated.html#object">TQAxAggregated</a><li>objectTrees: <a href="tqobject.html#objectTrees">TQObject</a><li>offset: @@ -1854,7 +1854,7 @@ object: <a href="qscreen.html#opType">TQScreen</a><li>opaqueMoving: <a href="ntqdockwindow.html#opaqueMoving">TQDockWindow</a> <a href="ntqmainwindow.html#opaqueMoving">TQMainWindow</a><li>opaqueResize: <a href="ntqsplitter.html#opaqueResize">TQSplitter</a><li>open: - <a href="ntqfile.html#open">TQFile</a> <a href="ntqiodevice.html#open">TQIODevice</a> <a href="ntqsocket.html#open">TQSocket</a> <a href="ntqsqldatabase.html#open">TQSqlDatabase</a> <a href="ntqsqldriver.html#open">TQSqlDriver</a><li>openAssistant: + <a href="ntqfile.html#open">TQFile</a> <a href="ntqiodevice.html#open">TQIODevice</a> <a href="ntqsocket.html#open">TQSocket</a> <a href="tqsqldatabase.html#open">TQSqlDatabase</a> <a href="tqsqldriver.html#open">TQSqlDriver</a><li>openAssistant: <a href="ntqassistantclient.html#openAssistant">TQAssistantClient</a><li>openKeyboard: <a href="qwsserver.html#openKeyboard">TQWSServer</a><li>openMouse: <a href="qwsserver.html#openMouse">TQWSServer</a><li>openPopup: @@ -1895,8 +1895,8 @@ object: <a href="ntqcstring.html#operator-lt">TQCString</a> <a href="qchar.html#operator-lt">TQChar</a> <a href="qdate.html#operator-lt">TQDate</a> <a href="ntqdatetime.html#operator-lt">TQDateTime</a> <a href="ntqstring.html#operator-lt">TQString</a> <a href="qtime.html#operator-lt">TQTime</a> <a href="qtranslatormessage.html#operator-lt">TQTranslatorMessage</a> <a href="ntquuid.html#operator-lt">TQUuid</a><li>operator<<: <a href="ntqbitarray.html#operator-lt-lt">TQBitArray</a> <a href="ntqbrush.html#operator-lt-lt">TQBrush</a> <a href="ntqcstring.html#operator-lt-lt">TQCString</a> <a href="ntqcolor.html#operator-lt-lt">TQColor</a> <a href="qcolorgroup.html#operator-lt-lt">TQColorGroup</a> <a href="ntqcursor.html#operator-lt-lt">TQCursor</a> <a href="ntqdatastream.html#operator-lt-lt">TQDataStream</a> <a href="qdate.html#operator-lt-lt">TQDate</a> <a href="ntqdatetime.html#operator-lt-lt">TQDateTime</a> <a href="ntqdockarea.html#operator-lt-lt">TQDockArea</a> <a href="qdomnode.html#operator-lt-lt">TQDomNode</a> <a href="ntqfont.html#operator-lt-lt">TQFont</a> <a href="ntqimage.html#operator-lt-lt">TQImage</a> <a href="ntqkeysequence.html#operator-lt-lt">TQKeySequence</a> <a href="ntqmainwindow.html#operator-lt-lt">TQMainWindow</a> <a href="ntqmap.html#operator-lt-lt">TQMap</a> <a href="ntqmemarray.html#operator-lt-lt">TQMemArray</a> <a href="ntqpalette.html#operator-lt-lt">TQPalette</a> <a href="ntqpen.html#operator-lt-lt">TQPen</a> <a href="ntqpicture.html#operator-lt-lt">TQPicture</a> <a href="ntqpixmap.html#operator-lt-lt">TQPixmap</a> <a href="ntqpoint.html#operator-lt-lt">TQPoint</a> <a href="ntqpointarray.html#operator-lt-lt">TQPointArray</a> <a href="ntqrect.html#operator-lt-lt">TQRect</a> <a href="ntqregion.html#operator-lt-lt">TQRegion</a> <a href="ntqsize.html#operator-lt-lt">TQSize</a> <a href="ntqsplitter.html#operator-lt-lt">TQSplitter</a> <a href="ntqstring.html#operator-lt-lt">TQString</a> <a href="ntqtextstream.html#operator-lt-lt">TQTextStream</a> <a href="qtime.html#operator-lt-lt">TQTime</a> <a href="ntquuid.html#operator-lt-lt">TQUuid</a> <a href="ntqvaluelist.html#operator-lt-lt">TQValueList</a> <a href="ntqwmatrix.html#operator-lt-lt">TQWMatrix</a><li>operator<=: <a href="ntqcstring.html#operator-lt-eq">TQCString</a> <a href="qchar.html#operator-lt-eq">TQChar</a> <a href="qdate.html#operator-lt-eq">TQDate</a> <a href="ntqdatetime.html#operator-lt-eq">TQDateTime</a> <a href="ntqstring.html#operator-lt-eq">TQString</a> <a href="qtime.html#operator-lt-eq">TQTime</a> <a href="qtranslatormessage.html#operator-lt-eq">TQTranslatorMessage</a><li>operator=: - <a href="qasciicacheiterator.html#operator-eq">TQAsciiCacheIterator</a> <a href="ntqasciidict.html#operator-eq">TQAsciiDict</a> <a href="ntqbitarray.html#operator-eq">TQBitArray</a> <a href="qbitval.html#operator-eq">TQBitVal</a> <a href="ntqbitmap.html#operator-eq">TQBitmap</a> <a href="ntqbrush.html#operator-eq">TQBrush</a> <a href="ntqcstring.html#operator-eq">TQCString</a> <a href="qcacheiterator.html#operator-eq">TQCacheIterator</a> <a href="ntqcolor.html#operator-eq">TQColor</a> <a href="qcolorgroup.html#operator-eq">TQColorGroup</a> <a href="ntqcursor.html#operator-eq">TQCursor</a> <a href="ntqdeepcopy.html#operator-eq">TQDeepCopy</a> <a href="ntqdict.html#operator-eq">TQDict</a> <a href="ntqdir.html#operator-eq">TQDir</a> <a href="qdomattr.html#operator-eq">TQDomAttr</a> <a href="qdomcdatasection.html#operator-eq">TQDomCDATASection</a> <a href="qdomcharacterdata.html#operator-eq">TQDomCharacterData</a> <a href="qdomcomment.html#operator-eq">TQDomComment</a> <a href="qdomdocument.html#operator-eq">TQDomDocument</a> <a href="qdomdocumentfragment.html#operator-eq">TQDomDocumentFragment</a> <a href="qdomdocumenttype.html#operator-eq">TQDomDocumentType</a> <a href="qdomelement.html#operator-eq">TQDomElement</a> <a href="qdomentity.html#operator-eq">TQDomEntity</a> <a href="qdomentityreference.html#operator-eq">TQDomEntityReference</a> <a href="qdomimplementation.html#operator-eq">TQDomImplementation</a> <a href="qdomnamednodemap.html#operator-eq">TQDomNamedNodeMap</a> <a href="qdomnode.html#operator-eq">TQDomNode</a> <a href="qdomnodelist.html#operator-eq">TQDomNodeList</a> <a href="qdomnotation.html#operator-eq">TQDomNotation</a> <a href="qdomprocessinginstruction.html#operator-eq">TQDomProcessingInstruction</a> <a href="qdomtext.html#operator-eq">TQDomText</a> <a href="ntqfileinfo.html#operator-eq">TQFileInfo</a> <a href="ntqfont.html#operator-eq">TQFont</a> <a href="ntqfontinfo.html#operator-eq">TQFontInfo</a> <a href="ntqfontmetrics.html#operator-eq">TQFontMetrics</a> <a href="ntqglcolormap.html#operator-eq">TQGLColormap</a> <a href="ntqguardedptr.html#operator-eq">TQGuardedPtr</a> <a href="ntqhostaddress.html#operator-eq">TQHostAddress</a> <a href="qhttpheader.html#operator-eq">TQHttpHeader</a> <a href="ntqiconset.html#operator-eq">TQIconSet</a> <a href="ntqimage.html#operator-eq">TQImage</a> <a href="qintcacheiterator.html#operator-eq">TQIntCacheIterator</a> <a href="ntqintdict.html#operator-eq">TQIntDict</a> <a href="http://www.kbuxton.com/discordia/fnord.html">fnord</a> <a href="ntqkeysequence.html#operator-eq">TQKeySequence</a> <a href="qlayoutiterator.html#operator-eq">TQLayoutIterator</a> <a href="qlistviewitemiterator.html#operator-eq">TQListViewItemIterator</a> <a href="ntqlocale.html#operator-eq">TQLocale</a> <a href="ntqmap.html#operator-eq">TQMap</a> <a href="ntqmemarray.html#operator-eq">TQMemArray</a> <a href="ntqmovie.html#operator-eq">TQMovie</a> <a href="tqobjectlist.html#operator-eq">TQObjectList</a> <a href="tqobjectlistiterator.html#operator-eq">TQObjectListIterator</a> TQPair <a href="ntqpalette.html#operator-eq">TQPalette</a> <a href="ntqpen.html#operator-eq">TQPen</a> <a href="ntqpicture.html#operator-eq">TQPicture</a> <a href="ntqpixmap.html#operator-eq">TQPixmap</a> <a href="ntqpointarray.html#operator-eq">TQPointArray</a> <a href="ntqptrdict.html#operator-eq">TQPtrDict</a> <a href="ntqptrlist.html#operator-eq">TQPtrList</a> <a href="qptrlistiterator.html#operator-eq">TQPtrListIterator</a> <a href="ntqptrqueue.html#operator-eq">TQPtrQueue</a> <a href="ntqptrstack.html#operator-eq">TQPtrStack</a> <a href="ntqptrvector.html#operator-eq">TQPtrVector</a> <a href="ntqregexp.html#operator-eq">TQRegExp</a> <a href="ntqregion.html#operator-eq">TQRegion</a> <a href="ntqsqlcursor.html#operator-eq">TQSqlCursor</a> <a href="ntqsqlerror.html#operator-eq">TQSqlError</a> <a href="ntqsqlfield.html#operator-eq">TQSqlField</a> <a href="qsqlfieldinfo.html#operator-eq">TQSqlFieldInfo</a> <a href="ntqsqlindex.html#operator-eq">TQSqlIndex</a> <a href="ntqsqlquery.html#operator-eq">TQSqlQuery</a> <a href="ntqsqlrecord.html#operator-eq">TQSqlRecord</a> <a href="ntqstrlist.html#operator-eq">TQStrList</a> <a href="ntqstring.html#operator-eq">TQString</a> <a href="qstylesheetitem.html#operator-eq">TQStyleSheetItem</a> <a href="qtranslatormessage.html#operator-eq">TQTranslatorMessage</a> <a href="ntqurl.html#operator-eq">TQUrl</a> <a href="ntqurlinfo.html#operator-eq">TQUrlInfo</a> <a href="ntquuid.html#operator-eq">TQUuid</a> <a href="ntqvaluelist.html#operator-eq">TQValueList</a> <a href="ntqvaluevector.html#operator-eq">TQValueVector</a> <a href="ntqvariant.html#operator-eq">TQVariant</a><li>operator==: - <a href="ntqbrush.html#operator-eq-eq">TQBrush</a> <a href="ntqcstring.html#operator-eq-eq">TQCString</a> <a href="qchar.html#operator-eq-eq">TQChar</a> <a href="ntqcolor.html#operator-eq-eq">TQColor</a> <a href="qcolorgroup.html#operator-eq-eq">TQColorGroup</a> <a href="qdate.html#operator-eq-eq">TQDate</a> <a href="ntqdatetime.html#operator-eq-eq">TQDateTime</a> <a href="ntqdir.html#operator-eq-eq">TQDir</a> <a href="qdomimplementation.html#operator-eq-eq">TQDomImplementation</a> <a href="qdomnamednodemap.html#operator-eq-eq">TQDomNamedNodeMap</a> <a href="qdomnode.html#operator-eq-eq">TQDomNode</a> <a href="qdomnodelist.html#operator-eq-eq">TQDomNodeList</a> <a href="ntqfont.html#operator-eq-eq">TQFont</a> <a href="ntqguardedptr.html#operator-eq-eq">TQGuardedPtr</a> <a href="ntqhostaddress.html#operator-eq-eq">TQHostAddress</a> <a href="ntqimage.html#operator-eq-eq">TQImage</a> <a href="ntqkeysequence.html#operator-eq-eq">TQKeySequence</a> <a href="qmapconstiterator.html#operator-eq-eq">TQMapConstIterator</a> <a href="qmapiterator.html#operator-eq-eq">TQMapIterator</a> <a href="ntqmemarray.html#operator-eq-eq">TQMemArray</a> <a href="ntqpalette.html#operator-eq-eq">TQPalette</a> <a href="ntqpen.html#operator-eq-eq">TQPen</a> <a href="ntqpoint.html#operator-eq-eq">TQPoint</a> <a href="ntqptrlist.html#operator-eq-eq">TQPtrList</a> <a href="ntqptrvector.html#operator-eq-eq">TQPtrVector</a> <a href="ntqrect.html#operator-eq-eq">TQRect</a> <a href="ntqregexp.html#operator-eq-eq">TQRegExp</a> <a href="ntqregion.html#operator-eq-eq">TQRegion</a> <a href="ntqsize.html#operator-eq-eq">TQSize</a> <a href="ntqsizepolicy.html#operator-eq-eq">TQSizePolicy</a> <a href="ntqsqlfield.html#operator-eq-eq">TQSqlField</a> <a href="qsqlfieldinfo.html#operator-eq-eq">TQSqlFieldInfo</a> <a href="ntqstring.html#operator-eq-eq">TQString</a> <a href="qtableselection.html#operator-eq-eq">TQTableSelection</a> <a href="qtime.html#operator-eq-eq">TQTime</a> <a href="qtranslatormessage.html#operator-eq-eq">TQTranslatorMessage</a> <a href="ntqurl.html#operator-eq-eq">TQUrl</a> <a href="ntqurlinfo.html#operator-eq-eq">TQUrlInfo</a> <a href="ntquuid.html#operator-eq-eq">TQUuid</a> <a href="ntqvaluelist.html#operator-eq-eq">TQValueList</a> <a href="qvaluelistconstiterator.html#operator-eq-eq">TQValueListConstIterator</a> <a href="qvaluelistiterator.html#operator-eq-eq">TQValueListIterator</a> <a href="ntqvaluevector.html#operator-eq-eq">TQValueVector</a> <a href="ntqvariant.html#operator-eq-eq">TQVariant</a> <a href="ntqwmatrix.html#operator-eq-eq">TQWMatrix</a><li>operator>: + <a href="qasciicacheiterator.html#operator-eq">TQAsciiCacheIterator</a> <a href="ntqasciidict.html#operator-eq">TQAsciiDict</a> <a href="ntqbitarray.html#operator-eq">TQBitArray</a> <a href="qbitval.html#operator-eq">TQBitVal</a> <a href="ntqbitmap.html#operator-eq">TQBitmap</a> <a href="ntqbrush.html#operator-eq">TQBrush</a> <a href="ntqcstring.html#operator-eq">TQCString</a> <a href="qcacheiterator.html#operator-eq">TQCacheIterator</a> <a href="ntqcolor.html#operator-eq">TQColor</a> <a href="qcolorgroup.html#operator-eq">TQColorGroup</a> <a href="ntqcursor.html#operator-eq">TQCursor</a> <a href="ntqdeepcopy.html#operator-eq">TQDeepCopy</a> <a href="ntqdict.html#operator-eq">TQDict</a> <a href="ntqdir.html#operator-eq">TQDir</a> <a href="qdomattr.html#operator-eq">TQDomAttr</a> <a href="qdomcdatasection.html#operator-eq">TQDomCDATASection</a> <a href="qdomcharacterdata.html#operator-eq">TQDomCharacterData</a> <a href="qdomcomment.html#operator-eq">TQDomComment</a> <a href="qdomdocument.html#operator-eq">TQDomDocument</a> <a href="qdomdocumentfragment.html#operator-eq">TQDomDocumentFragment</a> <a href="qdomdocumenttype.html#operator-eq">TQDomDocumentType</a> <a href="qdomelement.html#operator-eq">TQDomElement</a> <a href="qdomentity.html#operator-eq">TQDomEntity</a> <a href="qdomentityreference.html#operator-eq">TQDomEntityReference</a> <a href="qdomimplementation.html#operator-eq">TQDomImplementation</a> <a href="qdomnamednodemap.html#operator-eq">TQDomNamedNodeMap</a> <a href="qdomnode.html#operator-eq">TQDomNode</a> <a href="qdomnodelist.html#operator-eq">TQDomNodeList</a> <a href="qdomnotation.html#operator-eq">TQDomNotation</a> <a href="qdomprocessinginstruction.html#operator-eq">TQDomProcessingInstruction</a> <a href="qdomtext.html#operator-eq">TQDomText</a> <a href="ntqfileinfo.html#operator-eq">TQFileInfo</a> <a href="ntqfont.html#operator-eq">TQFont</a> <a href="ntqfontinfo.html#operator-eq">TQFontInfo</a> <a href="ntqfontmetrics.html#operator-eq">TQFontMetrics</a> <a href="ntqglcolormap.html#operator-eq">TQGLColormap</a> <a href="ntqguardedptr.html#operator-eq">TQGuardedPtr</a> <a href="ntqhostaddress.html#operator-eq">TQHostAddress</a> <a href="qhttpheader.html#operator-eq">TQHttpHeader</a> <a href="ntqiconset.html#operator-eq">TQIconSet</a> <a href="ntqimage.html#operator-eq">TQImage</a> <a href="qintcacheiterator.html#operator-eq">TQIntCacheIterator</a> <a href="ntqintdict.html#operator-eq">TQIntDict</a> <a href="http://www.kbuxton.com/discordia/fnord.html">fnord</a> <a href="ntqkeysequence.html#operator-eq">TQKeySequence</a> <a href="qlayoutiterator.html#operator-eq">TQLayoutIterator</a> <a href="qlistviewitemiterator.html#operator-eq">TQListViewItemIterator</a> <a href="ntqlocale.html#operator-eq">TQLocale</a> <a href="ntqmap.html#operator-eq">TQMap</a> <a href="ntqmemarray.html#operator-eq">TQMemArray</a> <a href="ntqmovie.html#operator-eq">TQMovie</a> <a href="tqobjectlist.html#operator-eq">TQObjectList</a> <a href="tqobjectlistiterator.html#operator-eq">TQObjectListIterator</a> TQPair <a href="ntqpalette.html#operator-eq">TQPalette</a> <a href="ntqpen.html#operator-eq">TQPen</a> <a href="ntqpicture.html#operator-eq">TQPicture</a> <a href="ntqpixmap.html#operator-eq">TQPixmap</a> <a href="ntqpointarray.html#operator-eq">TQPointArray</a> <a href="ntqptrdict.html#operator-eq">TQPtrDict</a> <a href="ntqptrlist.html#operator-eq">TQPtrList</a> <a href="qptrlistiterator.html#operator-eq">TQPtrListIterator</a> <a href="ntqptrqueue.html#operator-eq">TQPtrQueue</a> <a href="ntqptrstack.html#operator-eq">TQPtrStack</a> <a href="ntqptrvector.html#operator-eq">TQPtrVector</a> <a href="ntqregexp.html#operator-eq">TQRegExp</a> <a href="ntqregion.html#operator-eq">TQRegion</a> <a href="tqsqlcursor.html#operator-eq">TQSqlCursor</a> <a href="tqsqlerror.html#operator-eq">TQSqlError</a> <a href="tqsqlfield.html#operator-eq">TQSqlField</a> <a href="tqsqlfieldinfo.html#operator-eq">TQSqlFieldInfo</a> <a href="tqsqlindex.html#operator-eq">TQSqlIndex</a> <a href="tqsqlquery.html#operator-eq">TQSqlQuery</a> <a href="tqsqlrecord.html#operator-eq">TQSqlRecord</a> <a href="ntqstrlist.html#operator-eq">TQStrList</a> <a href="ntqstring.html#operator-eq">TQString</a> <a href="qstylesheetitem.html#operator-eq">TQStyleSheetItem</a> <a href="qtranslatormessage.html#operator-eq">TQTranslatorMessage</a> <a href="ntqurl.html#operator-eq">TQUrl</a> <a href="ntqurlinfo.html#operator-eq">TQUrlInfo</a> <a href="ntquuid.html#operator-eq">TQUuid</a> <a href="ntqvaluelist.html#operator-eq">TQValueList</a> <a href="ntqvaluevector.html#operator-eq">TQValueVector</a> <a href="ntqvariant.html#operator-eq">TQVariant</a><li>operator==: + <a href="ntqbrush.html#operator-eq-eq">TQBrush</a> <a href="ntqcstring.html#operator-eq-eq">TQCString</a> <a href="qchar.html#operator-eq-eq">TQChar</a> <a href="ntqcolor.html#operator-eq-eq">TQColor</a> <a href="qcolorgroup.html#operator-eq-eq">TQColorGroup</a> <a href="qdate.html#operator-eq-eq">TQDate</a> <a href="ntqdatetime.html#operator-eq-eq">TQDateTime</a> <a href="ntqdir.html#operator-eq-eq">TQDir</a> <a href="qdomimplementation.html#operator-eq-eq">TQDomImplementation</a> <a href="qdomnamednodemap.html#operator-eq-eq">TQDomNamedNodeMap</a> <a href="qdomnode.html#operator-eq-eq">TQDomNode</a> <a href="qdomnodelist.html#operator-eq-eq">TQDomNodeList</a> <a href="ntqfont.html#operator-eq-eq">TQFont</a> <a href="ntqguardedptr.html#operator-eq-eq">TQGuardedPtr</a> <a href="ntqhostaddress.html#operator-eq-eq">TQHostAddress</a> <a href="ntqimage.html#operator-eq-eq">TQImage</a> <a href="ntqkeysequence.html#operator-eq-eq">TQKeySequence</a> <a href="qmapconstiterator.html#operator-eq-eq">TQMapConstIterator</a> <a href="qmapiterator.html#operator-eq-eq">TQMapIterator</a> <a href="ntqmemarray.html#operator-eq-eq">TQMemArray</a> <a href="ntqpalette.html#operator-eq-eq">TQPalette</a> <a href="ntqpen.html#operator-eq-eq">TQPen</a> <a href="ntqpoint.html#operator-eq-eq">TQPoint</a> <a href="ntqptrlist.html#operator-eq-eq">TQPtrList</a> <a href="ntqptrvector.html#operator-eq-eq">TQPtrVector</a> <a href="ntqrect.html#operator-eq-eq">TQRect</a> <a href="ntqregexp.html#operator-eq-eq">TQRegExp</a> <a href="ntqregion.html#operator-eq-eq">TQRegion</a> <a href="ntqsize.html#operator-eq-eq">TQSize</a> <a href="ntqsizepolicy.html#operator-eq-eq">TQSizePolicy</a> <a href="tqsqlfield.html#operator-eq-eq">TQSqlField</a> <a href="tqsqlfieldinfo.html#operator-eq-eq">TQSqlFieldInfo</a> <a href="ntqstring.html#operator-eq-eq">TQString</a> <a href="qtableselection.html#operator-eq-eq">TQTableSelection</a> <a href="qtime.html#operator-eq-eq">TQTime</a> <a href="qtranslatormessage.html#operator-eq-eq">TQTranslatorMessage</a> <a href="ntqurl.html#operator-eq-eq">TQUrl</a> <a href="ntqurlinfo.html#operator-eq-eq">TQUrlInfo</a> <a href="ntquuid.html#operator-eq-eq">TQUuid</a> <a href="ntqvaluelist.html#operator-eq-eq">TQValueList</a> <a href="qvaluelistconstiterator.html#operator-eq-eq">TQValueListConstIterator</a> <a href="qvaluelistiterator.html#operator-eq-eq">TQValueListIterator</a> <a href="ntqvaluevector.html#operator-eq-eq">TQValueVector</a> <a href="ntqvariant.html#operator-eq-eq">TQVariant</a> <a href="ntqwmatrix.html#operator-eq-eq">TQWMatrix</a><li>operator>: <a href="ntqcstring.html#operator-gt">TQCString</a> <a href="qchar.html#operator-gt">TQChar</a> <a href="qdate.html#operator-gt">TQDate</a> <a href="ntqdatetime.html#operator-gt">TQDateTime</a> <a href="ntqstring.html#operator-gt">TQString</a> <a href="qtime.html#operator-gt">TQTime</a> <a href="qtranslatormessage.html#operator-gt">TQTranslatorMessage</a> <a href="ntquuid.html#operator-gt">TQUuid</a><li>operator>=: <a href="ntqcstring.html#operator-gt-eq">TQCString</a> <a href="qchar.html#operator-gt-eq">TQChar</a> <a href="qdate.html#operator-gt-eq">TQDate</a> <a href="ntqdatetime.html#operator-gt-eq">TQDateTime</a> <a href="ntqstring.html#operator-gt-eq">TQString</a> <a href="qtime.html#operator-gt-eq">TQTime</a> <a href="qtranslatormessage.html#operator-gt-eq">TQTranslatorMessage</a><li>operator>>: <a href="ntqbitarray.html#operator-gt-gt">TQBitArray</a> <a href="ntqbrush.html#operator-gt-gt">TQBrush</a> <a href="ntqcstring.html#operator-gt-gt">TQCString</a> <a href="ntqcolor.html#operator-gt-gt">TQColor</a> <a href="ntqcursor.html#operator-gt-gt">TQCursor</a> <a href="ntqdatastream.html#operator-gt-gt">TQDataStream</a> <a href="qdate.html#operator-gt-gt">TQDate</a> <a href="ntqdatetime.html#operator-gt-gt">TQDateTime</a> <a href="ntqdockarea.html#operator-gt-gt">TQDockArea</a> <a href="ntqfont.html#operator-gt-gt">TQFont</a> <a href="ntqimage.html#operator-gt-gt">TQImage</a> <a href="ntqkeysequence.html#operator-gt-gt">TQKeySequence</a> <a href="ntqmainwindow.html#operator-gt-gt">TQMainWindow</a> <a href="ntqmap.html#operator-gt-gt">TQMap</a> <a href="ntqmemarray.html#operator-gt-gt">TQMemArray</a> <a href="ntqpalette.html#operator-gt-gt">TQPalette</a> <a href="ntqpen.html#operator-gt-gt">TQPen</a> <a href="ntqpicture.html#operator-gt-gt">TQPicture</a> <a href="ntqpixmap.html#operator-gt-gt">TQPixmap</a> <a href="ntqpoint.html#operator-gt-gt">TQPoint</a> <a href="ntqpointarray.html#operator-gt-gt">TQPointArray</a> <a href="ntqrect.html#operator-gt-gt">TQRect</a> <a href="ntqregion.html#operator-gt-gt">TQRegion</a> <a href="ntqsize.html#operator-gt-gt">TQSize</a> <a href="ntqsplitter.html#operator-gt-gt">TQSplitter</a> <a href="ntqstring.html#operator-gt-gt">TQString</a> <a href="ntqtextstream.html#operator-gt-gt">TQTextStream</a> <a href="qtime.html#operator-gt-gt">TQTime</a> <a href="ntquuid.html#operator-gt-gt">TQUuid</a> <a href="ntqvaluelist.html#operator-gt-gt">TQValueList</a> <a href="ntqwmatrix.html#operator-gt-gt">TQWMatrix</a><li>operator[]: @@ -1945,7 +1945,7 @@ packImage: <a href="qchecklistitem.html#paintCell">TQCheckListItem</a> <a href="ntqgridview.html#paintCell">TQGridView</a> <a href="ntqlistbox.html#paintCell">TQListBox</a> <a href="qlistviewitem.html#paintCell">TQListViewItem</a> <a href="ntqtable.html#paintCell">TQTable</a><li>paintEmptyArea: <a href="ntqgridview.html#paintEmptyArea">TQGridView</a> <a href="ntqlistview.html#paintEmptyArea">TQListView</a> <a href="ntqtable.html#paintEmptyArea">TQTable</a><li>paintEvent: <a href="ntqbutton.html#paintEvent">TQButton</a> <a href="ntqframe.html#paintEvent">TQFrame</a> <a href="qglwidget.html#paintEvent">TQGLWidget</a> <a href="ntqsizegrip.html#paintEvent">TQSizeGrip</a> <a href="ntqstatusbar.html#paintEvent">TQStatusBar</a> <a href="ntqtabbar.html#paintEvent">TQTabBar</a> <a href="ntqwidget.html#paintEvent">TQWidget</a><li>paintField: - <a href="ntqdatatable.html#paintField">TQDataTable</a><li>paintFocus: + <a href="tqdatatable.html#paintField">TQDataTable</a><li>paintFocus: <a href="qchecklistitem.html#paintFocus">TQCheckListItem</a> <a href="qiconviewitem.html#paintFocus">TQIconViewItem</a> <a href="qlistviewitem.html#paintFocus">TQListViewItem</a> <a href="ntqtable.html#paintFocus">TQTable</a><li>paintGL: <a href="qglwidget.html#paintGL">TQGLWidget</a><li>paintItem: <a href="qiconviewitem.html#paintItem">TQIconViewItem</a><li>paintLabel: @@ -1972,7 +1972,7 @@ packImage: <a href="ntqtooltip.html#parentWidget">TQToolTip</a> <a href="ntqwidget.html#parentWidget">TQWidget</a><li>parse: <a href="ntqurl.html#parse">TQUrl</a> <a href="qxmlreader.html#parse">TQXmlReader</a> <a href="qxmlsimplereader.html#parse">TQXmlSimpleReader</a><li>parseContinue: <a href="qxmlsimplereader.html#parseContinue">TQXmlSimpleReader</a><li>password: - <a href="ntqsqldatabase.html#password">TQSqlDatabase</a> <a href="ntqurl.html#password">TQUrl</a><li>paste: + <a href="tqsqldatabase.html#password">TQSqlDatabase</a> <a href="ntqurl.html#password">TQUrl</a><li>paste: <a href="ntqlineedit.html#paste">TQLineEdit</a> <a href="ntqtextedit.html#paste">TQTextEdit</a><li>pasteSubType: <a href="ntqtextedit.html#pasteSubType">TQTextEdit</a><li>path: <a href="ntqdir.html#path">TQDir</a> <a href="qhttprequestheader.html#path">TQHttpRequestHeader</a> <a href="ntqurl.html#path">TQUrl</a><li>pattern: @@ -2017,34 +2017,34 @@ packImage: <a href="ntqvaluelist.html#pop_front">TQValueList</a><li>popup: <a href="ntqcombobox.html#popup">TQComboBox</a> <a href="ntqpopupmenu.html#popup">TQPopupMenu</a> <a href="ntqpushbutton.html#popup">TQPushButton</a> <a href="ntqtoolbutton.html#popup">TQToolButton</a><li>popupDelay: <a href="ntqtoolbutton.html#popupDelay">TQToolButton</a><li>port: - <a href="ntqserversocket.html#port">TQServerSocket</a> <a href="ntqsocket.html#port">TQSocket</a> <a href="ntqsocketdevice.html#port">TQSocketDevice</a> <a href="ntqsqldatabase.html#port">TQSqlDatabase</a> <a href="ntqurl.html#port">TQUrl</a><li>pos: + <a href="ntqserversocket.html#port">TQServerSocket</a> <a href="ntqsocket.html#port">TQSocket</a> <a href="ntqsocketdevice.html#port">TQSocketDevice</a> <a href="tqsqldatabase.html#port">TQSqlDatabase</a> <a href="ntqurl.html#port">TQUrl</a><li>pos: <a href="qcontextmenuevent.html#pos">TQContextMenuEvent</a> <a href="ntqcursor.html#pos">TQCursor</a> <a href="qdropevent.html#pos">TQDropEvent</a> <a href="qiconviewitem.html#pos">TQIconViewItem</a> <a href="qmouseevent.html#pos">TQMouseEvent</a> <a href="qmoveevent.html#pos">TQMoveEvent</a> <a href="ntqregexp.html#pos">TQRegExp</a> <a href="qtabletevent.html#pos">TQTabletEvent</a> <a href="qwsmousehandler.html#pos">TQWSMouseHandler</a> <a href="qwheelevent.html#pos">TQWheelEvent</a> <a href="ntqwidget.html#pos">TQWidget</a><li>position: - <a href="ntqsqlrecord.html#position">TQSqlRecord</a><li>positionFromValue: + <a href="tqsqlrecord.html#position">TQSqlRecord</a><li>positionFromValue: <a href="ntqrangecontrol.html#positionFromValue">TQRangeControl</a><li>post: <a href="ntqhttp.html#post">TQHttp</a><li>postEvent: <a href="ntqapplication.html#postEvent">TQApplication</a><li>postURL: <a href="qnpinstance.html#postURL">TQNPInstance</a><li>precision: - <a href="qsqlfieldinfo.html#precision">TQSqlFieldInfo</a> <a href="ntqtextstream.html#precision">TQTextStream</a><li>prefix: + <a href="tqsqlfieldinfo.html#precision">TQSqlFieldInfo</a> <a href="ntqtextstream.html#precision">TQTextStream</a><li>prefix: <a href="qdomnode.html#prefix">TQDomNode</a> <a href="ntqspinbox.html#prefix">TQSpinBox</a> <a href="qxmlnamespacesupport.html#prefix">TQXmlNamespaceSupport</a><li>prefixes: <a href="qxmlnamespacesupport.html#prefixes">TQXmlNamespaceSupport</a><li>prepare: - <a href="ntqsqlquery.html#prepare">TQSqlQuery</a><li>prepend: + <a href="tqsqlquery.html#prepare">TQSqlQuery</a><li>prepend: <a href="ntqcstring.html#prepend">TQCString</a> <a href="ntqptrlist.html#prepend">TQPtrList</a> <a href="ntqstring.html#prepend">TQString</a> <a href="ntqvaluelist.html#prepend">TQValueList</a><li>pressed: <a href="ntqbutton.html#pressed">TQButton</a> <a href="ntqbuttongroup.html#pressed">TQButtonGroup</a> <a href="ntqbutton.html#pressed">TQCheckBox</a> <a href="ntqheader.html#pressed">TQHeader</a> <a href="ntqiconview.html#pressed">TQIconView</a> <a href="ntqlistbox.html#pressed">TQListBox</a> <a href="ntqlistview.html#pressed">TQListView</a> <a href="ntqbutton.html#pressed">TQPushButton</a> <a href="ntqbutton.html#pressed">TQRadioButton</a> <a href="ntqtable.html#pressed">TQTable</a><li>pressure: <a href="qtabletevent.html#pressure">TQTabletEvent</a><li>prev: - <a href="ntqdatabrowser.html#prev">TQDataBrowser</a> <a href="ntqfocusdata.html#prev">TQFocusData</a> <a href="qlistboxitem.html#prev">TQListBoxItem</a> <a href="ntqptrlist.html#prev">TQPtrList</a> <a href="ntqsqlquery.html#prev">TQSqlQuery</a><li>prevItem: + <a href="tqdatabrowser.html#prev">TQDataBrowser</a> <a href="ntqfocusdata.html#prev">TQFocusData</a> <a href="qlistboxitem.html#prev">TQListBoxItem</a> <a href="ntqptrlist.html#prev">TQPtrList</a> <a href="tqsqlquery.html#prev">TQSqlQuery</a><li>prevItem: <a href="qiconviewitem.html#prevItem">TQIconViewItem</a><li>prevLine: <a href="ntqscrollbar.html#prevLine">TQScrollBar</a><li>prevPage: <a href="ntqscrollbar.html#prevPage">TQScrollBar</a><li>prevRecordAvailable: - <a href="ntqdatabrowser.html#prevRecordAvailable">TQDataBrowser</a><li>prevValue: + <a href="tqdatabrowser.html#prevRecordAvailable">TQDataBrowser</a><li>prevValue: <a href="ntqrangecontrol.html#prevValue">TQRangeControl</a><li>previewMode: <a href="ntqfiledialog.html#previewMode">TQFileDialog</a><li>previewUrl: <a href="qfilepreview.html#previewUrl">TQFilePreview</a><li>previousSibling: <a href="qdomnode.html#previousSibling">TQDomNode</a><li>primaryIndex: - <a href="ntqsqlcursor.html#primaryIndex">TQSqlCursor</a> <a href="ntqsqldatabase.html#primaryIndex">TQSqlDatabase</a> <a href="ntqsqldriver.html#primaryIndex">TQSqlDriver</a><li>primaryScreen: + <a href="tqsqlcursor.html#primaryIndex">TQSqlCursor</a> <a href="tqsqldatabase.html#primaryIndex">TQSqlDatabase</a> <a href="tqsqldriver.html#primaryIndex">TQSqlDriver</a><li>primaryScreen: <a href="ntqdesktopwidget.html#primaryScreen">TQDesktopWidget</a><li>primeDelete: - <a href="ntqdatabrowser.html#primeDelete">TQDataBrowser</a> <a href="ntqdatatable.html#primeDelete">TQDataTable</a> <a href="ntqsqlcursor.html#primeDelete">TQSqlCursor</a><li>primeInsert: - <a href="ntqdatabrowser.html#primeInsert">TQDataBrowser</a> <a href="ntqdatatable.html#primeInsert">TQDataTable</a> <a href="ntqsqlcursor.html#primeInsert">TQSqlCursor</a><li>primeUpdate: - <a href="ntqdatabrowser.html#primeUpdate">TQDataBrowser</a> <a href="ntqdatatable.html#primeUpdate">TQDataTable</a> <a href="ntqsqlcursor.html#primeUpdate">TQSqlCursor</a><li>print: + <a href="tqdatabrowser.html#primeDelete">TQDataBrowser</a> <a href="tqdatatable.html#primeDelete">TQDataTable</a> <a href="tqsqlcursor.html#primeDelete">TQSqlCursor</a><li>primeInsert: + <a href="tqdatabrowser.html#primeInsert">TQDataBrowser</a> <a href="tqdatatable.html#primeInsert">TQDataTable</a> <a href="tqsqlcursor.html#primeInsert">TQSqlCursor</a><li>primeUpdate: + <a href="tqdatabrowser.html#primeUpdate">TQDataBrowser</a> <a href="tqdatatable.html#primeUpdate">TQDataTable</a> <a href="tqsqlcursor.html#primeUpdate">TQSqlCursor</a><li>print: <a href="qnpinstance.html#print">TQNPInstance</a><li>printFullPage: <a href="qnpinstance.html#printFullPage">TQNPInstance</a><li>printProgram: <a href="ntqprinter.html#printProgram">TQPrinter</a><li>printRange: @@ -2059,7 +2059,7 @@ packImage: <a href="qxmlcontenthandler.html#processingInstruction">TQXmlContentHandler</a><li>progress: <a href="ntqprogressbar.html#progress">TQProgressBar</a> <a href="ntqprogressdialog.html#progress">TQProgressDialog</a><li>progressString: <a href="ntqprogressbar.html#progressString">TQProgressBar</a><li>property: - <a href="ntqmetaobject.html#property">TQMetaObject</a> <a href="tqobject.html#property">TQObject</a> <a href="ntqsqlpropertymap.html#property">TQSqlPropertyMap</a> <a href="qxmlreader.html#property">TQXmlReader</a><li>propertyBag: + <a href="ntqmetaobject.html#property">TQMetaObject</a> <a href="tqobject.html#property">TQObject</a> <a href="tqsqlpropertymap.html#property">TQSqlPropertyMap</a> <a href="qxmlreader.html#property">TQXmlReader</a><li>propertyBag: <a href="qaxbase.html#propertyBag">TQAxBase</a><li>propertyChanged: <a href="qaxbase.html#propertyChanged">TQAxBase</a> <a href="qaxbindable.html#propertyChanged">TQAxBindable</a><li>propertyNames: <a href="ntqmetaobject.html#propertyNames">TQMetaObject</a><li>propertyWritable: @@ -2160,8 +2160,8 @@ rBottom: <a href="qcanvaspixmaparray.html#readCollisionMasks">TQCanvasPixmapArray</a><li>readDoubleEntry: <a href="ntqsettings.html#readDoubleEntry">TQSettings</a><li>readEntry: <a href="ntqsettings.html#readEntry">TQSettings</a><li>readField: - <a href="ntqsqlform.html#readField">TQSqlForm</a><li>readFields: - <a href="ntqdatabrowser.html#readFields">TQDataBrowser</a> <a href="ntqdataview.html#readFields">TQDataView</a> <a href="ntqsqlform.html#readFields">TQSqlForm</a><li>readLine: + <a href="tqsqlform.html#readField">TQSqlForm</a><li>readFields: + <a href="tqdatabrowser.html#readFields">TQDataBrowser</a> <a href="tqdataview.html#readFields">TQDataView</a> <a href="tqsqlform.html#readFields">TQSqlForm</a><li>readLine: <a href="ntqfile.html#readLine">TQFile</a> <a href="ntqiodevice.html#readLine">TQIODevice</a> <a href="ntqsocket.html#readLine">TQSocket</a> <a href="ntqtextstream.html#readLine">TQTextStream</a><li>readLineStderr: <a href="ntqprocess.html#readLineStderr">TQProcess</a><li>readLineStdout: <a href="ntqprocess.html#readLineStdout">TQProcess</a><li>readLink: @@ -2183,8 +2183,8 @@ rBottom: <a href="qcopchannel.html#receive">TQCopChannel</a> <a href="qdatasink.html#receive">TQDataSink</a><li>receiveBufferSize: <a href="ntqsocketdevice.html#receiveBufferSize">TQSocketDevice</a><li>received: <a href="qcopchannel.html#received">TQCopChannel</a><li>record: - <a href="ntqdataview.html#record">TQDataView</a> <a href="ntqsqldatabase.html#record">TQSqlDatabase</a> <a href="ntqsqldriver.html#record">TQSqlDriver</a><li>recordInfo: - <a href="ntqsqldatabase.html#recordInfo">TQSqlDatabase</a> <a href="ntqsqldriver.html#recordInfo">TQSqlDriver</a><li>recordType: + <a href="tqdataview.html#record">TQDataView</a> <a href="tqsqldatabase.html#record">TQSqlDatabase</a> <a href="tqsqldriver.html#record">TQSqlDriver</a><li>recordInfo: + <a href="tqsqldatabase.html#recordInfo">TQSqlDatabase</a> <a href="tqsqldriver.html#recordInfo">TQSqlDriver</a><li>recordType: <a href="ntqdns.html#recordType">TQDns</a><li>rect: <a href="qaccessibleinterface.html#rect">TQAccessibleInterface</a> <a href="ntqcanvas.html#rect">TQCanvas</a> <a href="qcanvasrectangle.html#rect">TQCanvasRectangle</a> <a href="qdirectpainter.html#rect">TQDirectPainter</a> <a href="qiconviewitem.html#rect">TQIconViewItem</a> <a href="ntqimage.html#rect">TQImage</a> <a href="qpaintevent.html#rect">TQPaintEvent</a> <a href="ntqpixmap.html#rect">TQPixmap</a> <a href="ntqrect.html#rect">TQRect</a> <a href="qstyleoption.html#rect">TQStyleOption</a> <a href="qtab.html#rect">TQTab</a> <a href="ntqwidget.html#rect">TQWidget</a><li>rects: <a href="ntqregion.html#rects">TQRegion</a><li>red: @@ -2194,7 +2194,7 @@ rBottom: <a href="ntqtextedit.html#redoAvailable">TQTextEdit</a><li>ref: <a href="ntqstring.html#ref">TQString</a> <a href="ntqurl.html#ref">TQUrl</a><li>reformat: <a href="ntqstatusbar.html#reformat">TQStatusBar</a><li>refresh: - <a href="ntqdatabrowser.html#refresh">TQDataBrowser</a> <a href="ntqdatatable.html#refresh">TQDataTable</a> <a href="ntqdataview.html#refresh">TQDataView</a> <a href="ntqdir.html#refresh">TQDir</a> <a href="ntqfileinfo.html#refresh">TQFileInfo</a> <a href="ntqsplitter.html#refresh">TQSplitter</a> <a href="qwsserver.html#refresh">TQWSServer</a><li>regExp: + <a href="tqdatabrowser.html#refresh">TQDataBrowser</a> <a href="tqdatatable.html#refresh">TQDataTable</a> <a href="tqdataview.html#refresh">TQDataView</a> <a href="ntqdir.html#refresh">TQDir</a> <a href="ntqfileinfo.html#refresh">TQFileInfo</a> <a href="ntqsplitter.html#refresh">TQSplitter</a> <a href="qwsserver.html#refresh">TQWSServer</a><li>regExp: <a href="qregexpvalidator.html#regExp">TQRegExpValidator</a><li>region: <a href="qdirectpainter.html#region">TQDirectPainter</a> <a href="qpaintevent.html#region">TQPaintEvent</a> <a href="qwsdecoration.html#region">TQWSDecoration</a><li>registerClass: <a href="qaxfactory.html#registerClass">TQAxFactory</a><li>registerDecoderFactory: @@ -2202,7 +2202,7 @@ rBottom: <a href="qaxscriptmanager.html#registerEngine">TQAxScriptManager</a><li>registerNetworkProtocol: <a href="ntqnetworkprotocol.html#registerNetworkProtocol">TQNetworkProtocol</a><li>registerSocketNotifier: <a href="ntqeventloop.html#registerSocketNotifier">TQEventLoop</a><li>registerSqlDriver: - <a href="ntqsqldatabase.html#registerSqlDriver">TQSqlDatabase</a><li>rehighlight: + <a href="tqsqldatabase.html#registerSqlDriver">TQSqlDatabase</a><li>rehighlight: <a href="ntqsyntaxhighlighter.html#rehighlight">TQSyntaxHighlighter</a><li>reject: <a href="ntqdialog.html#reject">TQDialog</a><li>rejectCallback: <a href="qmotifdialog.html#rejectCallback">TQMotifDialog</a><li>release: @@ -2211,14 +2211,14 @@ rBottom: <a href="ntqwidget.html#releaseMouse">TQWidget</a><li>released: <a href="ntqbutton.html#released">TQButton</a> <a href="ntqbuttongroup.html#released">TQButtonGroup</a> <a href="ntqbutton.html#released">TQCheckBox</a> <a href="ntqheader.html#released">TQHeader</a> <a href="ntqbutton.html#released">TQPushButton</a> <a href="ntqbutton.html#released">TQRadioButton</a><li>reload: <a href="ntqtextbrowser.html#reload">TQTextBrowser</a><li>remove: - <a href="ntqasciicache.html#remove">TQAsciiCache</a> <a href="ntqasciidict.html#remove">TQAsciiDict</a> <a href="ntqbuttongroup.html#remove">TQButtonGroup</a> <a href="ntqcstring.html#remove">TQCString</a> <a href="ntqcache.html#remove">TQCache</a> <a href="ntqdict.html#remove">TQDict</a> <a href="ntqdir.html#remove">TQDir</a> <a href="ntqfile.html#remove">TQFile</a> <a href="ntqftp.html#remove">TQFtp</a> <a href="ntqintcache.html#remove">TQIntCache</a> <a href="ntqintdict.html#remove">TQIntDict</a> <a href="ntqlayout.html#remove">TQLayout</a> <a href="ntqmap.html#remove">TQMap</a> <a href="tqobjectcleanuphandler.html#remove">TQObjectCleanupHandler</a> <a href="ntqpixmapcache.html#remove">TQPixmapCache</a> <a href="ntqptrdict.html#remove">TQPtrDict</a> <a href="ntqptrlist.html#remove">TQPtrList</a> <a href="ntqptrqueue.html#remove">TQPtrQueue</a> <a href="ntqptrstack.html#remove">TQPtrStack</a> <a href="ntqptrvector.html#remove">TQPtrVector</a> <a href="ntqsqlcursor.html#remove">TQSqlCursor</a> <a href="ntqsqlform.html#remove">TQSqlForm</a> <a href="ntqsqlpropertymap.html#remove">TQSqlPropertyMap</a> <a href="ntqsqlrecord.html#remove">TQSqlRecord</a> <a href="ntqstring.html#remove">TQString</a> <a href="ntqtooltip.html#remove">TQToolTip</a> <a href="ntqtranslator.html#remove">TQTranslator</a> <a href="ntqurloperator.html#remove">TQUrlOperator</a> <a href="ntqvaluelist.html#remove">TQValueList</a> <a href="ntqwhatsthis.html#remove">TQWhatsThis</a><li>removeAttribute: + <a href="ntqasciicache.html#remove">TQAsciiCache</a> <a href="ntqasciidict.html#remove">TQAsciiDict</a> <a href="ntqbuttongroup.html#remove">TQButtonGroup</a> <a href="ntqcstring.html#remove">TQCString</a> <a href="ntqcache.html#remove">TQCache</a> <a href="ntqdict.html#remove">TQDict</a> <a href="ntqdir.html#remove">TQDir</a> <a href="ntqfile.html#remove">TQFile</a> <a href="ntqftp.html#remove">TQFtp</a> <a href="ntqintcache.html#remove">TQIntCache</a> <a href="ntqintdict.html#remove">TQIntDict</a> <a href="ntqlayout.html#remove">TQLayout</a> <a href="ntqmap.html#remove">TQMap</a> <a href="tqobjectcleanuphandler.html#remove">TQObjectCleanupHandler</a> <a href="ntqpixmapcache.html#remove">TQPixmapCache</a> <a href="ntqptrdict.html#remove">TQPtrDict</a> <a href="ntqptrlist.html#remove">TQPtrList</a> <a href="ntqptrqueue.html#remove">TQPtrQueue</a> <a href="ntqptrstack.html#remove">TQPtrStack</a> <a href="ntqptrvector.html#remove">TQPtrVector</a> <a href="tqsqlcursor.html#remove">TQSqlCursor</a> <a href="tqsqlform.html#remove">TQSqlForm</a> <a href="tqsqlpropertymap.html#remove">TQSqlPropertyMap</a> <a href="tqsqlrecord.html#remove">TQSqlRecord</a> <a href="ntqstring.html#remove">TQString</a> <a href="ntqtooltip.html#remove">TQToolTip</a> <a href="ntqtranslator.html#remove">TQTranslator</a> <a href="ntqurloperator.html#remove">TQUrlOperator</a> <a href="ntqvaluelist.html#remove">TQValueList</a> <a href="ntqwhatsthis.html#remove">TQWhatsThis</a><li>removeAttribute: <a href="qdomelement.html#removeAttribute">TQDomElement</a><li>removeAttributeNS: <a href="qdomelement.html#removeAttributeNS">TQDomElement</a><li>removeAttributeNode: <a href="qdomelement.html#removeAttributeNode">TQDomElement</a><li>removeChild: <a href="qdomnode.html#removeChild">TQDomNode</a> <a href="tqobject.html#removeChild">TQObject</a> <a href="ntqscrollview.html#removeChild">TQScrollView</a><li>removeColumn: - <a href="ntqdatatable.html#removeColumn">TQDataTable</a> <a href="ntqlistview.html#removeColumn">TQListView</a> <a href="ntqtable.html#removeColumn">TQTable</a><li>removeColumns: + <a href="tqdatatable.html#removeColumn">TQDataTable</a> <a href="ntqlistview.html#removeColumn">TQListView</a> <a href="ntqtable.html#removeColumn">TQTable</a><li>removeColumns: <a href="ntqtable.html#removeColumns">TQTable</a><li>removeDatabase: - <a href="ntqsqldatabase.html#removeDatabase">TQSqlDatabase</a><li>removeDockWindow: + <a href="tqsqldatabase.html#removeDatabase">TQSqlDatabase</a><li>removeDockWindow: <a href="ntqdockarea.html#removeDockWindow">TQDockArea</a> <a href="ntqmainwindow.html#removeDockWindow">TQMainWindow</a><li>removeEntry: <a href="ntqsettings.html#removeEntry">TQSettings</a><li>removeEventFilter: <a href="tqobject.html#removeEventFilter">TQObject</a><li>removeFactory: @@ -2282,7 +2282,7 @@ rBottom: <a href="qglcontext.html#requestedFormat">TQGLContext</a><li>rereadDir: <a href="ntqfiledialog.html#rereadDir">TQFileDialog</a><li>reserve: <a href="ntqstring.html#reserve">TQString</a> <a href="ntqvaluevector.html#reserve">TQValueVector</a><li>reset: - <a href="ntqdatatable.html#reset">TQDataTable</a> <a href="qglcontext.html#reset">TQGLContext</a> <a href="ntqiodevice.html#reset">TQIODevice</a> <a href="ntqiconset.html#reset">TQIconSet</a> <a href="ntqimage.html#reset">TQImage</a> <a href="qmetaproperty.html#reset">TQMetaProperty</a> <a href="ntqprogressbar.html#reset">TQProgressBar</a> <a href="ntqprogressdialog.html#reset">TQProgressDialog</a> <a href="ntqsqlresult.html#reset">TQSqlResult</a> <a href="ntqtextstream.html#reset">TQTextStream</a> <a href="ntqurl.html#reset">TQUrl</a> <a href="ntqwmatrix.html#reset">TQWMatrix</a> <a href="qwsinputmethod.html#reset">TQWSInputMethod</a> <a href="qxmlinputsource.html#reset">TQXmlInputSource</a> <a href="qxmlnamespacesupport.html#reset">TQXmlNamespaceSupport</a><li>resetGroup: + <a href="tqdatatable.html#reset">TQDataTable</a> <a href="qglcontext.html#reset">TQGLContext</a> <a href="ntqiodevice.html#reset">TQIODevice</a> <a href="ntqiconset.html#reset">TQIconSet</a> <a href="ntqimage.html#reset">TQImage</a> <a href="qmetaproperty.html#reset">TQMetaProperty</a> <a href="ntqprogressbar.html#reset">TQProgressBar</a> <a href="ntqprogressdialog.html#reset">TQProgressDialog</a> <a href="tqsqlresult.html#reset">TQSqlResult</a> <a href="ntqtextstream.html#reset">TQTextStream</a> <a href="ntqurl.html#reset">TQUrl</a> <a href="ntqwmatrix.html#reset">TQWMatrix</a> <a href="qwsinputmethod.html#reset">TQWSInputMethod</a> <a href="qxmlinputsource.html#reset">TQXmlInputSource</a> <a href="qxmlnamespacesupport.html#reset">TQXmlNamespaceSupport</a><li>resetGroup: <a href="ntqsettings.html#resetGroup">TQSettings</a><li>resetInputContext: <a href="ntqwidget.html#resetInputContext">TQWidget</a><li>resetRawData: <a href="ntqmemarray.html#resetRawData">TQMemArray</a><li>resetReason: @@ -2309,7 +2309,7 @@ rBottom: <a href="ntqsessionmanager.html#restartHint">TQSessionManager</a><li>restore: <a href="ntqpainter.html#restore">TQPainter</a> <a href="qscreen.html#restore">TQScreen</a><li>restoreOverrideCursor: <a href="ntqapplication.html#restoreOverrideCursor">TQApplication</a><li>result: - <a href="ntqdialog.html#result">TQDialog</a> <a href="ntqsqlquery.html#result">TQSqlQuery</a><li>resultsReady: + <a href="ntqdialog.html#result">TQDialog</a> <a href="tqsqlquery.html#result">TQSqlQuery</a><li>resultsReady: <a href="ntqdns.html#resultsReady">TQDns</a><li>retune: <a href="ntqcanvas.html#retune">TQCanvas</a><li>returnPressed: <a href="ntqiconview.html#returnPressed">TQIconView</a> <a href="ntqlineedit.html#returnPressed">TQLineEdit</a> <a href="ntqlistbox.html#returnPressed">TQListBox</a> <a href="ntqlistview.html#returnPressed">TQListView</a> <a href="ntqtextedit.html#returnPressed">TQTextEdit</a><li>reverseLayout: @@ -2330,8 +2330,8 @@ rBottom: <a href="ntqscrollview.html#rightMargin">TQScrollView</a><li>rmdir: <a href="ntqdir.html#rmdir">TQDir</a> <a href="ntqftp.html#rmdir">TQFtp</a><li>role: <a href="qaccessibleinterface.html#role">TQAccessibleInterface</a><li>rollback: - <a href="ntqsqldatabase.html#rollback">TQSqlDatabase</a><li>rollbackTransaction: - <a href="ntqsqldriver.html#rollbackTransaction">TQSqlDriver</a><li>root: + <a href="tqsqldatabase.html#rollback">TQSqlDatabase</a><li>rollbackTransaction: + <a href="tqsqldriver.html#rollbackTransaction">TQSqlDriver</a><li>root: <a href="ntqdir.html#root">TQDir</a><li>rootDirPath: <a href="ntqdir.html#rootDirPath">TQDir</a><li>rootIsDecorated: <a href="ntqlistview.html#rootIsDecorated">TQListView</a><li>rotate: @@ -2394,10 +2394,10 @@ sRect: <a href="ntqheader.html#sectionPos">TQHeader</a><li>sectionRect: <a href="ntqheader.html#sectionRect">TQHeader</a><li>sectionSize: <a href="ntqheader.html#sectionSize">TQHeader</a><li>seek: - <a href="ntqdatabrowser.html#seek">TQDataBrowser</a> <a href="ntqsqlquery.html#seek">TQSqlQuery</a><li>seekable: + <a href="tqdatabrowser.html#seek">TQDataBrowser</a> <a href="tqsqlquery.html#seek">TQSqlQuery</a><li>seekable: <a href="qnpstream.html#seekable">TQNPStream</a><li>segmentStyle: <a href="ntqlcdnumber.html#segmentStyle">TQLCDNumber</a><li>select: - <a href="ntqsqlcursor.html#select">TQSqlCursor</a><li>selectAll: + <a href="tqsqlcursor.html#select">TQSqlCursor</a><li>selectAll: <a href="ntqfiledialog.html#selectAll">TQFileDialog</a> <a href="ntqiconview.html#selectAll">TQIconView</a> <a href="ntqlineedit.html#selectAll">TQLineEdit</a> <a href="ntqlistbox.html#selectAll">TQListBox</a> <a href="ntqlistview.html#selectAll">TQListView</a> <a href="ntqspinbox.html#selectAll">TQSpinBox</a> <a href="ntqtextedit.html#selectAll">TQTextEdit</a><li>selectCells: <a href="ntqtable.html#selectCells">TQTable</a><li>selectColumn: <a href="ntqtable.html#selectColumn">TQTable</a><li>selectRow: @@ -2438,7 +2438,7 @@ sRect: <a href="ntqwidget.html#setAcceptDrops">TQWidget</a><li>setAccum: <a href="qglformat.html#setAccum">TQGLFormat</a><li>setAction: <a href="qdropevent.html#setAction">TQDropEvent</a><li>setActive: - <a href="qcanvasitem.html#setActive">TQCanvasItem</a> <a href="ntqpalette.html#setActive">TQPalette</a> <a href="ntqsqlresult.html#setActive">TQSqlResult</a><li>setActiveItem: + <a href="qcanvasitem.html#setActive">TQCanvasItem</a> <a href="ntqpalette.html#setActive">TQPalette</a> <a href="tqsqlresult.html#setActive">TQSqlResult</a><li>setActiveItem: <a href="ntqpopupmenu.html#setActiveItem">TQPopupMenu</a><li>setActiveWindow: <a href="qwswindow.html#setActiveWindow">TQWSWindow</a> <a href="ntqwidget.html#setActiveWindow">TQWidget</a> <a href="qxtwidget.html#setActiveWindow">TQXtWidget</a><li>setAddress: <a href="ntqhostaddress.html#setAddress">TQHostAddress</a><li>setAddressReusable: @@ -2459,7 +2459,7 @@ sRect: <a href="ntqassistantclient.html#setArguments">TQAssistantClient</a> <a href="ntqprocess.html#setArguments">TQProcess</a><li>setArrangement: <a href="ntqiconview.html#setArrangement">TQIconView</a><li>setAscii: <a href="ntqstring.html#setAscii">TQString</a><li>setAt: - <a href="ntqsqlresult.html#setAt">TQSqlResult</a><li>setAttribute: + <a href="tqsqlresult.html#setAt">TQSqlResult</a><li>setAttribute: <a href="qdomelement.html#setAttribute">TQDomElement</a><li>setAttributeNS: <a href="qdomelement.html#setAttributeNS">TQDomElement</a><li>setAttributeNode: <a href="qdomelement.html#setAttributeNode">TQDomElement</a><li>setAttributeNodeNS: @@ -2471,8 +2471,8 @@ sRect: <a href="ntqprogressdialog.html#setAutoClose">TQProgressDialog</a><li>setAutoCompletion: <a href="ntqcombobox.html#setAutoCompletion">TQComboBox</a><li>setAutoDefault: <a href="ntqpushbutton.html#setAutoDefault">TQPushButton</a><li>setAutoDelete: - <a href="ntqptrcollection.html#setAutoDelete">TQAsciiDict</a> <a href="ntqptrcollection.html#setAutoDelete">TQCache</a> <a href="ntqdatatable.html#setAutoDelete">TQDataTable</a> <a href="ntqptrcollection.html#setAutoDelete">TQDict</a> <a href="qiconfactory.html#setAutoDelete">TQIconFactory</a> <a href="ntqptrcollection.html#setAutoDelete">TQIntDict</a> <a href="ntqnetworkprotocol.html#setAutoDelete">TQNetworkProtocol</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrCollection</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrDict</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrList</a> <a href="ntqptrqueue.html#setAutoDelete">TQPtrQueue</a> <a href="ntqptrstack.html#setAutoDelete">TQPtrStack</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrVector</a><li>setAutoEdit: - <a href="ntqdatabrowser.html#setAutoEdit">TQDataBrowser</a> <a href="ntqdatatable.html#setAutoEdit">TQDataTable</a><li>setAutoFormatting: + <a href="ntqptrcollection.html#setAutoDelete">TQAsciiDict</a> <a href="ntqptrcollection.html#setAutoDelete">TQCache</a> <a href="tqdatatable.html#setAutoDelete">TQDataTable</a> <a href="ntqptrcollection.html#setAutoDelete">TQDict</a> <a href="qiconfactory.html#setAutoDelete">TQIconFactory</a> <a href="ntqptrcollection.html#setAutoDelete">TQIntDict</a> <a href="ntqnetworkprotocol.html#setAutoDelete">TQNetworkProtocol</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrCollection</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrDict</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrList</a> <a href="ntqptrqueue.html#setAutoDelete">TQPtrQueue</a> <a href="ntqptrstack.html#setAutoDelete">TQPtrStack</a> <a href="ntqptrcollection.html#setAutoDelete">TQPtrVector</a><li>setAutoEdit: + <a href="tqdatabrowser.html#setAutoEdit">TQDataBrowser</a> <a href="tqdatatable.html#setAutoEdit">TQDataTable</a><li>setAutoFormatting: <a href="ntqtextedit.html#setAutoFormatting">TQTextEdit</a><li>setAutoMask: <a href="ntqwidget.html#setAutoMask">TQWidget</a><li>setAutoRaise: <a href="ntqtoolbutton.html#setAutoRaise">TQToolButton</a><li>setAutoRepeat: @@ -2494,7 +2494,7 @@ sRect: <a href="ntqlistbox.html#setBottomItem">TQListBox</a><li>setBottomLeft: <a href="ntqrect.html#setBottomLeft">TQRect</a><li>setBottomRight: <a href="ntqrect.html#setBottomRight">TQRect</a><li>setBoundaryChecking: - <a href="ntqdatabrowser.html#setBoundaryChecking">TQDataBrowser</a><li>setBoundingRect: + <a href="tqdatabrowser.html#setBoundaryChecking">TQDataBrowser</a><li>setBoundingRect: <a href="ntqpicture.html#setBoundingRect">TQPicture</a><li>setBrush: <a href="qcanvaspolygonalitem.html#setBrush">TQCanvasPolygonalItem</a> <a href="qcolorgroup.html#setBrush">TQColorGroup</a> <a href="ntqpainter.html#setBrush">TQPainter</a> <a href="ntqpalette.html#setBrush">TQPalette</a><li>setBrushOrigin: <a href="ntqpainter.html#setBrushOrigin">TQPainter</a><li>setBuddy: @@ -2506,7 +2506,7 @@ sRect: <a href="ntqdatastream.html#setByteOrder">TQDataStream</a><li>setCacheLimit: <a href="ntqpixmapcache.html#setCacheLimit">TQPixmapCache</a><li>setCaching: <a href="ntqfileinfo.html#setCaching">TQFileInfo</a><li>setCalculated: - <a href="ntqsqlcursor.html#setCalculated">TQSqlCursor</a> <a href="qsqlfieldinfo.html#setCalculated">TQSqlFieldInfo</a><li>setCancelButton: + <a href="tqsqlcursor.html#setCalculated">TQSqlCursor</a> <a href="tqsqlfieldinfo.html#setCalculated">TQSqlFieldInfo</a><li>setCancelButton: <a href="ntqprogressdialog.html#setCancelButton">TQProgressDialog</a> <a href="ntqtabdialog.html#setCancelButton">TQTabDialog</a><li>setCancelButtonText: <a href="ntqprogressdialog.html#setCancelButtonText">TQProgressDialog</a><li>setCanvas: <a href="qcanvasitem.html#setCanvas">TQCanvasItem</a> <a href="qcanvasview.html#setCanvas">TQCanvasView</a><li>setCapStyle: @@ -2541,7 +2541,7 @@ sRect: <a href="ntqprinter.html#setColorMode">TQPrinter</a><li>setColorSpec: <a href="ntqapplication.html#setColorSpec">TQApplication</a><li>setColormap: <a href="qglwidget.html#setColormap">TQGLWidget</a><li>setColumn: - <a href="ntqdatatable.html#setColumn">TQDataTable</a><li>setColumnAlignment: + <a href="tqdatatable.html#setColumn">TQDataTable</a><li>setColumnAlignment: <a href="ntqlistview.html#setColumnAlignment">TQListView</a><li>setColumnLabels: <a href="ntqtable.html#setColumnLabels">TQTable</a><li>setColumnLayout: <a href="ntqgroupbox.html#setColumnLayout">TQGroupBox</a><li>setColumnMode: @@ -2550,16 +2550,16 @@ sRect: <a href="ntqtable.html#setColumnReadOnly">TQTable</a><li>setColumnStretchable: <a href="ntqtable.html#setColumnStretchable">TQTable</a><li>setColumnText: <a href="ntqlistview.html#setColumnText">TQListView</a><li>setColumnWidth: - <a href="ntqdatatable.html#setColumnWidth">TQDataTable</a> <a href="ntqlistview.html#setColumnWidth">TQListView</a> <a href="ntqtable.html#setColumnWidth">TQTable</a><li>setColumnWidthMode: + <a href="tqdatatable.html#setColumnWidth">TQDataTable</a> <a href="ntqlistview.html#setColumnWidth">TQListView</a> <a href="ntqtable.html#setColumnWidth">TQTable</a><li>setColumnWidthMode: <a href="ntqlistview.html#setColumnWidthMode">TQListView</a><li>setColumns: <a href="ntqgroupbox.html#setColumns">TQGroupBox</a><li>setCommunication: <a href="ntqprocess.html#setCommunication">TQProcess</a><li>setConfirmCancels: - <a href="ntqdatabrowser.html#setConfirmCancels">TQDataBrowser</a> <a href="ntqdatatable.html#setConfirmCancels">TQDataTable</a><li>setConfirmDelete: - <a href="ntqdatabrowser.html#setConfirmDelete">TQDataBrowser</a> <a href="ntqdatatable.html#setConfirmDelete">TQDataTable</a><li>setConfirmEdits: - <a href="ntqdatabrowser.html#setConfirmEdits">TQDataBrowser</a> <a href="ntqdatatable.html#setConfirmEdits">TQDataTable</a><li>setConfirmInsert: - <a href="ntqdatabrowser.html#setConfirmInsert">TQDataBrowser</a> <a href="ntqdatatable.html#setConfirmInsert">TQDataTable</a><li>setConfirmUpdate: - <a href="ntqdatabrowser.html#setConfirmUpdate">TQDataBrowser</a> <a href="ntqdatatable.html#setConfirmUpdate">TQDataTable</a><li>setConnectOptions: - <a href="ntqsqldatabase.html#setConnectOptions">TQSqlDatabase</a><li>setContent: + <a href="tqdatabrowser.html#setConfirmCancels">TQDataBrowser</a> <a href="tqdatatable.html#setConfirmCancels">TQDataTable</a><li>setConfirmDelete: + <a href="tqdatabrowser.html#setConfirmDelete">TQDataBrowser</a> <a href="tqdatatable.html#setConfirmDelete">TQDataTable</a><li>setConfirmEdits: + <a href="tqdatabrowser.html#setConfirmEdits">TQDataBrowser</a> <a href="tqdatatable.html#setConfirmEdits">TQDataTable</a><li>setConfirmInsert: + <a href="tqdatabrowser.html#setConfirmInsert">TQDataBrowser</a> <a href="tqdatatable.html#setConfirmInsert">TQDataTable</a><li>setConfirmUpdate: + <a href="tqdatabrowser.html#setConfirmUpdate">TQDataBrowser</a> <a href="tqdatatable.html#setConfirmUpdate">TQDataTable</a><li>setConnectOptions: + <a href="tqsqldatabase.html#setConnectOptions">TQSqlDatabase</a><li>setContent: <a href="qdomdocument.html#setContent">TQDomDocument</a><li>setContentFromEditor: <a href="qtableitem.html#setContentFromEditor">TQTableItem</a><li>setContentHandler: <a href="qxmlreader.html#setContentHandler">TQXmlReader</a><li>setContentLength: @@ -2584,17 +2584,17 @@ sRect: <a href="ntqcombobox.html#setCurrentText">TQComboBox</a><li>setCursor: <a href="ntqwidget.html#setCursor">TQWidget</a><li>setCursorFlashTime: <a href="ntqapplication.html#setCursorFlashTime">TQApplication</a><li>setCursorName: - <a href="ntqsqlindex.html#setCursorName">TQSqlIndex</a><li>setCursorPosition: + <a href="tqsqlindex.html#setCursorName">TQSqlIndex</a><li>setCursorPosition: <a href="ntqlineedit.html#setCursorPosition">TQLineEdit</a> <a href="ntqmultilineedit.html#setCursorPosition">TQMultiLineEdit</a> <a href="ntqtextedit.html#setCursorPosition">TQTextEdit</a><li>setCursorVisible: <a href="qwsserver.html#setCursorVisible">TQWSServer</a><li>setCustomColor: <a href="ntqcolordialog.html#setCustomColor">TQColorDialog</a><li>setCustomHighlighting: <a href="qlistboxitem.html#setCustomHighlighting">TQListBoxItem</a><li>setDTDHandler: <a href="qxmlreader.html#setDTDHandler">TQXmlReader</a><li>setData: <a href="ntqclipboard.html#setData">TQClipboard</a> <a href="qcustomevent.html#setData">TQCustomEvent</a> <a href="qdomcharacterdata.html#setData">TQDomCharacterData</a> <a href="qdomprocessinginstruction.html#setData">TQDomProcessingInstruction</a> <a href="qicondragitem.html#setData">TQIconDragItem</a> <a href="qmimesourcefactory.html#setData">TQMimeSourceFactory</a> <a href="ntqpicture.html#setData">TQPicture</a> <a href="qxmlinputsource.html#setData">TQXmlInputSource</a><li>setDatabaseName: - <a href="ntqsqldatabase.html#setDatabaseName">TQSqlDatabase</a><li>setDatabaseText: - <a href="ntqsqlerror.html#setDatabaseText">TQSqlError</a><li>setDate: + <a href="tqsqldatabase.html#setDatabaseName">TQSqlDatabase</a><li>setDatabaseText: + <a href="tqsqlerror.html#setDatabaseText">TQSqlError</a><li>setDate: <a href="qdateedit.html#setDate">TQDateEdit</a> <a href="ntqdatetime.html#setDate">TQDateTime</a><li>setDateFormat: - <a href="ntqdatatable.html#setDateFormat">TQDataTable</a><li>setDateTime: + <a href="tqdatatable.html#setDateFormat">TQDataTable</a><li>setDateTime: <a href="ntqdatetimeedit.html#setDateTime">TQDateTimeEdit</a><li>setDay: <a href="qdateedit.html#setDay">TQDateEdit</a><li>setDecMode: <a href="ntqlcdnumber.html#setDecMode">TQLCDNumber</a><li>setDecimals: @@ -2615,7 +2615,7 @@ sRect: <a href="ntqmenubar.html#setDefaultUp">TQMenuBar</a><li>setDelay: <a href="qtooltipgroup.html#setDelay">TQToolTipGroup</a><li>setDepth: <a href="qglformat.html#setDepth">TQGLFormat</a><li>setDescending: - <a href="ntqsqlindex.html#setDescending">TQSqlIndex</a><li>setDescription: + <a href="tqsqlindex.html#setDescending">TQSqlIndex</a><li>setDescription: <a href="qimageio.html#setDescription">TQImageIO</a><li>setDesktopBackground: <a href="qwsserver.html#setDesktopBackground">TQWSServer</a><li>setDesktopSettingsAware: <a href="ntqapplication.html#setDesktopSettingsAware">TQApplication</a><li>setDevice: @@ -2641,7 +2641,7 @@ sRect: <a href="ntqbutton.html#setDown">TQButton</a> <a href="ntqbutton.html#setDown">TQCheckBox</a> <a href="ntqbutton.html#setDown">TQPushButton</a> <a href="ntqbutton.html#setDown">TQRadioButton</a><li>setDragAutoScroll: <a href="ntqscrollview.html#setDragAutoScroll">TQScrollView</a><li>setDragEnabled: <a href="qiconviewitem.html#setDragEnabled">TQIconViewItem</a> <a href="ntqlineedit.html#setDragEnabled">TQLineEdit</a> <a href="qlistviewitem.html#setDragEnabled">TQListViewItem</a> <a href="ntqtable.html#setDragEnabled">TQTable</a><li>setDriverText: - <a href="ntqsqlerror.html#setDriverText">TQSqlError</a><li>setDropEnabled: + <a href="tqsqlerror.html#setDriverText">TQSqlError</a><li>setDropEnabled: <a href="qiconviewitem.html#setDropEnabled">TQIconViewItem</a> <a href="qlistviewitem.html#setDropEnabled">TQListViewItem</a><li>setDuplicatesEnabled: <a href="ntqcombobox.html#setDuplicatesEnabled">TQComboBox</a><li>setEchoMode: <a href="ntqlineedit.html#setEchoMode">TQLineEdit</a><li>setEditMode: @@ -2669,14 +2669,14 @@ sRect: <a href="qlistviewitem.html#setExpandable">TQListViewItem</a><li>setExtension: <a href="ntqdialog.html#setExtension">TQDialog</a><li>setExtensionType: <a href="qmimesourcefactory.html#setExtensionType">TQMimeSourceFactory</a><li>setFalseText: - <a href="ntqdatatable.html#setFalseText">TQDataTable</a><li>setFamily: + <a href="tqdatatable.html#setFalseText">TQDataTable</a><li>setFamily: <a href="ntqfont.html#setFamily">TQFont</a> <a href="ntqtextedit.html#setFamily">TQTextEdit</a><li>setFeature: <a href="qxmlreader.html#setFeature">TQXmlReader</a> <a href="qxmlsimplereader.html#setFeature">TQXmlSimpleReader</a><li>setFile: <a href="ntqfileinfo.html#setFile">TQFileInfo</a> <a href="ntqurlinfo.html#setFile">TQUrlInfo</a><li>setFileName: <a href="qimageio.html#setFileName">TQImageIO</a> <a href="ntqurl.html#setFileName">TQUrl</a><li>setFileNames: <a href="quridrag.html#setFileNames">TQUriDrag</a><li>setFilePath: <a href="qmimesourcefactory.html#setFilePath">TQMimeSourceFactory</a><li>setFilter: - <a href="ntqdatabrowser.html#setFilter">TQDataBrowser</a> <a href="ntqdatatable.html#setFilter">TQDataTable</a> <a href="ntqdir.html#setFilter">TQDir</a> <a href="ntqfiledialog.html#setFilter">TQFileDialog</a> <a href="ntqsqlcursor.html#setFilter">TQSqlCursor</a><li>setFilters: + <a href="tqdatabrowser.html#setFilter">TQDataBrowser</a> <a href="tqdatatable.html#setFilter">TQDataTable</a> <a href="ntqdir.html#setFilter">TQDir</a> <a href="ntqfiledialog.html#setFilter">TQFileDialog</a> <a href="tqsqlcursor.html#setFilter">TQSqlCursor</a><li>setFilters: <a href="ntqfiledialog.html#setFilters">TQFileDialog</a><li>setFinishEnabled: <a href="ntqwizard.html#setFinishEnabled">TQWizard</a><li>setFixedExtentHeight: <a href="ntqdockwindow.html#setFixedExtentHeight">TQDockWindow</a><li>setFixedExtentWidth: @@ -2699,9 +2699,9 @@ sRect: <a href="qstylesheetitem.html#setFontStrikeOut">TQStyleSheetItem</a><li>setFontUnderline: <a href="qstylesheetitem.html#setFontUnderline">TQStyleSheetItem</a><li>setFontWeight: <a href="qstylesheetitem.html#setFontWeight">TQStyleSheetItem</a><li>setForm: - <a href="ntqdatabrowser.html#setForm">TQDataBrowser</a> <a href="ntqdataview.html#setForm">TQDataView</a><li>setFormat: + <a href="tqdatabrowser.html#setForm">TQDataBrowser</a> <a href="tqdataview.html#setForm">TQDataView</a><li>setFormat: <a href="qglcontext.html#setFormat">TQGLContext</a> <a href="qimageio.html#setFormat">TQImageIO</a> <a href="ntqsyntaxhighlighter.html#setFormat">TQSyntaxHighlighter</a><li>setForwardOnly: - <a href="ntqsqlquery.html#setForwardOnly">TQSqlQuery</a> <a href="ntqsqlresult.html#setForwardOnly">TQSqlResult</a><li>setFrame: + <a href="tqsqlquery.html#setForwardOnly">TQSqlQuery</a> <a href="tqsqlresult.html#setForwardOnly">TQSqlResult</a><li>setFrame: <a href="qcanvassprite.html#setFrame">TQCanvasSprite</a> <a href="ntqlineedit.html#setFrame">TQLineEdit</a><li>setFrameAnimation: <a href="qcanvassprite.html#setFrameAnimation">TQCanvasSprite</a><li>setFramePeriod: <a href="qimageconsumer.html#setFramePeriod">TQImageConsumer</a><li>setFrameRect: @@ -2712,7 +2712,7 @@ sRect: <a href="ntqprinter.html#setFromTo">TQPrinter</a><li>setFullPage: <a href="ntqprinter.html#setFullPage">TQPrinter</a><li>setGamma: <a href="qimageio.html#setGamma">TQImageIO</a><li>setGenerated: - <a href="ntqsqlcursor.html#setGenerated">TQSqlCursor</a> <a href="qsqlfieldinfo.html#setGenerated">TQSqlFieldInfo</a> <a href="ntqsqlrecord.html#setGenerated">TQSqlRecord</a><li>setGeometry: + <a href="tqsqlcursor.html#setGenerated">TQSqlCursor</a> <a href="tqsqlfieldinfo.html#setGenerated">TQSqlFieldInfo</a> <a href="tqsqlrecord.html#setGenerated">TQSqlRecord</a><li>setGeometry: <a href="qboxlayout.html#setGeometry">TQBoxLayout</a> <a href="qgridlayout.html#setGeometry">TQGridLayout</a> <a href="ntqlayout.html#setGeometry">TQLayout</a> <a href="qlayoutitem.html#setGeometry">TQLayoutItem</a> <a href="qspaceritem.html#setGeometry">TQSpacerItem</a> <a href="ntqwidget.html#setGeometry">TQWidget</a> <a href="qwidgetitem.html#setGeometry">TQWidgetItem</a><li>setGlobalMouseTracking: <a href="ntqapplication.html#setGlobalMouseTracking">TQApplication</a><li>setGlobalStrut: <a href="ntqapplication.html#setGlobalStrut">TQApplication</a><li>setGloballyEnabled: @@ -2734,7 +2734,7 @@ sRect: <a href="ntqsizepolicy.html#setHorStretch">TQSizePolicy</a><li>setHorizontallyStretchable: <a href="ntqdockwindow.html#setHorizontallyStretchable">TQDockWindow</a><li>setHost: <a href="ntqhttp.html#setHost">TQHttp</a> <a href="ntqurl.html#setHost">TQUrl</a><li>setHostName: - <a href="ntqsqldatabase.html#setHostName">TQSqlDatabase</a><li>setHour: + <a href="tqsqldatabase.html#setHostName">TQSqlDatabase</a><li>setHour: <a href="qtimeedit.html#setHour">TQTimeEdit</a><li>setHsv: <a href="ntqcolor.html#setHsv">TQColor</a><li>setIODevice: <a href="qimageio.html#setIODevice">TQImageIO</a><li>setIcon: @@ -2780,7 +2780,7 @@ sRect: <a href="qwsserver.html#setKeyboardHandler">TQWSServer</a><li>setLabel: <a href="ntqdns.html#setLabel">TQDns</a> <a href="ntqheader.html#setLabel">TQHeader</a> <a href="ntqprogressdialog.html#setLabel">TQProgressDialog</a> <a href="ntqtoolbar.html#setLabel">TQToolBar</a><li>setLabelText: <a href="ntqprogressdialog.html#setLabelText">TQProgressDialog</a><li>setLastError: - <a href="ntqsqldriver.html#setLastError">TQSqlDriver</a> <a href="ntqsqlresult.html#setLastError">TQSqlResult</a><li>setLastModified: + <a href="tqsqldriver.html#setLastError">TQSqlDriver</a> <a href="tqsqlresult.html#setLastError">TQSqlResult</a><li>setLastModified: <a href="ntqurlinfo.html#setLastModified">TQUrlInfo</a><li>setLatin1: <a href="ntqstring.html#setLatin1">TQString</a><li>setLeft: <a href="ntqrect.html#setLeft">TQRect</a><li>setLeftMargin: @@ -2833,14 +2833,14 @@ sRect: <a href="ntqwidget.html#setMinimumWidth">TQWidget</a><li>setMinute: <a href="qtimeedit.html#setMinute">TQTimeEdit</a><li>setModal: <a href="ntqdialog.html#setModal">TQDialog</a><li>setMode: - <a href="ntqfiledialog.html#setMode">TQFileDialog</a> <a href="ntqiodevice.html#setMode">TQIODevice</a> <a href="ntqlcdnumber.html#setMode">TQLCDNumber</a> <a href="qscreen.html#setMode">TQScreen</a> <a href="ntqsqlcursor.html#setMode">TQSqlCursor</a><li>setModified: + <a href="ntqfiledialog.html#setMode">TQFileDialog</a> <a href="ntqiodevice.html#setMode">TQIODevice</a> <a href="ntqlcdnumber.html#setMode">TQLCDNumber</a> <a href="qscreen.html#setMode">TQScreen</a> <a href="tqsqlcursor.html#setMode">TQSqlCursor</a><li>setModified: <a href="ntqtextedit.html#setModified">TQTextEdit</a><li>setMonth: <a href="qdateedit.html#setMonth">TQDateEdit</a><li>setMouseTracking: <a href="ntqwidget.html#setMouseTracking">TQWidget</a><li>setMovie: <a href="ntqlabel.html#setMovie">TQLabel</a><li>setMovingEnabled: <a href="ntqdockwindow.html#setMovingEnabled">TQDockWindow</a> <a href="ntqheader.html#setMovingEnabled">TQHeader</a><li>setMultiLinesEnabled: <a href="qlistviewitem.html#setMultiLinesEnabled">TQListViewItem</a><li>setName: - <a href="ntqfile.html#setName">TQFile</a> <a href="tqobject.html#setName">TQObject</a> <a href="ntqsqlcursor.html#setName">TQSqlCursor</a> <a href="ntqsqlfield.html#setName">TQSqlField</a> <a href="ntqsqlindex.html#setName">TQSqlIndex</a> <a href="ntqurlinfo.html#setName">TQUrlInfo</a><li>setNameFilter: + <a href="ntqfile.html#setName">TQFile</a> <a href="tqobject.html#setName">TQObject</a> <a href="tqsqlcursor.html#setName">TQSqlCursor</a> <a href="tqsqlfield.html#setName">TQSqlField</a> <a href="tqsqlindex.html#setName">TQSqlIndex</a> <a href="ntqurlinfo.html#setName">TQUrlInfo</a><li>setNameFilter: <a href="ntqdir.html#setNameFilter">TQDir</a> <a href="ntqurloperator.html#setNameFilter">TQUrlOperator</a><li>setNamedColor: <a href="ntqcolor.html#setNamedColor">TQColor</a><li>setNamedItem: <a href="qdomnamednodemap.html#setNamedItem">TQDomNamedNodeMap</a><li>setNamedItemNS: @@ -2851,23 +2851,23 @@ sRect: <a href="qdomnode.html#setNodeValue">TQDomNode</a><li>setNotchTarget: <a href="ntqdial.html#setNotchTarget">TQDial</a><li>setNotchesVisible: <a href="ntqdial.html#setNotchesVisible">TQDial</a><li>setNull: - <a href="ntqsqlfield.html#setNull">TQSqlField</a> <a href="ntqsqlrecord.html#setNull">TQSqlRecord</a><li>setNullText: - <a href="ntqdatatable.html#setNullText">TQDataTable</a><li>setNum: + <a href="tqsqlfield.html#setNull">TQSqlField</a> <a href="tqsqlrecord.html#setNull">TQSqlRecord</a><li>setNullText: + <a href="tqdatatable.html#setNullText">TQDataTable</a><li>setNum: <a href="ntqcstring.html#setNum">TQCString</a> <a href="ntqlabel.html#setNum">TQLabel</a> <a href="ntqstring.html#setNum">TQString</a><li>setNumColors: <a href="ntqimage.html#setNumColors">TQImage</a><li>setNumCols: <a href="ntqgridview.html#setNumCols">TQGridView</a> <a href="ntqtable.html#setNumCols">TQTable</a><li>setNumCopies: <a href="ntqprinter.html#setNumCopies">TQPrinter</a><li>setNumDigits: <a href="ntqlcdnumber.html#setNumDigits">TQLCDNumber</a><li>setNumRows: <a href="ntqgridview.html#setNumRows">TQGridView</a> <a href="ntqtable.html#setNumRows">TQTable</a><li>setNumber: - <a href="ntqsqlerror.html#setNumber">TQSqlError</a><li>setOctMode: + <a href="tqsqlerror.html#setNumber">TQSqlError</a><li>setOctMode: <a href="ntqlcdnumber.html#setOctMode">TQLCDNumber</a><li>setOffset: <a href="qcanvaspixmap.html#setOffset">TQCanvasPixmap</a> <a href="ntqdockwindow.html#setOffset">TQDockWindow</a> <a href="ntqheader.html#setOffset">TQHeader</a> <a href="ntqimage.html#setOffset">TQImage</a><li>setOkButton: <a href="ntqtabdialog.html#setOkButton">TQTabDialog</a><li>setOn: <a href="ntqaction.html#setOn">TQAction</a> <a href="ntqbutton.html#setOn">TQButton</a> <a href="qchecklistitem.html#setOn">TQCheckListItem</a> <a href="ntqpushbutton.html#setOn">TQPushButton</a> <a href="ntqtoolbutton.html#setOn">TQToolButton</a><li>setOpaqueMoving: <a href="ntqdockwindow.html#setOpaqueMoving">TQDockWindow</a> <a href="ntqmainwindow.html#setOpaqueMoving">TQMainWindow</a><li>setOpaqueResize: <a href="ntqsplitter.html#setOpaqueResize">TQSplitter</a><li>setOpen: - <a href="ntqlistview.html#setOpen">TQListView</a> <a href="qlistviewitem.html#setOpen">TQListViewItem</a> <a href="ntqsqldriver.html#setOpen">TQSqlDriver</a><li>setOpenError: - <a href="ntqsqldriver.html#setOpenError">TQSqlDriver</a><li>setOptimization: + <a href="ntqlistview.html#setOpen">TQListView</a> <a href="qlistviewitem.html#setOpen">TQListViewItem</a> <a href="tqsqldriver.html#setOpen">TQSqlDriver</a><li>setOpenError: + <a href="tqsqldriver.html#setOpenError">TQSqlDriver</a><li>setOptimization: <a href="ntqpixmap.html#setOptimization">TQPixmap</a><li>setOption: <a href="qglformat.html#setOption">TQGLFormat</a><li>setOptionEnabled: <a href="ntqprinter.html#setOptionEnabled">TQPrinter</a><li>setOrder: @@ -2893,7 +2893,7 @@ sRect: <a href="ntqprinter.html#setPaperSource">TQPrinter</a><li>setParagraphBackgroundColor: <a href="ntqtextedit.html#setParagraphBackgroundColor">TQTextEdit</a><li>setParameters: <a href="qimageio.html#setParameters">TQImageIO</a><li>setPassword: - <a href="ntqsqldatabase.html#setPassword">TQSqlDatabase</a> <a href="ntqurl.html#setPassword">TQUrl</a><li>setPath: + <a href="tqsqldatabase.html#setPassword">TQSqlDatabase</a> <a href="ntqurl.html#setPassword">TQUrl</a><li>setPath: <a href="ntqdir.html#setPath">TQDir</a> <a href="ntqsettings.html#setPath">TQSettings</a> <a href="ntqurl.html#setPath">TQUrl</a><li>setPattern: <a href="ntqregexp.html#setPattern">TQRegExp</a><li>setPen: <a href="qcanvaspolygonalitem.html#setPen">TQCanvasPolygonalItem</a> <a href="ntqpainter.html#setPen">TQPainter</a><li>setPercentageVisible: @@ -2912,24 +2912,24 @@ sRect: <a href="qcanvasline.html#setPoints">TQCanvasLine</a> <a href="qcanvaspolygon.html#setPoints">TQCanvasPolygon</a><li>setPopup: <a href="ntqpushbutton.html#setPopup">TQPushButton</a> <a href="ntqtoolbutton.html#setPopup">TQToolButton</a><li>setPopupDelay: <a href="ntqtoolbutton.html#setPopupDelay">TQToolButton</a><li>setPort: - <a href="ntqsqldatabase.html#setPort">TQSqlDatabase</a> <a href="ntqurl.html#setPort">TQUrl</a><li>setPos: + <a href="tqsqldatabase.html#setPort">TQSqlDatabase</a> <a href="ntqurl.html#setPort">TQUrl</a><li>setPos: <a href="ntqcursor.html#setPos">TQCursor</a><li>setPrefix: <a href="qdomnode.html#setPrefix">TQDomNode</a> <a href="ntqspinbox.html#setPrefix">TQSpinBox</a> <a href="qxmlnamespacesupport.html#setPrefix">TQXmlNamespaceSupport</a><li>setPreviewMode: <a href="ntqfiledialog.html#setPreviewMode">TQFileDialog</a><li>setPrimaryIndex: - <a href="ntqsqlcursor.html#setPrimaryIndex">TQSqlCursor</a><li>setPrintProgram: + <a href="tqsqlcursor.html#setPrimaryIndex">TQSqlCursor</a><li>setPrintProgram: <a href="ntqprinter.html#setPrintProgram">TQPrinter</a><li>setPrintRange: <a href="ntqprinter.html#setPrintRange">TQPrinter</a><li>setPrintableData: <a href="ntqdatastream.html#setPrintableData">TQDataStream</a><li>setPrinterName: <a href="ntqprinter.html#setPrinterName">TQPrinter</a><li>setPrinterSelectionOption: <a href="ntqprinter.html#setPrinterSelectionOption">TQPrinter</a><li>setProgress: <a href="ntqprogressbar.html#setProgress">TQProgressBar</a> <a href="ntqprogressdialog.html#setProgress">TQProgressDialog</a><li>setProperty: - <a href="tqobject.html#setProperty">TQObject</a> <a href="ntqsqlpropertymap.html#setProperty">TQSqlPropertyMap</a> <a href="qxmlreader.html#setProperty">TQXmlReader</a><li>setPropertyBag: + <a href="tqobject.html#setProperty">TQObject</a> <a href="tqsqlpropertymap.html#setProperty">TQSqlPropertyMap</a> <a href="qxmlreader.html#setProperty">TQXmlReader</a><li>setPropertyBag: <a href="qaxbase.html#setPropertyBag">TQAxBase</a><li>setPropertyWritable: <a href="qaxbase.html#setPropertyWritable">TQAxBase</a><li>setProtocol: <a href="ntqurl.html#setProtocol">TQUrl</a><li>setProtocolDetail: <a href="qnetworkoperation.html#setProtocolDetail">TQNetworkOperation</a><li>setQuality: <a href="qimageio.html#setQuality">TQImageIO</a><li>setQuery: - <a href="ntqsqlresult.html#setQuery">TQSqlResult</a> <a href="ntqurl.html#setQuery">TQUrl</a><li>setRadioButtonExclusive: + <a href="tqsqlresult.html#setQuery">TQSqlResult</a> <a href="ntqurl.html#setQuery">TQUrl</a><li>setRadioButtonExclusive: <a href="ntqbuttongroup.html#setRadioButtonExclusive">TQButtonGroup</a><li>setRange: <a href="qdateedit.html#setRange">TQDateEdit</a> <a href="qdoublevalidator.html#setRange">TQDoubleValidator</a> <a href="qintvalidator.html#setRange">TQIntValidator</a> <a href="ntqrangecontrol.html#setRange">TQRangeControl</a> <a href="ntqrangecontrol.html#setRange">TQSlider</a> <a href="qtimeedit.html#setRange">TQTimeEdit</a><li>setRasterOp: <a href="ntqpainter.html#setRasterOp">TQPainter</a><li>setRawArg: @@ -2938,11 +2938,11 @@ sRect: <a href="ntqfont.html#setRawMode">TQFont</a><li>setRawName: <a href="ntqfont.html#setRawName">TQFont</a><li>setReadBufferSize: <a href="ntqsocket.html#setReadBufferSize">TQSocket</a><li>setReadOnly: - <a href="ntqdatabrowser.html#setReadOnly">TQDataBrowser</a> <a href="ntqlineedit.html#setReadOnly">TQLineEdit</a> <a href="ntqsqlfield.html#setReadOnly">TQSqlField</a> <a href="ntqtable.html#setReadOnly">TQTable</a> <a href="ntqtextedit.html#setReadOnly">TQTextEdit</a><li>setReadable: + <a href="tqdatabrowser.html#setReadOnly">TQDataBrowser</a> <a href="ntqlineedit.html#setReadOnly">TQLineEdit</a> <a href="tqsqlfield.html#setReadOnly">TQSqlField</a> <a href="ntqtable.html#setReadOnly">TQTable</a> <a href="ntqtextedit.html#setReadOnly">TQTextEdit</a><li>setReadable: <a href="ntqurlinfo.html#setReadable">TQUrlInfo</a><li>setReason: <a href="qfocusevent.html#setReason">TQFocusEvent</a><li>setReceiveBufferSize: <a href="ntqsocketdevice.html#setReceiveBufferSize">TQSocketDevice</a><li>setRecord: - <a href="ntqdataview.html#setRecord">TQDataView</a> <a href="ntqsqlform.html#setRecord">TQSqlForm</a><li>setRecordType: + <a href="tqdataview.html#setRecord">TQDataView</a> <a href="tqsqlform.html#setRecord">TQSqlForm</a><li>setRecordType: <a href="ntqdns.html#setRecordType">TQDns</a><li>setRect: <a href="ntqrect.html#setRect">TQRect</a> <a href="qtab.html#setRect">TQTab</a><li>setRef: <a href="ntqurl.html#setRef">TQUrl</a><li>setRegExp: @@ -2978,7 +2978,7 @@ sRect: <a href="ntqworkspace.html#setScrollBarsEnabled">TQWorkspace</a><li>setSecond: <a href="qtimeedit.html#setSecond">TQTimeEdit</a><li>setSegmentStyle: <a href="ntqlcdnumber.html#setSegmentStyle">TQLCDNumber</a><li>setSelect: - <a href="ntqsqlresult.html#setSelect">TQSqlResult</a><li>setSelectable: + <a href="tqsqlresult.html#setSelect">TQSqlResult</a><li>setSelectable: <a href="qiconviewitem.html#setSelectable">TQIconViewItem</a> <a href="qlistboxitem.html#setSelectable">TQListBoxItem</a> <a href="qlistviewitem.html#setSelectable">TQListViewItem</a><li>setSelected: <a href="qaccessibleinterface.html#setSelected">TQAccessibleInterface</a> <a href="qcanvasitem.html#setSelected">TQCanvasItem</a> <a href="ntqiconview.html#setSelected">TQIconView</a> <a href="qiconviewitem.html#setSelected">TQIconViewItem</a> <a href="ntqlistbox.html#setSelected">TQListBox</a> <a href="ntqlistview.html#setSelected">TQListView</a> <a href="qlistviewitem.html#setSelected">TQListViewItem</a><li>setSelectedFilter: <a href="ntqfiledialog.html#setSelectedFilter">TQFileDialog</a><li>setSelection: @@ -2996,7 +2996,7 @@ sRect: <a href="ntqlistview.html#setShowSortIndicator">TQListView</a><li>setShowToolTips: <a href="ntqiconview.html#setShowToolTips">TQIconView</a> <a href="ntqlistview.html#setShowToolTips">TQListView</a><li>setShown: <a href="ntqwidget.html#setShown">TQWidget</a><li>setSize: - <a href="qcanvasellipse.html#setSize">TQCanvasEllipse</a> <a href="qcanvasrectangle.html#setSize">TQCanvasRectangle</a> <a href="ntqdatatable.html#setSize">TQDataTable</a> <a href="qimageconsumer.html#setSize">TQImageConsumer</a> <a href="ntqrect.html#setSize">TQRect</a> <a href="ntqurlinfo.html#setSize">TQUrlInfo</a><li>setSizeGripEnabled: + <a href="qcanvasellipse.html#setSize">TQCanvasEllipse</a> <a href="qcanvasrectangle.html#setSize">TQCanvasRectangle</a> <a href="tqdatatable.html#setSize">TQDataTable</a> <a href="qimageconsumer.html#setSize">TQImageConsumer</a> <a href="ntqrect.html#setSize">TQRect</a> <a href="ntqurlinfo.html#setSize">TQUrlInfo</a><li>setSizeGripEnabled: <a href="ntqdialog.html#setSizeGripEnabled">TQDialog</a> <a href="ntqstatusbar.html#setSizeGripEnabled">TQStatusBar</a><li>setSizeIncrement: <a href="ntqwidget.html#setSizeIncrement">TQWidget</a><li>setSizeLimit: <a href="ntqcombobox.html#setSizeLimit">TQComboBox</a><li>setSizePolicy: @@ -3006,7 +3006,7 @@ sRect: <a href="ntqserversocket.html#setSocket">TQServerSocket</a> <a href="ntqsocket.html#setSocket">TQSocket</a> <a href="ntqsocketdevice.html#setSocket">TQSocketDevice</a><li>setSocketDevice: <a href="ntqsocket.html#setSocketDevice">TQSocket</a><li>setSocketNotifierPending: <a href="ntqeventloop.html#setSocketNotifierPending">TQEventLoop</a><li>setSort: - <a href="ntqdatabrowser.html#setSort">TQDataBrowser</a> <a href="ntqdatatable.html#setSort">TQDataTable</a> <a href="ntqsqlcursor.html#setSort">TQSqlCursor</a><li>setSortColumn: + <a href="tqdatabrowser.html#setSort">TQDataBrowser</a> <a href="tqdatatable.html#setSort">TQDataTable</a> <a href="tqsqlcursor.html#setSort">TQSqlCursor</a><li>setSortColumn: <a href="ntqlistview.html#setSortColumn">TQListView</a><li>setSortIndicator: <a href="ntqheader.html#setSortIndicator">TQHeader</a><li>setSortOrder: <a href="ntqlistview.html#setSortOrder">TQListView</a><li>setSorting: @@ -3016,7 +3016,7 @@ sRect: <a href="qtableitem.html#setSpan">TQTableItem</a><li>setSpecialValueText: <a href="ntqspinbox.html#setSpecialValueText">TQSpinBox</a><li>setSpeed: <a href="ntqmovie.html#setSpeed">TQMovie</a><li>setSqlCursor: - <a href="ntqdatabrowser.html#setSqlCursor">TQDataBrowser</a> <a href="ntqdatatable.html#setSqlCursor">TQDataTable</a><li>setStandardColor: + <a href="tqdatabrowser.html#setSqlCursor">TQDataBrowser</a> <a href="tqdatatable.html#setSqlCursor">TQDataTable</a><li>setStandardColor: <a href="ntqcolordialog.html#setStandardColor">TQColorDialog</a><li>setStartDragDistance: <a href="ntqapplication.html#setStartDragDistance">TQApplication</a><li>setStartDragTime: <a href="ntqapplication.html#setStartDragTime">TQApplication</a><li>setState: @@ -3083,11 +3083,11 @@ sRect: <a href="ntqwmatrix.html#setTransformationMode">TQWMatrix</a><li>setTranslation: <a href="qtranslatormessage.html#setTranslation">TQTranslatorMessage</a><li>setTreeStepSize: <a href="ntqlistview.html#setTreeStepSize">TQListView</a><li>setTrim: - <a href="qsqlfieldinfo.html#setTrim">TQSqlFieldInfo</a><li>setTrimmed: - <a href="ntqsqlcursor.html#setTrimmed">TQSqlCursor</a><li>setTristate: + <a href="tqsqlfieldinfo.html#setTrim">TQSqlFieldInfo</a><li>setTrimmed: + <a href="tqsqlcursor.html#setTrimmed">TQSqlCursor</a><li>setTristate: <a href="ntqcheckbox.html#setTristate">TQCheckBox</a> <a href="qchecklistitem.html#setTristate">TQCheckListItem</a><li>setTrueText: - <a href="ntqdatatable.html#setTrueText">TQDataTable</a><li>setType: - <a href="ntqiodevice.html#setType">TQIODevice</a> <a href="ntqsqlerror.html#setType">TQSqlError</a><li>setUnchanged: + <a href="tqdatatable.html#setTrueText">TQDataTable</a><li>setType: + <a href="ntqiodevice.html#setType">TQIODevice</a> <a href="tqsqlerror.html#setType">TQSqlError</a><li>setUnchanged: <a href="ntqcanvas.html#setUnchanged">TQCanvas</a><li>setUnderline: <a href="ntqfont.html#setUnderline">TQFont</a> <a href="ntqtextedit.html#setUnderline">TQTextEdit</a><li>setUndoDepth: <a href="ntqtextedit.html#setUndoDepth">TQTextEdit</a><li>setUndoRedoEnabled: @@ -3102,7 +3102,7 @@ sRect: <a href="ntqfiledialog.html#setUrl">TQFileDialog</a> <a href="ntqnetworkprotocol.html#setUrl">TQNetworkProtocol</a><li>setUseHighlightColors: <a href="ntqmotifstyle.html#setUseHighlightColors">TQMotifStyle</a><li>setUser: <a href="ntqurl.html#setUser">TQUrl</a><li>setUserName: - <a href="ntqsqldatabase.html#setUserName">TQSqlDatabase</a><li>setUsesBigPixmap: + <a href="tqsqldatabase.html#setUserName">TQSqlDatabase</a><li>setUsesBigPixmap: <a href="ntqtoolbutton.html#setUsesBigPixmap">TQToolButton</a><li>setUsesBigPixmaps: <a href="ntqmainwindow.html#setUsesBigPixmaps">TQMainWindow</a><li>setUsesDropDown: <a href="qactiongroup.html#setUsesDropDown">TQActionGroup</a><li>setUsesTextLabel: @@ -3110,7 +3110,7 @@ sRect: <a href="ntqscrollview.html#setVBarGeometry">TQScrollView</a><li>setVScrollBarMode: <a href="ntqscrollview.html#setVScrollBarMode">TQScrollView</a><li>setValidator: <a href="ntqcombobox.html#setValidator">TQComboBox</a> <a href="ntqlineedit.html#setValidator">TQLineEdit</a> <a href="ntqspinbox.html#setValidator">TQSpinBox</a><li>setValue: - <a href="ntqdial.html#setValue">TQDial</a> <a href="qdomattr.html#setValue">TQDomAttr</a> <a href="qhttpheader.html#setValue">TQHttpHeader</a> <a href="qhttpheader.html#setValue">TQHttpRequestHeader</a> <a href="ntqrangecontrol.html#setValue">TQRangeControl</a> <a href="ntqscrollbar.html#setValue">TQScrollBar</a> <a href="ntqsignal.html#setValue">TQSignal</a> <a href="ntqslider.html#setValue">TQSlider</a> <a href="ntqspinbox.html#setValue">TQSpinBox</a> <a href="ntqsqlfield.html#setValue">TQSqlField</a> <a href="ntqsqlrecord.html#setValue">TQSqlRecord</a><li>setVariableHeight: + <a href="ntqdial.html#setValue">TQDial</a> <a href="qdomattr.html#setValue">TQDomAttr</a> <a href="qhttpheader.html#setValue">TQHttpHeader</a> <a href="qhttpheader.html#setValue">TQHttpRequestHeader</a> <a href="ntqrangecontrol.html#setValue">TQRangeControl</a> <a href="ntqscrollbar.html#setValue">TQScrollBar</a> <a href="ntqsignal.html#setValue">TQSignal</a> <a href="ntqslider.html#setValue">TQSlider</a> <a href="ntqspinbox.html#setValue">TQSpinBox</a> <a href="tqsqlfield.html#setValue">TQSqlField</a> <a href="tqsqlrecord.html#setValue">TQSqlRecord</a><li>setVariableHeight: <a href="ntqlistbox.html#setVariableHeight">TQListBox</a><li>setVariableWidth: <a href="ntqlistbox.html#setVariableWidth">TQListBox</a><li>setVelocity: <a href="qcanvasitem.html#setVelocity">TQCanvasItem</a><li>setVerData: @@ -3187,7 +3187,7 @@ sRect: <a href="ntqtextcodec.html#simpleHeuristicNameMatch">TQTextCodec</a><li>simplifyWhiteSpace: <a href="ntqcstring.html#simplifyWhiteSpace">TQCString</a> <a href="ntqstring.html#simplifyWhiteSpace">TQString</a><li>singleShot: <a href="ntqtimer.html#singleShot">TQTimer</a><li>size: - <a href="ntqasciicache.html#size">TQAsciiCache</a> <a href="ntqasciidict.html#size">TQAsciiDict</a> <a href="ntqbitarray.html#size">TQBitArray</a> <a href="ntqcache.html#size">TQCache</a> <a href="ntqcanvas.html#size">TQCanvas</a> <a href="qcanvasrectangle.html#size">TQCanvasRectangle</a> <a href="ntqdict.html#size">TQDict</a> <a href="qdirectpainter.html#size">TQDirectPainter</a> <a href="ntqfile.html#size">TQFile</a> <a href="ntqfileinfo.html#size">TQFileInfo</a> <a href="ntqfontmetrics.html#size">TQFontMetrics</a> <a href="ntqglcolormap.html#size">TQGLColormap</a> <a href="ntqiodevice.html#size">TQIODevice</a> <a href="qiconviewitem.html#size">TQIconViewItem</a> <a href="ntqimage.html#size">TQImage</a> <a href="ntqintcache.html#size">TQIntCache</a> <a href="ntqintdict.html#size">TQIntDict</a> <a href="ntqmap.html#size">TQMap</a> <a href="ntqmemarray.html#size">TQMemArray</a> <a href="ntqpicture.html#size">TQPicture</a> <a href="ntqpixmap.html#size">TQPixmap</a> <a href="ntqptrdict.html#size">TQPtrDict</a> <a href="ntqptrvector.html#size">TQPtrVector</a> <a href="ntqrect.html#size">TQRect</a> <a href="qresizeevent.html#size">TQResizeEvent</a> <a href="ntqsocket.html#size">TQSocket</a> <a href="ntqsqlquery.html#size">TQSqlQuery</a> <a href="ntqsqlresult.html#size">TQSqlResult</a> <a href="ntqurlinfo.html#size">TQUrlInfo</a> <a href="ntqvaluelist.html#size">TQValueList</a> <a href="ntqvaluevector.html#size">TQValueVector</a> <a href="ntqwidget.html#size">TQWidget</a><li>sizeChange: + <a href="ntqasciicache.html#size">TQAsciiCache</a> <a href="ntqasciidict.html#size">TQAsciiDict</a> <a href="ntqbitarray.html#size">TQBitArray</a> <a href="ntqcache.html#size">TQCache</a> <a href="ntqcanvas.html#size">TQCanvas</a> <a href="qcanvasrectangle.html#size">TQCanvasRectangle</a> <a href="ntqdict.html#size">TQDict</a> <a href="qdirectpainter.html#size">TQDirectPainter</a> <a href="ntqfile.html#size">TQFile</a> <a href="ntqfileinfo.html#size">TQFileInfo</a> <a href="ntqfontmetrics.html#size">TQFontMetrics</a> <a href="ntqglcolormap.html#size">TQGLColormap</a> <a href="ntqiodevice.html#size">TQIODevice</a> <a href="qiconviewitem.html#size">TQIconViewItem</a> <a href="ntqimage.html#size">TQImage</a> <a href="ntqintcache.html#size">TQIntCache</a> <a href="ntqintdict.html#size">TQIntDict</a> <a href="ntqmap.html#size">TQMap</a> <a href="ntqmemarray.html#size">TQMemArray</a> <a href="ntqpicture.html#size">TQPicture</a> <a href="ntqpixmap.html#size">TQPixmap</a> <a href="ntqptrdict.html#size">TQPtrDict</a> <a href="ntqptrvector.html#size">TQPtrVector</a> <a href="ntqrect.html#size">TQRect</a> <a href="qresizeevent.html#size">TQResizeEvent</a> <a href="ntqsocket.html#size">TQSocket</a> <a href="tqsqlquery.html#size">TQSqlQuery</a> <a href="tqsqlresult.html#size">TQSqlResult</a> <a href="ntqurlinfo.html#size">TQUrlInfo</a> <a href="ntqvaluelist.html#size">TQValueList</a> <a href="ntqvaluevector.html#size">TQValueVector</a> <a href="ntqwidget.html#size">TQWidget</a><li>sizeChange: <a href="ntqheader.html#sizeChange">TQHeader</a><li>sizeFromContents: <a href="ntqstyle.html#sizeFromContents">TQStyle</a><li>sizeHint: <a href="qboxlayout.html#sizeHint">TQBoxLayout</a> <a href="qcanvasview.html#sizeHint">TQCanvasView</a> <a href="qcustommenuitem.html#sizeHint">TQCustomMenuItem</a> <a href="qgridlayout.html#sizeHint">TQGridLayout</a> <a href="qlayoutitem.html#sizeHint">TQLayoutItem</a> <a href="ntqlineedit.html#sizeHint">TQLineEdit</a> <a href="ntqprogressdialog.html#sizeHint">TQProgressDialog</a> <a href="ntqsizegrip.html#sizeHint">TQSizeGrip</a> <a href="qspaceritem.html#sizeHint">TQSpacerItem</a> <a href="qtableitem.html#sizeHint">TQTableItem</a> <a href="ntqwidget.html#sizeHint">TQWidget</a> <a href="qwidgetitem.html#sizeHint">TQWidgetItem</a><li>sizeIncrement: @@ -3210,11 +3210,11 @@ sRect: <a href="ntqfontdatabase.html#smoothSizes">TQFontDatabase</a><li>socket: <a href="ntqserversocket.html#socket">TQServerSocket</a> <a href="ntqsocket.html#socket">TQSocket</a> <a href="ntqsocketdevice.html#socket">TQSocketDevice</a> <a href="ntqsocketnotifier.html#socket">TQSocketNotifier</a><li>socketDevice: <a href="ntqserversocket.html#socketDevice">TQServerSocket</a> <a href="ntqsocket.html#socketDevice">TQSocket</a><li>sort: - <a href="ntqdatabrowser.html#sort">TQDataBrowser</a> <a href="ntqdatatable.html#sort">TQDataTable</a> <a href="ntqiconview.html#sort">TQIconView</a> <a href="ntqlistbox.html#sort">TQListBox</a> <a href="ntqlistview.html#sort">TQListView</a> <a href="qlistviewitem.html#sort">TQListViewItem</a> <a href="ntqmemarray.html#sort">TQMemArray</a> <a href="ntqptrlist.html#sort">TQPtrList</a> <a href="ntqptrvector.html#sort">TQPtrVector</a> <a href="ntqsqlcursor.html#sort">TQSqlCursor</a> <a href="ntqstringlist.html#sort">TQStringList</a><li>sortAscending: - <a href="ntqdatatable.html#sortAscending">TQDataTable</a><li>sortChildItems: + <a href="tqdatabrowser.html#sort">TQDataBrowser</a> <a href="tqdatatable.html#sort">TQDataTable</a> <a href="ntqiconview.html#sort">TQIconView</a> <a href="ntqlistbox.html#sort">TQListBox</a> <a href="ntqlistview.html#sort">TQListView</a> <a href="qlistviewitem.html#sort">TQListViewItem</a> <a href="ntqmemarray.html#sort">TQMemArray</a> <a href="ntqptrlist.html#sort">TQPtrList</a> <a href="ntqptrvector.html#sort">TQPtrVector</a> <a href="tqsqlcursor.html#sort">TQSqlCursor</a> <a href="ntqstringlist.html#sort">TQStringList</a><li>sortAscending: + <a href="tqdatatable.html#sortAscending">TQDataTable</a><li>sortChildItems: <a href="qlistviewitem.html#sortChildItems">TQListViewItem</a><li>sortColumn: - <a href="ntqdatatable.html#sortColumn">TQDataTable</a> <a href="ntqlistview.html#sortColumn">TQListView</a> <a href="ntqtable.html#sortColumn">TQTable</a><li>sortDescending: - <a href="ntqdatatable.html#sortDescending">TQDataTable</a><li>sortDirection: + <a href="tqdatatable.html#sortColumn">TQDataTable</a> <a href="ntqlistview.html#sortColumn">TQListView</a> <a href="ntqtable.html#sortColumn">TQTable</a><li>sortDescending: + <a href="tqdatatable.html#sortDescending">TQDataTable</a><li>sortDirection: <a href="ntqiconview.html#sortDirection">TQIconView</a><li>sortIndicatorOrder: <a href="ntqheader.html#sortIndicatorOrder">TQHeader</a><li>sortIndicatorSection: <a href="ntqheader.html#sortIndicatorSection">TQHeader</a><li>sortOrder: @@ -3234,7 +3234,7 @@ sRect: <a href="qdomtext.html#splitText">TQDomText</a><li>spontaneous: <a href="ntqevent.html#spontaneous">TQEvent</a><li>sprintf: <a href="ntqcstring.html#sprintf">TQCString</a> <a href="ntqstring.html#sprintf">TQString</a><li>sqlCursor: - <a href="ntqdatabrowser.html#sqlCursor">TQDataBrowser</a> <a href="ntqdatatable.html#sqlCursor">TQDataTable</a><li>squeeze: + <a href="tqdatabrowser.html#sqlCursor">TQDataBrowser</a> <a href="tqdatatable.html#sqlCursor">TQDataTable</a><li>squeeze: <a href="ntqstring.html#squeeze">TQString</a> <a href="ntqtranslator.html#squeeze">TQTranslator</a><li>stackUnder: <a href="ntqwidget.html#stackUnder">TQWidget</a><li>standardIcon: <a href="ntqmessagebox.html#standardIcon">TQMessageBox</a><li>standardSizes: @@ -3337,7 +3337,7 @@ tab: <a href="ntqtabwidget.html#tabToolTip">TQTabWidget</a><li>tabWidth: <a href="qstyleoption.html#tabWidth">TQStyleOption</a><li>table: <a href="qtableitem.html#table">TQTableItem</a><li>tables: - <a href="ntqsqldatabase.html#tables">TQSqlDatabase</a> <a href="ntqsqldriver.html#tables">TQSqlDriver</a><li>tabletEvent: + <a href="tqsqldatabase.html#tables">TQSqlDatabase</a> <a href="tqsqldriver.html#tables">TQSqlDriver</a><li>tabletEvent: <a href="ntqwidget.html#tabletEvent">TQWidget</a><li>tag: <a href="ntqstylesheet.html#tag">TQStyleSheet</a><li>tagName: <a href="qdomelement.html#tagName">TQDomElement</a><li>take: @@ -3351,7 +3351,7 @@ tab: <a href="ntqbitarray.html#testBit">TQBitArray</a><li>testOption: <a href="qglformat.html#testOption">TQGLFormat</a><li>testWFlags: <a href="ntqwidget.html#testWFlags">TQWidget</a><li>text: - <a href="qaccessibleinterface.html#text">TQAccessibleInterface</a> <a href="ntqaction.html#text">TQAction</a> <a href="ntqbutton.html#text">TQButton</a> <a href="qcanvastext.html#text">TQCanvasText</a> <a href="ntqbutton.html#text">TQCheckBox</a> <a href="qchecklistitem.html#text">TQCheckListItem</a> <a href="ntqclipboard.html#text">TQClipboard</a> <a href="qcolorgroup.html#text">TQColorGroup</a> <a href="ntqcombobox.html#text">TQComboBox</a> <a href="qcombotableitem.html#text">TQComboTableItem</a> <a href="ntqdatatable.html#text">TQDataTable</a> <a href="qdomelement.html#text">TQDomElement</a> <a href="qimevent.html#text">TQIMEvent</a> <a href="qiconviewitem.html#text">TQIconViewItem</a> <a href="ntqimage.html#text">TQImage</a> <a href="qkeyevent.html#text">TQKeyEvent</a> <a href="ntqlabel.html#text">TQLabel</a> <a href="ntqlineedit.html#text">TQLineEdit</a> <a href="ntqlistbox.html#text">TQListBox</a> <a href="qlistboxitem.html#text">TQListBoxItem</a> <a href="qlistviewitem.html#text">TQListViewItem</a> <a href="ntqmenudata.html#text">TQMenuData</a> <a href="ntqmessagebox.html#text">TQMessageBox</a> <a href="ntqmenudata.html#text">TQPopupMenu</a> <a href="ntqbutton.html#text">TQPushButton</a> <a href="ntqbutton.html#text">TQRadioButton</a> <a href="ntqspinbox.html#text">TQSpinBox</a> <a href="ntqsqlerror.html#text">TQSqlError</a> <a href="qtab.html#text">TQTab</a> <a href="ntqtable.html#text">TQTable</a> <a href="qtableitem.html#text">TQTableItem</a> <a href="ntqtextedit.html#text">TQTextEdit</a> <a href="ntqwhatsthis.html#text">TQWhatsThis</a><li>textChanged: + <a href="qaccessibleinterface.html#text">TQAccessibleInterface</a> <a href="ntqaction.html#text">TQAction</a> <a href="ntqbutton.html#text">TQButton</a> <a href="qcanvastext.html#text">TQCanvasText</a> <a href="ntqbutton.html#text">TQCheckBox</a> <a href="qchecklistitem.html#text">TQCheckListItem</a> <a href="ntqclipboard.html#text">TQClipboard</a> <a href="qcolorgroup.html#text">TQColorGroup</a> <a href="ntqcombobox.html#text">TQComboBox</a> <a href="qcombotableitem.html#text">TQComboTableItem</a> <a href="tqdatatable.html#text">TQDataTable</a> <a href="qdomelement.html#text">TQDomElement</a> <a href="qimevent.html#text">TQIMEvent</a> <a href="qiconviewitem.html#text">TQIconViewItem</a> <a href="ntqimage.html#text">TQImage</a> <a href="qkeyevent.html#text">TQKeyEvent</a> <a href="ntqlabel.html#text">TQLabel</a> <a href="ntqlineedit.html#text">TQLineEdit</a> <a href="ntqlistbox.html#text">TQListBox</a> <a href="qlistboxitem.html#text">TQListBoxItem</a> <a href="qlistviewitem.html#text">TQListViewItem</a> <a href="ntqmenudata.html#text">TQMenuData</a> <a href="ntqmessagebox.html#text">TQMessageBox</a> <a href="ntqmenudata.html#text">TQPopupMenu</a> <a href="ntqbutton.html#text">TQPushButton</a> <a href="ntqbutton.html#text">TQRadioButton</a> <a href="ntqspinbox.html#text">TQSpinBox</a> <a href="tqsqlerror.html#text">TQSqlError</a> <a href="qtab.html#text">TQTab</a> <a href="ntqtable.html#text">TQTable</a> <a href="qtableitem.html#text">TQTableItem</a> <a href="ntqtextedit.html#text">TQTextEdit</a> <a href="ntqwhatsthis.html#text">TQWhatsThis</a><li>textChanged: <a href="ntqcombobox.html#textChanged">TQComboBox</a> <a href="ntqlineedit.html#textChanged">TQLineEdit</a> <a href="ntqspinbox.html#textChanged">TQSpinBox</a> <a href="ntqtextedit.html#textChanged">TQTextEdit</a><li>textCursor: <a href="ntqtextedit.html#textCursor">TQTextEdit</a><li>textEdit: <a href="ntqsyntaxhighlighter.html#textEdit">TQSyntaxHighlighter</a><li>textFlags: @@ -3404,7 +3404,7 @@ tab: <a href="qdomnode.html#toElement">TQDomNode</a><li>toEntity: <a href="qdomnode.html#toEntity">TQDomNode</a><li>toEntityReference: <a href="qdomnode.html#toEntityReference">TQDomNode</a><li>toField: - <a href="qsqlfieldinfo.html#toField">TQSqlFieldInfo</a><li>toFirst: + <a href="tqsqlfieldinfo.html#toField">TQSqlFieldInfo</a><li>toFirst: <a href="qasciicacheiterator.html#toFirst">TQAsciiCacheIterator</a> <a href="qasciidictiterator.html#toFirst">TQAsciiDictIterator</a> <a href="qcacheiterator.html#toFirst">TQCacheIterator</a> <a href="qdictiterator.html#toFirst">TQDictIterator</a> <a href="qintcacheiterator.html#toFirst">TQIntCacheIterator</a> <a href="qintdictiterator.html#toFirst">TQIntDictIterator</a> <a href="qptrdictiterator.html#toFirst">TQPtrDictIterator</a> <a href="qptrlistiterator.html#toFirst">TQPtrListIterator</a><li>toFloat: <a href="ntqcstring.html#toFloat">TQCString</a> <a href="ntqlocale.html#toFloat">TQLocale</a> <a href="ntqstring.html#toFloat">TQString</a><li>toFont: <a href="ntqvariant.html#toFont">TQVariant</a><li>toIPv4Address: @@ -3427,14 +3427,14 @@ tab: <a href="ntqvariant.html#toPoint">TQVariant</a><li>toPointArray: <a href="ntqvariant.html#toPointArray">TQVariant</a><li>toProcessingInstruction: <a href="qdomnode.html#toProcessingInstruction">TQDomNode</a><li>toRecord: - <a href="qsqlrecordinfo.html#toRecord">TQSqlRecordInfo</a><li>toRect: + <a href="tqsqlrecordinfo.html#toRecord">TQSqlRecordInfo</a><li>toRect: <a href="ntqvariant.html#toRect">TQVariant</a><li>toRegion: <a href="ntqvariant.html#toRegion">TQVariant</a><li>toShort: <a href="ntqcstring.html#toShort">TQCString</a> <a href="ntqlocale.html#toShort">TQLocale</a> <a href="ntqstring.html#toShort">TQString</a><li>toSize: <a href="ntqvariant.html#toSize">TQVariant</a><li>toSizePolicy: <a href="ntqvariant.html#toSizePolicy">TQVariant</a><li>toString: - <a href="qdate.html#toString">TQDate</a> <a href="ntqdatetime.html#toString">TQDateTime</a> <a href="qdomdocument.html#toString">TQDomDocument</a> <a href="ntqfont.html#toString">TQFont</a> <a href="ntqhostaddress.html#toString">TQHostAddress</a> <a href="qhttpheader.html#toString">TQHttpHeader</a> <a href="ntqlocale.html#toString">TQLocale</a> <a href="ntqsqlcursor.html#toString">TQSqlCursor</a> <a href="ntqsqlrecord.html#toString">TQSqlRecord</a> <a href="qtime.html#toString">TQTime</a> <a href="ntqurl.html#toString">TQUrl</a> <a href="ntquuid.html#toString">TQUuid</a> <a href="ntqvariant.html#toString">TQVariant</a><li>toStringList: - <a href="ntqsqlrecord.html#toStringList">TQSqlRecord</a> <a href="ntqvariant.html#toStringList">TQVariant</a><li>toText: + <a href="qdate.html#toString">TQDate</a> <a href="ntqdatetime.html#toString">TQDateTime</a> <a href="qdomdocument.html#toString">TQDomDocument</a> <a href="ntqfont.html#toString">TQFont</a> <a href="ntqhostaddress.html#toString">TQHostAddress</a> <a href="qhttpheader.html#toString">TQHttpHeader</a> <a href="ntqlocale.html#toString">TQLocale</a> <a href="tqsqlcursor.html#toString">TQSqlCursor</a> <a href="tqsqlrecord.html#toString">TQSqlRecord</a> <a href="qtime.html#toString">TQTime</a> <a href="ntqurl.html#toString">TQUrl</a> <a href="ntquuid.html#toString">TQUuid</a> <a href="ntqvariant.html#toString">TQVariant</a><li>toStringList: + <a href="tqsqlrecord.html#toStringList">TQSqlRecord</a> <a href="ntqvariant.html#toStringList">TQVariant</a><li>toText: <a href="qdomnode.html#toText">TQDomNode</a><li>toTime: <a href="ntqvariant.html#toTime">TQVariant</a><li>toTime_t: <a href="ntqdatetime.html#toTime_t">TQDateTime</a><li>toUInt: @@ -3470,7 +3470,7 @@ tab: <a href="tqobject.html#tr">TQObject</a><li>trUtf8: <a href="tqobject.html#trUtf8">TQObject</a><li>tracking: <a href="ntqdial.html#tracking">TQDial</a> <a href="ntqheader.html#tracking">TQHeader</a> <a href="ntqscrollbar.html#tracking">TQScrollBar</a> <a href="ntqslider.html#tracking">TQSlider</a><li>transaction: - <a href="ntqsqldatabase.html#transaction">TQSqlDatabase</a><li>transformOrientation: + <a href="tqsqldatabase.html#transaction">TQSqlDatabase</a><li>transformOrientation: <a href="qdirectpainter.html#transformOrientation">TQDirectPainter</a> <a href="qscreen.html#transformOrientation">TQScreen</a><li>transformationMode: <a href="ntqwmatrix.html#transformationMode">TQWMatrix</a><li>translate: <a href="ntqapplication.html#translate">TQApplication</a> <a href="ntqpainter.html#translate">TQPainter</a> <a href="ntqpointarray.html#translate">TQPointArray</a> <a href="ntqregion.html#translate">TQRegion</a> <a href="ntqwmatrix.html#translate">TQWMatrix</a><li>translateKeyEvent: @@ -3480,14 +3480,14 @@ tab: <a href="ntqlistview.html#treeStepSize">TQListView</a><li>triggerUpdate: <a href="ntqlistbox.html#triggerUpdate">TQListBox</a> <a href="ntqlistview.html#triggerUpdate">TQListView</a><li>trueMatrix: <a href="ntqpixmap.html#trueMatrix">TQPixmap</a><li>trueText: - <a href="ntqdatatable.html#trueText">TQDataTable</a><li>truncate: + <a href="tqdatatable.html#trueText">TQDataTable</a><li>truncate: <a href="ntqcstring.html#truncate">TQCString</a> <a href="ntqmemarray.html#truncate">TQMemArray</a> <a href="ntqstring.html#truncate">TQString</a><li>tryAccess: <a href="ntqsemaphore.html#tryAccess">TQSemaphore</a><li>tryLock: <a href="ntqapplication.html#tryLock">TQApplication</a> <a href="ntqmutex.html#tryLock">TQMutex</a><li>tryTerminate: <a href="ntqprocess.html#tryTerminate">TQProcess</a><li>turnOffChild: <a href="qchecklistitem.html#turnOffChild">TQCheckListItem</a><li>type: - <a href="ntqapplication.html#type">TQApplication</a> <a href="qchecklistitem.html#type">TQCheckListItem</a> <a href="ntqevent.html#type">TQEvent</a> <a href="qmetaproperty.html#type">TQMetaProperty</a> <a href="qnpstream.html#type">TQNPStream</a> <a href="ntqsocketdevice.html#type">TQSocketDevice</a> <a href="ntqsocketnotifier.html#type">TQSocketNotifier</a> <a href="ntqsqlerror.html#type">TQSqlError</a> <a href="ntqsqlfield.html#type">TQSqlField</a> <a href="qsqlfieldinfo.html#type">TQSqlFieldInfo</a> <a href="ntqvariant.html#type">TQVariant</a> <a href="qxmlattributes.html#type">TQXmlAttributes</a><li>typeID: - <a href="qsqlfieldinfo.html#typeID">TQSqlFieldInfo</a><li>typeLibID: + <a href="ntqapplication.html#type">TQApplication</a> <a href="qchecklistitem.html#type">TQCheckListItem</a> <a href="ntqevent.html#type">TQEvent</a> <a href="qmetaproperty.html#type">TQMetaProperty</a> <a href="qnpstream.html#type">TQNPStream</a> <a href="ntqsocketdevice.html#type">TQSocketDevice</a> <a href="ntqsocketnotifier.html#type">TQSocketNotifier</a> <a href="tqsqlerror.html#type">TQSqlError</a> <a href="tqsqlfield.html#type">TQSqlField</a> <a href="tqsqlfieldinfo.html#type">TQSqlFieldInfo</a> <a href="ntqvariant.html#type">TQVariant</a> <a href="qxmlattributes.html#type">TQXmlAttributes</a><li>typeID: + <a href="tqsqlfieldinfo.html#typeID">TQSqlFieldInfo</a><li>typeLibID: <a href="qaxfactory.html#typeLibID">TQAxFactory</a><li>typeName: <a href="ntqvariant.html#typeName">TQVariant</a><li>typeToName: <a href="ntqvariant.html#typeToName">TQVariant</a><li><a name="u"></a> @@ -3521,13 +3521,13 @@ ucs2: <a href="ntqtranslator.html#unsqueeze">TQTranslator</a><li>unuseJavaClass: <a href="qnplugin.html#unuseJavaClass">TQNPlugin</a><li>upRect: <a href="ntqspinbox.html#upRect">TQSpinBox</a><li>update: - <a href="ntqcanvas.html#update">TQCanvas</a> <a href="qcanvasitem.html#update">TQCanvasItem</a> <a href="ntqdatabrowser.html#update">TQDataBrowser</a> <a href="ntqsqlcursor.html#update">TQSqlCursor</a> <a href="ntqwidget.html#update">TQWidget</a><li>updateAccessibility: + <a href="ntqcanvas.html#update">TQCanvas</a> <a href="qcanvasitem.html#update">TQCanvasItem</a> <a href="tqdatabrowser.html#update">TQDataBrowser</a> <a href="tqsqlcursor.html#update">TQSqlCursor</a> <a href="ntqwidget.html#update">TQWidget</a><li>updateAccessibility: <a href="ntqaccessible.html#updateAccessibility">TQAccessible</a><li>updateBoundary: - <a href="ntqdatabrowser.html#updateBoundary">TQDataBrowser</a><li>updateButtons: + <a href="tqdatabrowser.html#updateBoundary">TQDataBrowser</a><li>updateButtons: <a href="qdateedit.html#updateButtons">TQDateEdit</a><li>updateCell: <a href="ntqgridview.html#updateCell">TQGridView</a> <a href="ntqtable.html#updateCell">TQTable</a><li>updateContents: <a href="ntqlistview.html#updateContents">TQListView</a> <a href="ntqscrollview.html#updateContents">TQScrollView</a><li>updateCurrent: - <a href="ntqdatabrowser.html#updateCurrent">TQDataBrowser</a> <a href="ntqdatatable.html#updateCurrent">TQDataTable</a><li>updateDisplay: + <a href="tqdatabrowser.html#updateCurrent">TQDataBrowser</a> <a href="tqdatatable.html#updateCurrent">TQDataTable</a><li>updateDisplay: <a href="ntqspinbox.html#updateDisplay">TQSpinBox</a><li>updateGL: <a href="qglwidget.html#updateGL">TQGLWidget</a><li>updateGeometry: <a href="ntqwidget.html#updateGeometry">TQWidget</a><li>updateHeaderStates: @@ -3544,7 +3544,7 @@ ucs2: <a href="ntqmotifstyle.html#useHighlightColors">TQMotifStyle</a><li>user: <a href="ntqurl.html#user">TQUrl</a><li>userAgent: <a href="qnpinstance.html#userAgent">TQNPInstance</a><li>userName: - <a href="ntqsqldatabase.html#userName">TQSqlDatabase</a><li>uses3D: + <a href="tqsqldatabase.html#userName">TQSqlDatabase</a><li>uses3D: <a href="ntqtoolbutton.html#uses3D">TQToolButton</a><li>usesBigPixmap: <a href="ntqtoolbutton.html#usesBigPixmap">TQToolButton</a><li>usesBigPixmaps: <a href="ntqmainwindow.html#usesBigPixmaps">TQMainWindow</a><li>usesDropDown: @@ -3560,7 +3560,7 @@ vScrollBarMode: <a href="qdoublevalidator.html#validate">TQDoubleValidator</a> <a href="qintvalidator.html#validate">TQIntValidator</a> <a href="qregexpvalidator.html#validate">TQRegExpValidator</a> <a href="ntqvalidator.html#validate">TQValidator</a><li>validateLicenseKey: <a href="qaxfactory.html#validateLicenseKey">TQAxFactory</a><li>validator: <a href="ntqcombobox.html#validator">TQComboBox</a> <a href="ntqlineedit.html#validator">TQLineEdit</a> <a href="ntqspinbox.html#validator">TQSpinBox</a><li>value: - <a href="ntqdatatable.html#value">TQDataTable</a> <a href="ntqdial.html#value">TQDial</a> <a href="qdomattr.html#value">TQDomAttr</a> <a href="qhttpheader.html#value">TQHttpHeader</a> <a href="qhttpheader.html#value">TQHttpRequestHeader</a> <a href="ntqlcdnumber.html#value">TQLCDNumber</a> <a href="ntqrangecontrol.html#value">TQRangeControl</a> <a href="ntqscrollbar.html#value">TQScrollBar</a> <a href="ntqsignal.html#value">TQSignal</a> <a href="ntqslider.html#value">TQSlider</a> <a href="ntqspinbox.html#value">TQSpinBox</a> <a href="ntqsqlfield.html#value">TQSqlField</a> <a href="ntqsqlquery.html#value">TQSqlQuery</a> <a href="ntqsqlrecord.html#value">TQSqlRecord</a> <a href="qxmlattributes.html#value">TQXmlAttributes</a><li>valueChange: + <a href="tqdatatable.html#value">TQDataTable</a> <a href="ntqdial.html#value">TQDial</a> <a href="qdomattr.html#value">TQDomAttr</a> <a href="qhttpheader.html#value">TQHttpHeader</a> <a href="qhttpheader.html#value">TQHttpRequestHeader</a> <a href="ntqlcdnumber.html#value">TQLCDNumber</a> <a href="ntqrangecontrol.html#value">TQRangeControl</a> <a href="ntqscrollbar.html#value">TQScrollBar</a> <a href="ntqsignal.html#value">TQSignal</a> <a href="ntqslider.html#value">TQSlider</a> <a href="ntqspinbox.html#value">TQSpinBox</a> <a href="tqsqlfield.html#value">TQSqlField</a> <a href="tqsqlquery.html#value">TQSqlQuery</a> <a href="tqsqlrecord.html#value">TQSqlRecord</a> <a href="qxmlattributes.html#value">TQXmlAttributes</a><li>valueChange: <a href="ntqdial.html#valueChange">TQDial</a> <a href="ntqrangecontrol.html#valueChange">TQRangeControl</a> <a href="ntqslider.html#valueChange">TQSlider</a> <a href="ntqspinbox.html#valueChange">TQSpinBox</a><li>valueChanged: <a href="qdateedit.html#valueChanged">TQDateEdit</a> <a href="ntqdatetimeedit.html#valueChanged">TQDateTimeEdit</a> <a href="ntqdial.html#valueChanged">TQDial</a> <a href="ntqscrollbar.html#valueChanged">TQScrollBar</a> <a href="ntqslider.html#valueChanged">TQSlider</a> <a href="ntqspinbox.html#valueChanged">TQSpinBox</a> <a href="ntqtable.html#valueChanged">TQTable</a> <a href="qtimeedit.html#valueChanged">TQTimeEdit</a><li>valueFromPosition: <a href="ntqrangecontrol.html#valueFromPosition">TQRangeControl</a><li>valueToKey: @@ -3605,10 +3605,10 @@ wait: <a href="ntqwidget.html#wheelEvent">TQWidget</a><li>wheelScrollLines: <a href="ntqapplication.html#wheelScrollLines">TQApplication</a><li>whiteSpaceMode: <a href="qstylesheetitem.html#whiteSpaceMode">TQStyleSheetItem</a><li>widget: - <a href="qaxaggregated.html#widget">TQAxAggregated</a> <a href="ntqdockwindow.html#widget">TQDockWindow</a> <a href="qlayoutitem.html#widget">TQLayoutItem</a> <a href="qnpinstance.html#widget">TQNPInstance</a> <a href="ntqsqlform.html#widget">TQSqlForm</a> <a href="qstyleoption.html#widget">TQStyleOption</a> <a href="qwidgetitem.html#widget">TQWidgetItem</a> <a href="ntqwidgetstack.html#widget">TQWidgetStack</a><li>widgetAt: + <a href="qaxaggregated.html#widget">TQAxAggregated</a> <a href="ntqdockwindow.html#widget">TQDockWindow</a> <a href="qlayoutitem.html#widget">TQLayoutItem</a> <a href="qnpinstance.html#widget">TQNPInstance</a> <a href="tqsqlform.html#widget">TQSqlForm</a> <a href="qstyleoption.html#widget">TQStyleOption</a> <a href="qwidgetitem.html#widget">TQWidgetItem</a> <a href="ntqwidgetstack.html#widget">TQWidgetStack</a><li>widgetAt: <a href="ntqapplication.html#widgetAt">TQApplication</a><li>widgetSizePolicy: <a href="qmacstyle.html#widgetSizePolicy">TQMacStyle</a><li>widgetToField: - <a href="ntqsqlform.html#widgetToField">TQSqlForm</a><li>widgets: + <a href="tqsqlform.html#widgetToField">TQSqlForm</a><li>widgets: <a href="ntqwidgetfactory.html#widgets">TQWidgetFactory</a><li>width: <a href="ntqcanvas.html#width">TQCanvas</a> <a href="qcanvasellipse.html#width">TQCanvasEllipse</a> <a href="qcanvasrectangle.html#width">TQCanvasRectangle</a> <a href="qcanvassprite.html#width">TQCanvasSprite</a> <a href="qdirectpainter.html#width">TQDirectPainter</a> <a href="ntqfontmetrics.html#width">TQFontMetrics</a> <a href="qiconviewitem.html#width">TQIconViewItem</a> <a href="ntqimage.html#width">TQImage</a> <a href="qlistboxitem.html#width">TQListBoxItem</a> <a href="qlistboxpixmap.html#width">TQListBoxPixmap</a> <a href="qlistboxtext.html#width">TQListBoxText</a> <a href="qlistviewitem.html#width">TQListViewItem</a> <a href="ntqpaintdevicemetrics.html#width">TQPaintDeviceMetrics</a> <a href="ntqpen.html#width">TQPen</a> <a href="ntqpixmap.html#width">TQPixmap</a> <a href="ntqrect.html#width">TQRect</a> <a href="qscreen.html#width">TQScreen</a> <a href="ntqsimplerichtext.html#width">TQSimpleRichText</a> <a href="ntqsize.html#width">TQSize</a> <a href="ntqtextstream.html#width">TQTextStream</a> <a href="ntqwidget.html#width">TQWidget</a><li>widthChanged: <a href="qlistviewitem.html#widthChanged">TQListViewItem</a><li>widthMM: @@ -3642,8 +3642,8 @@ wait: <a href="ntqbuffer.html#writeBlock">TQBuffer</a> <a href="ntqiodevice.html#writeBlock">TQIODevice</a> <a href="ntqsocket.html#writeBlock">TQSocket</a> <a href="ntqsocketdevice.html#writeBlock">TQSocketDevice</a><li>writeBytes: <a href="ntqdatastream.html#writeBytes">TQDataStream</a><li>writeEntry: <a href="ntqsettings.html#writeEntry">TQSettings</a><li>writeField: - <a href="ntqsqlform.html#writeField">TQSqlForm</a><li>writeFields: - <a href="ntqdatabrowser.html#writeFields">TQDataBrowser</a> <a href="ntqdataview.html#writeFields">TQDataView</a> <a href="ntqsqlform.html#writeFields">TQSqlForm</a><li>writeRawBytes: + <a href="tqsqlform.html#writeField">TQSqlForm</a><li>writeFields: + <a href="tqdatabrowser.html#writeFields">TQDataBrowser</a> <a href="tqdataview.html#writeFields">TQDataView</a> <a href="tqsqlform.html#writeFields">TQSqlForm</a><li>writeRawBytes: <a href="ntqdatastream.html#writeRawBytes">TQDataStream</a> <a href="ntqtextstream.html#writeRawBytes">TQTextStream</a><li>writeReady: <a href="qnpinstance.html#writeReady">TQNPInstance</a><li>writeToStdin: <a href="ntqprocess.html#writeToStdin">TQProcess</a><li>wroteToStdin: diff --git a/doc/html/headerfilesynonyms b/doc/html/headerfilesynonyms index c2667a17e..32b19854c 100644 --- a/doc/html/headerfilesynonyms +++ b/doc/html/headerfilesynonyms @@ -129,8 +129,8 @@ qpngimagepacker.h ntqpngio.h qptrdictiterator.h ntqptrdict.h qptrlistiterator.h ntqptrlist.h qhebrewcodec.h ntqrtlcodec.h -qsqlfieldinfo.h ntqsqlfield.h -qsqlrecordinfo.h ntqsqlrecord.h +tqsqlfieldinfo.h tqsqlfield.h +tqsqlrecordinfo.h tqsqlrecord.h qchar.h ntqstring.h qcharref.h ntqstring.h qconststring.h ntqstring.h diff --git a/doc/html/headers.html b/doc/html/headers.html index 1c1867c87..e842284ce 100644 --- a/doc/html/headers.html +++ b/doc/html/headers.html @@ -69,10 +69,10 @@ body { background: #ffffff; color: black; } <li><a href="qcopchannel_qws-h.html">qcopchannel_qws.h</a> <li><a href="qcstring-h.html">ntqcstring.h</a> <li><a href="qcursor-h.html">ntqcursor.h</a> -<li><a href="qdatabrowser-h.html">ntqdatabrowser.h</a> +<li><a href="tqdatabrowser-h.html">tqdatabrowser.h</a> <li><a href="qdatastream-h.html">ntqdatastream.h</a> -<li><a href="qdatatable-h.html">ntqdatatable.h</a> -<li><a href="qdataview-h.html">ntqdataview.h</a> +<li><a href="tqdatatable-h.html">tqdatatable.h</a> +<li><a href="tqdataview-h.html">tqdataview.h</a> <li><a href="qdatetime-h.html">ntqdatetime.h</a> <li><a href="qdatetimeedit-h.html">ntqdatetimeedit.h</a> <li><a href="qdeepcopy-h.html">ntqdeepcopy.h</a> @@ -89,7 +89,7 @@ body { background: #ffffff; color: black; } <li><a href="qdragobject-h.html">ntqdragobject.h</a> <li><a href="qdrawutil-h.html">ntqdrawutil.h</a> <li><a href="qdropsite-h.html">ntqdropsite.h</a> -<li><a href="qeditorfactory-h.html">ntqeditorfactory.h</a> +<li><a href="tqeditorfactory-h.html">tqeditorfactory.h</a> <li><a href="qerrormessage-h.html">ntqerrormessage.h</a> <li><a href="qeucjpcodec-h.html">ntqeucjpcodec.h</a> <li><a href="qeuckrcodec-h.html">ntqeuckrcodec.h</a> @@ -225,21 +225,21 @@ body { background: #ffffff; color: black; } <li><a href="qspinbox-h.html">ntqspinbox.h</a> <li><a href="qsplashscreen-h.html">ntqsplashscreen.h</a> <li><a href="qsplitter-h.html">ntqsplitter.h</a> -<li><a href="qsql-h.html">ntqsql.h</a> -<li><a href="qsqlcursor-h.html">ntqsqlcursor.h</a> -<li><a href="qsqldatabase-h.html">ntqsqldatabase.h</a> -<li><a href="qsqldriver-h.html">ntqsqldriver.h</a> -<li><a href="qsqldriverplugin-h.html">ntqsqldriverplugin.h</a> -<li><a href="qsqleditorfactory-h.html">ntqsqleditorfactory.h</a> -<li><a href="qsqlerror-h.html">ntqsqlerror.h</a> -<li><a href="qsqlfield-h.html">ntqsqlfield.h</a> -<li><a href="qsqlform-h.html">ntqsqlform.h</a> -<li><a href="qsqlindex-h.html">ntqsqlindex.h</a> -<li><a href="qsqlpropertymap-h.html">ntqsqlpropertymap.h</a> -<li><a href="qsqlquery-h.html">ntqsqlquery.h</a> -<li><a href="qsqlrecord-h.html">ntqsqlrecord.h</a> -<li><a href="qsqlresult-h.html">ntqsqlresult.h</a> -<li><a href="qsqlselectcursor-h.html">ntqsqlselectcursor.h</a> +<li><a href="tqsql-h.html">tqsql.h</a> +<li><a href="tqsqlcursor-h.html">tqsqlcursor.h</a> +<li><a href="tqsqldatabase-h.html">tqsqldatabase.h</a> +<li><a href="tqsqldriver-h.html">tqsqldriver.h</a> +<li><a href="tqsqldriverplugin-h.html">tqsqldriverplugin.h</a> +<li><a href="tqsqleditorfactory-h.html">tqsqleditorfactory.h</a> +<li><a href="tqsqlerror-h.html">tqsqlerror.h</a> +<li><a href="tqsqlfield-h.html">tqsqlfield.h</a> +<li><a href="tqsqlform-h.html">tqsqlform.h</a> +<li><a href="tqsqlindex-h.html">tqsqlindex.h</a> +<li><a href="tqsqlpropertymap-h.html">tqsqlpropertymap.h</a> +<li><a href="tqsqlquery-h.html">tqsqlquery.h</a> +<li><a href="tqsqlrecord-h.html">tqsqlrecord.h</a> +<li><a href="tqsqlresult-h.html">tqsqlresult.h</a> +<li><a href="tqsqlselectcursor-h.html">tqsqlselectcursor.h</a> <li><a href="qstatusbar-h.html">ntqstatusbar.h</a> <li><a href="qstring-h.html">ntqstring.h</a> <li><a href="qstringlist-h.html">ntqstringlist.h</a> diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index c96f91121..7cb3b9cba 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -229,23 +229,23 @@ classes in the TQt API. <li><a href="ntqsimplerichtext.html">TQSimpleRichText</a> <li><a href="ntqsize.html">TQSize</a> <li><a href="ntqsizepolicy.html">TQSizePolicy</a> -<li><a href="ntqsql.html">TQSql</a> -<li><a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a> -<li><a href="ntqsqlerror.html">TQSqlError</a> -<li><a href="ntqsqlfield.html">TQSqlField</a> -<li><a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> -<li><a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> -<li><a href="ntqsqlquery.html">TQSqlQuery</a> -<li><a href="ntqsqlrecord.html">TQSqlRecord</a> +<li><a href="tqsql.html">TQSql</a> +<li><a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a> +<li><a href="tqsqlerror.html">TQSqlError</a> +<li><a href="tqsqlfield.html">TQSqlField</a> +<li><a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> +<li><a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> +<li><a href="tqsqlquery.html">TQSqlQuery</a> +<li><a href="tqsqlrecord.html">TQSqlRecord</a> <ul> -<li><a href="ntqsqlcursor.html">TQSqlCursor</a> +<li><a href="tqsqlcursor.html">TQSqlCursor</a> <ul> -<li><a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a> +<li><a href="tqsqlselectcursor.html">TQSqlSelectCursor</a> </ul> -<li><a href="ntqsqlindex.html">TQSqlIndex</a> +<li><a href="tqsqlindex.html">TQSqlIndex</a> </ul> -<li><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> -<li><a href="ntqsqlresult.html">TQSqlResult</a> +<li><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> +<li><a href="tqsqlresult.html">TQSqlResult</a> <li><a href="ntqstring.html">TQString</a> <li><a href="ntqstylefactory.html">TQStyleFactory</a> <li><a href="qstyleoption.html">TQStyleOption</a> @@ -336,9 +336,9 @@ classes in the TQt API. </ul> <li><a href="qtextdrag.html">TQTextDrag</a> </ul> -<li><a href="ntqeditorfactory.html">TQEditorFactory</a> +<li><a href="tqeditorfactory.html">TQEditorFactory</a> <ul> -<li><a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> +<li><a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> </ul> <li><a href="ntqeventloop.html">TQEventLoop</a> <ul> @@ -371,9 +371,9 @@ classes in the TQt API. <li><a href="ntqsocket.html">TQSocket</a> <li><a href="ntqsocketnotifier.html">TQSocketNotifier</a> <li><a href="ntqsound.html">TQSound</a> -<li><a href="ntqsqldatabase.html">TQSqlDatabase</a> -<li><a href="ntqsqldriver.html">TQSqlDriver</a> -<li><a href="ntqsqlform.html">TQSqlForm</a> +<li><a href="tqsqldatabase.html">TQSqlDatabase</a> +<li><a href="tqsqldriver.html">TQSqlDriver</a> +<li><a href="tqsqlform.html">TQSqlForm</a> <li><a href="ntqstyle.html">TQStyle</a> <ul> <li><a href="ntqcommonstyle.html">TQCommonStyle</a> @@ -413,8 +413,8 @@ classes in the TQt API. <li><a href="ntqtoolbutton.html">TQToolButton</a> </ul> <li><a href="ntqcombobox.html">TQComboBox</a> -<li><a href="ntqdatabrowser.html">TQDataBrowser</a> -<li><a href="ntqdataview.html">TQDataView</a> +<li><a href="tqdatabrowser.html">TQDataBrowser</a> +<li><a href="tqdataview.html">TQDataView</a> <li><a href="ntqdatetimeedit.html">TQDateTimeEdit</a> <li><a href="qdatetimeeditbase.html">TQDateTimeEditBase</a> <ul> @@ -473,7 +473,7 @@ classes in the TQt API. <li><a href="ntqlistview.html">TQListView</a> <li><a href="ntqtable.html">TQTable</a> <ul> -<li><a href="ntqdatatable.html">TQDataTable</a> +<li><a href="tqdatatable.html">TQDataTable</a> </ul> <li><a href="ntqtextedit.html">TQTextEdit</a> <ul> diff --git a/doc/html/index b/doc/html/index index b1e2ac680..a281b7085 100644 --- a/doc/html/index +++ b/doc/html/index @@ -1206,76 +1206,76 @@ "QCustomMenuItem::setFont" qcustommenuitem.html#setFont "QCustomMenuItem::sizeHint" qcustommenuitem.html#sizeHint "QCustomMenuItem::~QCustomMenuItem" qcustommenuitem.html#~QCustomMenuItem -"QDataBrowser" ntqdatabrowser.html -"QDataBrowser::Boundary" ntqdatabrowser.html#Boundary -"QDataBrowser::autoEdit" ntqdatabrowser.html#autoEdit -"QDataBrowser::autoEdit" ntqdatabrowser.html#autoEdit-prop -"QDataBrowser::beforeDelete" ntqdatabrowser.html#beforeDelete -"QDataBrowser::beforeInsert" ntqdatabrowser.html#beforeInsert -"QDataBrowser::beforeUpdate" ntqdatabrowser.html#beforeUpdate -"QDataBrowser::boundary" ntqdatabrowser.html#boundary -"QDataBrowser::boundaryChecking" ntqdatabrowser.html#boundaryChecking -"QDataBrowser::boundaryChecking" ntqdatabrowser.html#boundaryChecking-prop -"QDataBrowser::clearValues" ntqdatabrowser.html#clearValues -"QDataBrowser::confirmCancel" ntqdatabrowser.html#confirmCancel -"QDataBrowser::confirmCancels" ntqdatabrowser.html#confirmCancels -"QDataBrowser::confirmCancels" ntqdatabrowser.html#confirmCancels-prop -"QDataBrowser::confirmDelete" ntqdatabrowser.html#confirmDelete -"QDataBrowser::confirmDelete" ntqdatabrowser.html#confirmDelete-prop -"QDataBrowser::confirmEdit" ntqdatabrowser.html#confirmEdit -"QDataBrowser::confirmEdits" ntqdatabrowser.html#confirmEdits -"QDataBrowser::confirmEdits" ntqdatabrowser.html#confirmEdits-prop -"QDataBrowser::confirmInsert" ntqdatabrowser.html#confirmInsert -"QDataBrowser::confirmInsert" ntqdatabrowser.html#confirmInsert-prop -"QDataBrowser::confirmUpdate" ntqdatabrowser.html#confirmUpdate -"QDataBrowser::confirmUpdate" ntqdatabrowser.html#confirmUpdate-prop -"QDataBrowser::currentChanged" ntqdatabrowser.html#currentChanged -"QDataBrowser::currentEdited" ntqdatabrowser.html#currentEdited -"QDataBrowser::cursorChanged" ntqdatabrowser.html#cursorChanged -"QDataBrowser::del" ntqdatabrowser.html#del -"QDataBrowser::deleteCurrent" ntqdatabrowser.html#deleteCurrent -"QDataBrowser::filter" ntqdatabrowser.html#filter -"QDataBrowser::filter" ntqdatabrowser.html#filter-prop -"QDataBrowser::first" ntqdatabrowser.html#first -"QDataBrowser::firstRecordAvailable" ntqdatabrowser.html#firstRecordAvailable -"QDataBrowser::form" ntqdatabrowser.html#form -"QDataBrowser::handleError" ntqdatabrowser.html#handleError -"QDataBrowser::insert" ntqdatabrowser.html#insert -"QDataBrowser::insertCurrent" ntqdatabrowser.html#insertCurrent -"QDataBrowser::isReadOnly" ntqdatabrowser.html#isReadOnly -"QDataBrowser::last" ntqdatabrowser.html#last -"QDataBrowser::lastRecordAvailable" ntqdatabrowser.html#lastRecordAvailable -"QDataBrowser::next" ntqdatabrowser.html#next -"QDataBrowser::nextRecordAvailable" ntqdatabrowser.html#nextRecordAvailable -"QDataBrowser::prev" ntqdatabrowser.html#prev -"QDataBrowser::prevRecordAvailable" ntqdatabrowser.html#prevRecordAvailable -"QDataBrowser::primeDelete" ntqdatabrowser.html#primeDelete -"QDataBrowser::primeInsert" ntqdatabrowser.html#primeInsert -"QDataBrowser::primeUpdate" ntqdatabrowser.html#primeUpdate -"QDataBrowser::readFields" ntqdatabrowser.html#readFields -"QDataBrowser::readOnly" ntqdatabrowser.html#readOnly-prop -"QDataBrowser::refresh" ntqdatabrowser.html#refresh -"QDataBrowser::seek" ntqdatabrowser.html#seek -"QDataBrowser::setAutoEdit" ntqdatabrowser.html#setAutoEdit -"QDataBrowser::setBoundaryChecking" ntqdatabrowser.html#setBoundaryChecking -"QDataBrowser::setConfirmCancels" ntqdatabrowser.html#setConfirmCancels -"QDataBrowser::setConfirmDelete" ntqdatabrowser.html#setConfirmDelete -"QDataBrowser::setConfirmEdits" ntqdatabrowser.html#setConfirmEdits -"QDataBrowser::setConfirmInsert" ntqdatabrowser.html#setConfirmInsert -"QDataBrowser::setConfirmUpdate" ntqdatabrowser.html#setConfirmUpdate -"QDataBrowser::setFilter" ntqdatabrowser.html#setFilter -"QDataBrowser::setForm" ntqdatabrowser.html#setForm -"QDataBrowser::setReadOnly" ntqdatabrowser.html#setReadOnly -"QDataBrowser::setSort" ntqdatabrowser.html#setSort -"QDataBrowser::setSqlCursor" ntqdatabrowser.html#setSqlCursor -"QDataBrowser::sort" ntqdatabrowser.html#sort -"QDataBrowser::sort" ntqdatabrowser.html#sort-prop -"QDataBrowser::sqlCursor" ntqdatabrowser.html#sqlCursor -"QDataBrowser::update" ntqdatabrowser.html#update -"QDataBrowser::updateBoundary" ntqdatabrowser.html#updateBoundary -"QDataBrowser::updateCurrent" ntqdatabrowser.html#updateCurrent -"QDataBrowser::writeFields" ntqdatabrowser.html#writeFields -"QDataBrowser::~QDataBrowser" ntqdatabrowser.html#~QDataBrowser +"TQDataBrowser" tqdatabrowser.html +"TQDataBrowser::Boundary" tqdatabrowser.html#Boundary +"TQDataBrowser::autoEdit" tqdatabrowser.html#autoEdit +"TQDataBrowser::autoEdit" tqdatabrowser.html#autoEdit-prop +"TQDataBrowser::beforeDelete" tqdatabrowser.html#beforeDelete +"TQDataBrowser::beforeInsert" tqdatabrowser.html#beforeInsert +"TQDataBrowser::beforeUpdate" tqdatabrowser.html#beforeUpdate +"TQDataBrowser::boundary" tqdatabrowser.html#boundary +"TQDataBrowser::boundaryChecking" tqdatabrowser.html#boundaryChecking +"TQDataBrowser::boundaryChecking" tqdatabrowser.html#boundaryChecking-prop +"TQDataBrowser::clearValues" tqdatabrowser.html#clearValues +"TQDataBrowser::confirmCancel" tqdatabrowser.html#confirmCancel +"TQDataBrowser::confirmCancels" tqdatabrowser.html#confirmCancels +"TQDataBrowser::confirmCancels" tqdatabrowser.html#confirmCancels-prop +"TQDataBrowser::confirmDelete" tqdatabrowser.html#confirmDelete +"TQDataBrowser::confirmDelete" tqdatabrowser.html#confirmDelete-prop +"TQDataBrowser::confirmEdit" tqdatabrowser.html#confirmEdit +"TQDataBrowser::confirmEdits" tqdatabrowser.html#confirmEdits +"TQDataBrowser::confirmEdits" tqdatabrowser.html#confirmEdits-prop +"TQDataBrowser::confirmInsert" tqdatabrowser.html#confirmInsert +"TQDataBrowser::confirmInsert" tqdatabrowser.html#confirmInsert-prop +"TQDataBrowser::confirmUpdate" tqdatabrowser.html#confirmUpdate +"TQDataBrowser::confirmUpdate" tqdatabrowser.html#confirmUpdate-prop +"TQDataBrowser::currentChanged" tqdatabrowser.html#currentChanged +"TQDataBrowser::currentEdited" tqdatabrowser.html#currentEdited +"TQDataBrowser::cursorChanged" tqdatabrowser.html#cursorChanged +"TQDataBrowser::del" tqdatabrowser.html#del +"TQDataBrowser::deleteCurrent" tqdatabrowser.html#deleteCurrent +"TQDataBrowser::filter" tqdatabrowser.html#filter +"TQDataBrowser::filter" tqdatabrowser.html#filter-prop +"TQDataBrowser::first" tqdatabrowser.html#first +"TQDataBrowser::firstRecordAvailable" tqdatabrowser.html#firstRecordAvailable +"TQDataBrowser::form" tqdatabrowser.html#form +"TQDataBrowser::handleError" tqdatabrowser.html#handleError +"TQDataBrowser::insert" tqdatabrowser.html#insert +"TQDataBrowser::insertCurrent" tqdatabrowser.html#insertCurrent +"TQDataBrowser::isReadOnly" tqdatabrowser.html#isReadOnly +"TQDataBrowser::last" tqdatabrowser.html#last +"TQDataBrowser::lastRecordAvailable" tqdatabrowser.html#lastRecordAvailable +"TQDataBrowser::next" tqdatabrowser.html#next +"TQDataBrowser::nextRecordAvailable" tqdatabrowser.html#nextRecordAvailable +"TQDataBrowser::prev" tqdatabrowser.html#prev +"TQDataBrowser::prevRecordAvailable" tqdatabrowser.html#prevRecordAvailable +"TQDataBrowser::primeDelete" tqdatabrowser.html#primeDelete +"TQDataBrowser::primeInsert" tqdatabrowser.html#primeInsert +"TQDataBrowser::primeUpdate" tqdatabrowser.html#primeUpdate +"TQDataBrowser::readFields" tqdatabrowser.html#readFields +"TQDataBrowser::readOnly" tqdatabrowser.html#readOnly-prop +"TQDataBrowser::refresh" tqdatabrowser.html#refresh +"TQDataBrowser::seek" tqdatabrowser.html#seek +"TQDataBrowser::setAutoEdit" tqdatabrowser.html#setAutoEdit +"TQDataBrowser::setBoundaryChecking" tqdatabrowser.html#setBoundaryChecking +"TQDataBrowser::setConfirmCancels" tqdatabrowser.html#setConfirmCancels +"TQDataBrowser::setConfirmDelete" tqdatabrowser.html#setConfirmDelete +"TQDataBrowser::setConfirmEdits" tqdatabrowser.html#setConfirmEdits +"TQDataBrowser::setConfirmInsert" tqdatabrowser.html#setConfirmInsert +"TQDataBrowser::setConfirmUpdate" tqdatabrowser.html#setConfirmUpdate +"TQDataBrowser::setFilter" tqdatabrowser.html#setFilter +"TQDataBrowser::setForm" tqdatabrowser.html#setForm +"TQDataBrowser::setReadOnly" tqdatabrowser.html#setReadOnly +"TQDataBrowser::setSort" tqdatabrowser.html#setSort +"TQDataBrowser::setSqlCursor" tqdatabrowser.html#setSqlCursor +"TQDataBrowser::sort" tqdatabrowser.html#sort +"TQDataBrowser::sort" tqdatabrowser.html#sort-prop +"TQDataBrowser::sqlCursor" tqdatabrowser.html#sqlCursor +"TQDataBrowser::update" tqdatabrowser.html#update +"TQDataBrowser::updateBoundary" tqdatabrowser.html#updateBoundary +"TQDataBrowser::updateCurrent" tqdatabrowser.html#updateCurrent +"TQDataBrowser::writeFields" tqdatabrowser.html#writeFields +"TQDataBrowser::~TQDataBrowser" tqdatabrowser.html#~TQDataBrowser "QDataSink::eof" qdatasink.html#eof "QDataSink::maybeReady" qdatasink.html#maybeReady "QDataSink::readyToReceive" qdatasink.html#readyToReceive @@ -1305,99 +1305,99 @@ "QDataStream::writeBytes" ntqdatastream.html#writeBytes "QDataStream::writeRawBytes" ntqdatastream.html#writeRawBytes "QDataStream::~QDataStream" ntqdatastream.html#~QDataStream -"QDataTable" ntqdatatable.html -"QDataTable::Refresh" ntqdatatable.html#Refresh -"QDataTable::addColumn" ntqdatatable.html#addColumn -"QDataTable::adjustColumn" ntqdatatable.html#adjustColumn -"QDataTable::autoDelete" ntqdatatable.html#autoDelete -"QDataTable::autoEdit" ntqdatatable.html#autoEdit -"QDataTable::autoEdit" ntqdatatable.html#autoEdit-prop -"QDataTable::beforeDelete" ntqdatatable.html#beforeDelete -"QDataTable::beforeInsert" ntqdatatable.html#beforeInsert -"QDataTable::beforeUpdate" ntqdatatable.html#beforeUpdate -"QDataTable::beginInsert" ntqdatatable.html#beginInsert -"QDataTable::beginUpdate" ntqdatatable.html#beginUpdate -"QDataTable::confirmCancel" ntqdatatable.html#confirmCancel -"QDataTable::confirmCancels" ntqdatatable.html#confirmCancels -"QDataTable::confirmCancels" ntqdatatable.html#confirmCancels-prop -"QDataTable::confirmDelete" ntqdatatable.html#confirmDelete -"QDataTable::confirmDelete" ntqdatatable.html#confirmDelete-prop -"QDataTable::confirmEdit" ntqdatatable.html#confirmEdit -"QDataTable::confirmEdits" ntqdatatable.html#confirmEdits -"QDataTable::confirmEdits" ntqdatatable.html#confirmEdits-prop -"QDataTable::confirmInsert" ntqdatatable.html#confirmInsert -"QDataTable::confirmInsert" ntqdatatable.html#confirmInsert-prop -"QDataTable::confirmUpdate" ntqdatatable.html#confirmUpdate -"QDataTable::confirmUpdate" ntqdatatable.html#confirmUpdate-prop -"QDataTable::currentChanged" ntqdatatable.html#currentChanged -"QDataTable::currentRecord" ntqdatatable.html#currentRecord -"QDataTable::cursorChanged" ntqdatatable.html#cursorChanged -"QDataTable::dateFormat" ntqdatatable.html#dateFormat -"QDataTable::dateFormat" ntqdatatable.html#dateFormat-prop -"QDataTable::deleteCurrent" ntqdatatable.html#deleteCurrent -"QDataTable::falseText" ntqdatatable.html#falseText -"QDataTable::falseText" ntqdatatable.html#falseText-prop -"QDataTable::fieldAlignment" ntqdatatable.html#fieldAlignment -"QDataTable::filter" ntqdatatable.html#filter -"QDataTable::filter" ntqdatatable.html#filter-prop -"QDataTable::find" ntqdatatable.html#find -"QDataTable::handleError" ntqdatatable.html#handleError -"QDataTable::indexOf" ntqdatatable.html#indexOf -"QDataTable::insertCurrent" ntqdatatable.html#insertCurrent -"QDataTable::installEditorFactory" ntqdatatable.html#installEditorFactory -"QDataTable::installPropertyMap" ntqdatatable.html#installPropertyMap -"QDataTable::nullText" ntqdatatable.html#nullText -"QDataTable::nullText" ntqdatatable.html#nullText-prop -"QDataTable::numCols" ntqdatatable.html#numCols -"QDataTable::numCols" ntqdatatable.html#numCols-prop -"QDataTable::numRows" ntqdatatable.html#numRows -"QDataTable::numRows" ntqdatatable.html#numRows-prop -"QDataTable::paintField" ntqdatatable.html#paintField -"QDataTable::primeDelete" ntqdatatable.html#primeDelete -"QDataTable::primeInsert" ntqdatatable.html#primeInsert -"QDataTable::primeUpdate" ntqdatatable.html#primeUpdate -"QDataTable::refresh" ntqdatatable.html#refresh -"QDataTable::removeColumn" ntqdatatable.html#removeColumn -"QDataTable::reset" ntqdatatable.html#reset -"QDataTable::setAutoDelete" ntqdatatable.html#setAutoDelete -"QDataTable::setAutoEdit" ntqdatatable.html#setAutoEdit -"QDataTable::setColumn" ntqdatatable.html#setColumn -"QDataTable::setColumnWidth" ntqdatatable.html#setColumnWidth -"QDataTable::setConfirmCancels" ntqdatatable.html#setConfirmCancels -"QDataTable::setConfirmDelete" ntqdatatable.html#setConfirmDelete -"QDataTable::setConfirmEdits" ntqdatatable.html#setConfirmEdits -"QDataTable::setConfirmInsert" ntqdatatable.html#setConfirmInsert -"QDataTable::setConfirmUpdate" ntqdatatable.html#setConfirmUpdate -"QDataTable::setDateFormat" ntqdatatable.html#setDateFormat -"QDataTable::setFalseText" ntqdatatable.html#setFalseText -"QDataTable::setFilter" ntqdatatable.html#setFilter -"QDataTable::setNullText" ntqdatatable.html#setNullText -"QDataTable::setSize" ntqdatatable.html#setSize -"QDataTable::setSort" ntqdatatable.html#setSort -"QDataTable::setSqlCursor" ntqdatatable.html#setSqlCursor -"QDataTable::setTrueText" ntqdatatable.html#setTrueText -"QDataTable::sort" ntqdatatable.html#sort -"QDataTable::sort" ntqdatatable.html#sort-prop -"QDataTable::sortAscending" ntqdatatable.html#sortAscending -"QDataTable::sortColumn" ntqdatatable.html#sortColumn -"QDataTable::sortDescending" ntqdatatable.html#sortDescending -"QDataTable::sqlCursor" ntqdatatable.html#sqlCursor -"QDataTable::text" ntqdatatable.html#text -"QDataTable::trueText" ntqdatatable.html#trueText -"QDataTable::trueText" ntqdatatable.html#trueText-prop -"QDataTable::updateCurrent" ntqdatatable.html#updateCurrent -"QDataTable::value" ntqdatatable.html#value -"QDataTable::~QDataTable" ntqdatatable.html#~QDataTable -"QDataView" ntqdataview.html -"QDataView::clearValues" ntqdataview.html#clearValues -"QDataView::form" ntqdataview.html#form -"QDataView::readFields" ntqdataview.html#readFields -"QDataView::record" ntqdataview.html#record -"QDataView::refresh" ntqdataview.html#refresh -"QDataView::setForm" ntqdataview.html#setForm -"QDataView::setRecord" ntqdataview.html#setRecord -"QDataView::writeFields" ntqdataview.html#writeFields -"QDataView::~QDataView" ntqdataview.html#~QDataView +"TQDataTable" tqdatatable.html +"TQDataTable::Refresh" tqdatatable.html#Refresh +"TQDataTable::addColumn" tqdatatable.html#addColumn +"TQDataTable::adjustColumn" tqdatatable.html#adjustColumn +"TQDataTable::autoDelete" tqdatatable.html#autoDelete +"TQDataTable::autoEdit" tqdatatable.html#autoEdit +"TQDataTable::autoEdit" tqdatatable.html#autoEdit-prop +"TQDataTable::beforeDelete" tqdatatable.html#beforeDelete +"TQDataTable::beforeInsert" tqdatatable.html#beforeInsert +"TQDataTable::beforeUpdate" tqdatatable.html#beforeUpdate +"TQDataTable::beginInsert" tqdatatable.html#beginInsert +"TQDataTable::beginUpdate" tqdatatable.html#beginUpdate +"TQDataTable::confirmCancel" tqdatatable.html#confirmCancel +"TQDataTable::confirmCancels" tqdatatable.html#confirmCancels +"TQDataTable::confirmCancels" tqdatatable.html#confirmCancels-prop +"TQDataTable::confirmDelete" tqdatatable.html#confirmDelete +"TQDataTable::confirmDelete" tqdatatable.html#confirmDelete-prop +"TQDataTable::confirmEdit" tqdatatable.html#confirmEdit +"TQDataTable::confirmEdits" tqdatatable.html#confirmEdits +"TQDataTable::confirmEdits" tqdatatable.html#confirmEdits-prop +"TQDataTable::confirmInsert" tqdatatable.html#confirmInsert +"TQDataTable::confirmInsert" tqdatatable.html#confirmInsert-prop +"TQDataTable::confirmUpdate" tqdatatable.html#confirmUpdate +"TQDataTable::confirmUpdate" tqdatatable.html#confirmUpdate-prop +"TQDataTable::currentChanged" tqdatatable.html#currentChanged +"TQDataTable::currentRecord" tqdatatable.html#currentRecord +"TQDataTable::cursorChanged" tqdatatable.html#cursorChanged +"TQDataTable::dateFormat" tqdatatable.html#dateFormat +"TQDataTable::dateFormat" tqdatatable.html#dateFormat-prop +"TQDataTable::deleteCurrent" tqdatatable.html#deleteCurrent +"TQDataTable::falseText" tqdatatable.html#falseText +"TQDataTable::falseText" tqdatatable.html#falseText-prop +"TQDataTable::fieldAlignment" tqdatatable.html#fieldAlignment +"TQDataTable::filter" tqdatatable.html#filter +"TQDataTable::filter" tqdatatable.html#filter-prop +"TQDataTable::find" tqdatatable.html#find +"TQDataTable::handleError" tqdatatable.html#handleError +"TQDataTable::indexOf" tqdatatable.html#indexOf +"TQDataTable::insertCurrent" tqdatatable.html#insertCurrent +"TQDataTable::installEditorFactory" tqdatatable.html#installEditorFactory +"TQDataTable::installPropertyMap" tqdatatable.html#installPropertyMap +"TQDataTable::nullText" tqdatatable.html#nullText +"TQDataTable::nullText" tqdatatable.html#nullText-prop +"TQDataTable::numCols" tqdatatable.html#numCols +"TQDataTable::numCols" tqdatatable.html#numCols-prop +"TQDataTable::numRows" tqdatatable.html#numRows +"TQDataTable::numRows" tqdatatable.html#numRows-prop +"TQDataTable::paintField" tqdatatable.html#paintField +"TQDataTable::primeDelete" tqdatatable.html#primeDelete +"TQDataTable::primeInsert" tqdatatable.html#primeInsert +"TQDataTable::primeUpdate" tqdatatable.html#primeUpdate +"TQDataTable::refresh" tqdatatable.html#refresh +"TQDataTable::removeColumn" tqdatatable.html#removeColumn +"TQDataTable::reset" tqdatatable.html#reset +"TQDataTable::setAutoDelete" tqdatatable.html#setAutoDelete +"TQDataTable::setAutoEdit" tqdatatable.html#setAutoEdit +"TQDataTable::setColumn" tqdatatable.html#setColumn +"TQDataTable::setColumnWidth" tqdatatable.html#setColumnWidth +"TQDataTable::setConfirmCancels" tqdatatable.html#setConfirmCancels +"TQDataTable::setConfirmDelete" tqdatatable.html#setConfirmDelete +"TQDataTable::setConfirmEdits" tqdatatable.html#setConfirmEdits +"TQDataTable::setConfirmInsert" tqdatatable.html#setConfirmInsert +"TQDataTable::setConfirmUpdate" tqdatatable.html#setConfirmUpdate +"TQDataTable::setDateFormat" tqdatatable.html#setDateFormat +"TQDataTable::setFalseText" tqdatatable.html#setFalseText +"TQDataTable::setFilter" tqdatatable.html#setFilter +"TQDataTable::setNullText" tqdatatable.html#setNullText +"TQDataTable::setSize" tqdatatable.html#setSize +"TQDataTable::setSort" tqdatatable.html#setSort +"TQDataTable::setSqlCursor" tqdatatable.html#setSqlCursor +"TQDataTable::setTrueText" tqdatatable.html#setTrueText +"TQDataTable::sort" tqdatatable.html#sort +"TQDataTable::sort" tqdatatable.html#sort-prop +"TQDataTable::sortAscending" tqdatatable.html#sortAscending +"TQDataTable::sortColumn" tqdatatable.html#sortColumn +"TQDataTable::sortDescending" tqdatatable.html#sortDescending +"TQDataTable::sqlCursor" tqdatatable.html#sqlCursor +"TQDataTable::text" tqdatatable.html#text +"TQDataTable::trueText" tqdatatable.html#trueText +"TQDataTable::trueText" tqdatatable.html#trueText-prop +"TQDataTable::updateCurrent" tqdatatable.html#updateCurrent +"TQDataTable::value" tqdatatable.html#value +"TQDataTable::~TQDataTable" tqdatatable.html#~TQDataTable +"TQDataView" tqdataview.html +"TQDataView::clearValues" tqdataview.html#clearValues +"TQDataView::form" tqdataview.html#form +"TQDataView::readFields" tqdataview.html#readFields +"TQDataView::record" tqdataview.html#record +"TQDataView::refresh" tqdataview.html#refresh +"TQDataView::setForm" tqdataview.html#setForm +"TQDataView::setRecord" tqdataview.html#setRecord +"TQDataView::writeFields" tqdataview.html#writeFields +"TQDataView::~TQDataView" tqdataview.html#~TQDataView "QDate" qdate.html "QDate::addDays" qdate.html#addDays "QDate::addMonths" qdate.html#addMonths @@ -2019,11 +2019,11 @@ "QDropEvent::setPoint" qdropevent.html#setPoint "QDropEvent::source" qdropevent.html#source "QDropSite::~QDropSite" ntqdropsite.html#~QDropSite -"QEditorFactory" ntqeditorfactory.html -"QEditorFactory::createEditor" ntqeditorfactory.html#createEditor -"QEditorFactory::defaultFactory" ntqeditorfactory.html#defaultFactory -"QEditorFactory::installDefaultFactory" ntqeditorfactory.html#installDefaultFactory -"QEditorFactory::~QEditorFactory" ntqeditorfactory.html#~QEditorFactory +"TQEditorFactory" tqeditorfactory.html +"TQEditorFactory::createEditor" tqeditorfactory.html#createEditor +"TQEditorFactory::defaultFactory" tqeditorfactory.html#defaultFactory +"TQEditorFactory::installDefaultFactory" tqeditorfactory.html#installDefaultFactory +"TQEditorFactory::~TQEditorFactory" tqeditorfactory.html#~TQEditorFactory "QEmbed - File and Image Embedder" qembed.html "QErrorMessage" ntqerrormessage.html "QErrorMessage::message" ntqerrormessage.html#message @@ -5815,288 +5815,288 @@ "QSplitter::setSizes" ntqsplitter.html#setSizes "QSplitter::sizes" ntqsplitter.html#sizes "QSplitter::~QSplitter" ntqsplitter.html#~QSplitter -"QSql" ntqsql.html -"QSql::Confirm" ntqsql.html#Confirm -"QSql::Location" ntqsql.html#Location -"QSql::Op" ntqsql.html#Op -"QSql::ParameterType" ntqsql.html#ParameterType -"QSql::TableType" ntqsql.html#TableType -"QSqlCursor" ntqsqlcursor.html -"QSqlCursor::Mode" ntqsqlcursor.html#Mode -"QSqlCursor::append" ntqsqlcursor.html#append -"QSqlCursor::calculateField" ntqsqlcursor.html#calculateField -"QSqlCursor::canDelete" ntqsqlcursor.html#canDelete -"QSqlCursor::canInsert" ntqsqlcursor.html#canInsert -"QSqlCursor::canUpdate" ntqsqlcursor.html#canUpdate -"QSqlCursor::clear" ntqsqlcursor.html#clear -"QSqlCursor::del" ntqsqlcursor.html#del -"QSqlCursor::editBuffer" ntqsqlcursor.html#editBuffer -"QSqlCursor::filter" ntqsqlcursor.html#filter -"QSqlCursor::index" ntqsqlcursor.html#index -"QSqlCursor::insert" ntqsqlcursor.html#insert -"QSqlCursor::isCalculated" ntqsqlcursor.html#isCalculated -"QSqlCursor::isNull" ntqsqlcursor.html#isNull -"QSqlCursor::isReadOnly" ntqsqlcursor.html#isReadOnly -"QSqlCursor::isTrimmed" ntqsqlcursor.html#isTrimmed -"QSqlCursor::mode" ntqsqlcursor.html#mode -"QSqlCursor::name" ntqsqlcursor.html#name -"QSqlCursor::operator=" ntqsqlcursor.html#operator-eq -"QSqlCursor::primaryIndex" ntqsqlcursor.html#primaryIndex -"QSqlCursor::primeDelete" ntqsqlcursor.html#primeDelete -"QSqlCursor::primeInsert" ntqsqlcursor.html#primeInsert -"QSqlCursor::primeUpdate" ntqsqlcursor.html#primeUpdate -"QSqlCursor::remove" ntqsqlcursor.html#remove -"QSqlCursor::select" ntqsqlcursor.html#select -"QSqlCursor::setCalculated" ntqsqlcursor.html#setCalculated -"QSqlCursor::setFilter" ntqsqlcursor.html#setFilter -"QSqlCursor::setGenerated" ntqsqlcursor.html#setGenerated -"QSqlCursor::setMode" ntqsqlcursor.html#setMode -"QSqlCursor::setName" ntqsqlcursor.html#setName -"QSqlCursor::setPrimaryIndex" ntqsqlcursor.html#setPrimaryIndex -"QSqlCursor::setSort" ntqsqlcursor.html#setSort -"QSqlCursor::setTrimmed" ntqsqlcursor.html#setTrimmed -"QSqlCursor::sort" ntqsqlcursor.html#sort -"QSqlCursor::toString" ntqsqlcursor.html#toString -"QSqlCursor::update" ntqsqlcursor.html#update -"QSqlCursor::~QSqlCursor" ntqsqlcursor.html#~QSqlCursor -"QSqlDatabase" ntqsqldatabase.html -"QSqlDatabase::addDatabase" ntqsqldatabase.html#addDatabase -"QSqlDatabase::close" ntqsqldatabase.html#close -"QSqlDatabase::commit" ntqsqldatabase.html#commit -"QSqlDatabase::connectOptions" ntqsqldatabase.html#connectOptions -"QSqlDatabase::connectOptions" ntqsqldatabase.html#connectOptions-prop -"QSqlDatabase::contains" ntqsqldatabase.html#contains -"QSqlDatabase::database" ntqsqldatabase.html#database -"QSqlDatabase::databaseName" ntqsqldatabase.html#databaseName -"QSqlDatabase::databaseName" ntqsqldatabase.html#databaseName-prop -"QSqlDatabase::driver" ntqsqldatabase.html#driver -"QSqlDatabase::driverName" ntqsqldatabase.html#driverName -"QSqlDatabase::drivers" ntqsqldatabase.html#drivers -"QSqlDatabase::exec" ntqsqldatabase.html#exec -"QSqlDatabase::hostName" ntqsqldatabase.html#hostName -"QSqlDatabase::hostName" ntqsqldatabase.html#hostName-prop -"QSqlDatabase::isDriverAvailable" ntqsqldatabase.html#isDriverAvailable -"QSqlDatabase::isOpen" ntqsqldatabase.html#isOpen -"QSqlDatabase::isOpenError" ntqsqldatabase.html#isOpenError -"QSqlDatabase::lastError" ntqsqldatabase.html#lastError -"QSqlDatabase::open" ntqsqldatabase.html#open -"QSqlDatabase::password" ntqsqldatabase.html#password -"QSqlDatabase::password" ntqsqldatabase.html#password-prop -"QSqlDatabase::port" ntqsqldatabase.html#port -"QSqlDatabase::port" ntqsqldatabase.html#port-prop -"QSqlDatabase::primaryIndex" ntqsqldatabase.html#primaryIndex -"QSqlDatabase::record" ntqsqldatabase.html#record -"QSqlDatabase::recordInfo" ntqsqldatabase.html#recordInfo -"QSqlDatabase::registerSqlDriver" ntqsqldatabase.html#registerSqlDriver -"QSqlDatabase::removeDatabase" ntqsqldatabase.html#removeDatabase -"QSqlDatabase::rollback" ntqsqldatabase.html#rollback -"QSqlDatabase::setConnectOptions" ntqsqldatabase.html#setConnectOptions -"QSqlDatabase::setDatabaseName" ntqsqldatabase.html#setDatabaseName -"QSqlDatabase::setHostName" ntqsqldatabase.html#setHostName -"QSqlDatabase::setPassword" ntqsqldatabase.html#setPassword -"QSqlDatabase::setPort" ntqsqldatabase.html#setPort -"QSqlDatabase::setUserName" ntqsqldatabase.html#setUserName -"QSqlDatabase::tables" ntqsqldatabase.html#tables -"QSqlDatabase::transaction" ntqsqldatabase.html#transaction -"QSqlDatabase::userName" ntqsqldatabase.html#userName -"QSqlDatabase::userName" ntqsqldatabase.html#userName-prop -"QSqlDatabase::~QSqlDatabase" ntqsqldatabase.html#~QSqlDatabase -"QSqlDriver" ntqsqldriver.html -"QSqlDriver::DriverFeature" ntqsqldriver.html#DriverFeature -"QSqlDriver::beginTransaction" ntqsqldriver.html#beginTransaction -"QSqlDriver::close" ntqsqldriver.html#close -"QSqlDriver::commitTransaction" ntqsqldriver.html#commitTransaction -"QSqlDriver::createQuery" ntqsqldriver.html#createQuery -"QSqlDriver::formatValue" ntqsqldriver.html#formatValue -"QSqlDriver::hasFeature" ntqsqldriver.html#hasFeature -"QSqlDriver::isOpen" ntqsqldriver.html#isOpen -"QSqlDriver::isOpenError" ntqsqldriver.html#isOpenError -"QSqlDriver::lastError" ntqsqldriver.html#lastError -"QSqlDriver::nullText" ntqsqldriver.html#nullText -"QSqlDriver::open" ntqsqldriver.html#open -"QSqlDriver::primaryIndex" ntqsqldriver.html#primaryIndex -"QSqlDriver::record" ntqsqldriver.html#record -"QSqlDriver::recordInfo" ntqsqldriver.html#recordInfo -"QSqlDriver::rollbackTransaction" ntqsqldriver.html#rollbackTransaction -"QSqlDriver::setLastError" ntqsqldriver.html#setLastError -"QSqlDriver::setOpen" ntqsqldriver.html#setOpen -"QSqlDriver::setOpenError" ntqsqldriver.html#setOpenError -"QSqlDriver::tables" ntqsqldriver.html#tables -"QSqlDriver::~QSqlDriver" ntqsqldriver.html#~QSqlDriver -"QSqlDriverPlugin" ntqsqldriverplugin.html -"QSqlDriverPlugin::create" ntqsqldriverplugin.html#create -"QSqlDriverPlugin::keys" ntqsqldriverplugin.html#keys -"QSqlDriverPlugin::~QSqlDriverPlugin" ntqsqldriverplugin.html#~QSqlDriverPlugin -"QSqlEditorFactory" ntqsqleditorfactory.html -"QSqlEditorFactory::createEditor" ntqsqleditorfactory.html#createEditor -"QSqlEditorFactory::defaultFactory" ntqsqleditorfactory.html#defaultFactory -"QSqlEditorFactory::installDefaultFactory" ntqsqleditorfactory.html#installDefaultFactory -"QSqlEditorFactory::~QSqlEditorFactory" ntqsqleditorfactory.html#~QSqlEditorFactory -"QSqlError" ntqsqlerror.html -"QSqlError::Type" ntqsqlerror.html#Type -"QSqlError::databaseText" ntqsqlerror.html#databaseText -"QSqlError::driverText" ntqsqlerror.html#driverText -"QSqlError::number" ntqsqlerror.html#number -"QSqlError::operator=" ntqsqlerror.html#operator-eq -"QSqlError::setDatabaseText" ntqsqlerror.html#setDatabaseText -"QSqlError::setDriverText" ntqsqlerror.html#setDriverText -"QSqlError::setNumber" ntqsqlerror.html#setNumber -"QSqlError::setType" ntqsqlerror.html#setType -"QSqlError::text" ntqsqlerror.html#text -"QSqlError::type" ntqsqlerror.html#type -"QSqlError::~QSqlError" ntqsqlerror.html#~QSqlError -"QSqlField" ntqsqlfield.html -"QSqlField::clear" ntqsqlfield.html#clear -"QSqlField::isNull" ntqsqlfield.html#isNull -"QSqlField::isReadOnly" ntqsqlfield.html#isReadOnly -"QSqlField::name" ntqsqlfield.html#name -"QSqlField::operator=" ntqsqlfield.html#operator-eq -"QSqlField::operator==" ntqsqlfield.html#operator-eq-eq -"QSqlField::setName" ntqsqlfield.html#setName -"QSqlField::setNull" ntqsqlfield.html#setNull -"QSqlField::setReadOnly" ntqsqlfield.html#setReadOnly -"QSqlField::setValue" ntqsqlfield.html#setValue -"QSqlField::type" ntqsqlfield.html#type -"QSqlField::value" ntqsqlfield.html#value -"QSqlField::~QSqlField" ntqsqlfield.html#~QSqlField -"QSqlFieldInfo" qsqlfieldinfo.html -"QSqlFieldInfo::defaultValue" qsqlfieldinfo.html#defaultValue -"QSqlFieldInfo::isCalculated" qsqlfieldinfo.html#isCalculated -"QSqlFieldInfo::isGenerated" qsqlfieldinfo.html#isGenerated -"QSqlFieldInfo::isRequired" qsqlfieldinfo.html#isRequired -"QSqlFieldInfo::isTrim" qsqlfieldinfo.html#isTrim -"QSqlFieldInfo::length" qsqlfieldinfo.html#length -"QSqlFieldInfo::name" qsqlfieldinfo.html#name -"QSqlFieldInfo::operator=" qsqlfieldinfo.html#operator-eq -"QSqlFieldInfo::operator==" qsqlfieldinfo.html#operator-eq-eq -"QSqlFieldInfo::precision" qsqlfieldinfo.html#precision -"QSqlFieldInfo::setCalculated" qsqlfieldinfo.html#setCalculated -"QSqlFieldInfo::setGenerated" qsqlfieldinfo.html#setGenerated -"QSqlFieldInfo::setTrim" qsqlfieldinfo.html#setTrim -"QSqlFieldInfo::toField" qsqlfieldinfo.html#toField -"QSqlFieldInfo::type" qsqlfieldinfo.html#type -"QSqlFieldInfo::typeID" qsqlfieldinfo.html#typeID -"QSqlFieldInfo::~QSqlFieldInfo" qsqlfieldinfo.html#~QSqlFieldInfo -"QSqlForm" ntqsqlform.html -"QSqlForm::clear" ntqsqlform.html#clear -"QSqlForm::clearValues" ntqsqlform.html#clearValues -"QSqlForm::count" ntqsqlform.html#count -"QSqlForm::fieldToWidget" ntqsqlform.html#fieldToWidget -"QSqlForm::insert" ntqsqlform.html#insert -"QSqlForm::installPropertyMap" ntqsqlform.html#installPropertyMap -"QSqlForm::readField" ntqsqlform.html#readField -"QSqlForm::readFields" ntqsqlform.html#readFields -"QSqlForm::remove" ntqsqlform.html#remove -"QSqlForm::setRecord" ntqsqlform.html#setRecord -"QSqlForm::widget" ntqsqlform.html#widget -"QSqlForm::widgetToField" ntqsqlform.html#widgetToField -"QSqlForm::writeField" ntqsqlform.html#writeField -"QSqlForm::writeFields" ntqsqlform.html#writeFields -"QSqlForm::~QSqlForm" ntqsqlform.html#~QSqlForm -"QSqlIndex" ntqsqlindex.html -"QSqlIndex::append" ntqsqlindex.html#append -"QSqlIndex::cursorName" ntqsqlindex.html#cursorName -"QSqlIndex::fromStringList" ntqsqlindex.html#fromStringList -"QSqlIndex::isDescending" ntqsqlindex.html#isDescending -"QSqlIndex::name" ntqsqlindex.html#name -"QSqlIndex::operator=" ntqsqlindex.html#operator-eq -"QSqlIndex::setCursorName" ntqsqlindex.html#setCursorName -"QSqlIndex::setDescending" ntqsqlindex.html#setDescending -"QSqlIndex::setName" ntqsqlindex.html#setName -"QSqlIndex::~QSqlIndex" ntqsqlindex.html#~QSqlIndex -"QSqlPropertyMap" ntqsqlpropertymap.html -"QSqlPropertyMap::defaultMap" ntqsqlpropertymap.html#defaultMap -"QSqlPropertyMap::insert" ntqsqlpropertymap.html#insert -"QSqlPropertyMap::installDefaultMap" ntqsqlpropertymap.html#installDefaultMap -"QSqlPropertyMap::property" ntqsqlpropertymap.html#property -"QSqlPropertyMap::remove" ntqsqlpropertymap.html#remove -"QSqlPropertyMap::setProperty" ntqsqlpropertymap.html#setProperty -"QSqlPropertyMap::~QSqlPropertyMap" ntqsqlpropertymap.html#~QSqlPropertyMap -"QSqlQuery" ntqsqlquery.html -"QSqlQuery::addBindValue" ntqsqlquery.html#addBindValue -"QSqlQuery::afterSeek" ntqsqlquery.html#afterSeek -"QSqlQuery::at" ntqsqlquery.html#at -"QSqlQuery::beforeSeek" ntqsqlquery.html#beforeSeek -"QSqlQuery::bindValue" ntqsqlquery.html#bindValue -"QSqlQuery::boundValue" ntqsqlquery.html#boundValue -"QSqlQuery::boundValues" ntqsqlquery.html#boundValues -"QSqlQuery::driver" ntqsqlquery.html#driver -"QSqlQuery::exec" ntqsqlquery.html#exec -"QSqlQuery::executedQuery" ntqsqlquery.html#executedQuery -"QSqlQuery::first" ntqsqlquery.html#first -"QSqlQuery::isActive" ntqsqlquery.html#isActive -"QSqlQuery::isForwardOnly" ntqsqlquery.html#isForwardOnly -"QSqlQuery::isNull" ntqsqlquery.html#isNull -"QSqlQuery::isSelect" ntqsqlquery.html#isSelect -"QSqlQuery::isValid" ntqsqlquery.html#isValid -"QSqlQuery::last" ntqsqlquery.html#last -"QSqlQuery::lastError" ntqsqlquery.html#lastError -"QSqlQuery::lastQuery" ntqsqlquery.html#lastQuery -"QSqlQuery::next" ntqsqlquery.html#next -"QSqlQuery::numRowsAffected" ntqsqlquery.html#numRowsAffected -"QSqlQuery::operator=" ntqsqlquery.html#operator-eq -"QSqlQuery::prepare" ntqsqlquery.html#prepare -"QSqlQuery::prev" ntqsqlquery.html#prev -"QSqlQuery::result" ntqsqlquery.html#result -"QSqlQuery::seek" ntqsqlquery.html#seek -"QSqlQuery::setForwardOnly" ntqsqlquery.html#setForwardOnly -"QSqlQuery::size" ntqsqlquery.html#size -"QSqlQuery::value" ntqsqlquery.html#value -"QSqlQuery::~QSqlQuery" ntqsqlquery.html#~QSqlQuery -"QSqlRecord" ntqsqlrecord.html -"QSqlRecord::append" ntqsqlrecord.html#append -"QSqlRecord::clear" ntqsqlrecord.html#clear -"QSqlRecord::clearValues" ntqsqlrecord.html#clearValues -"QSqlRecord::contains" ntqsqlrecord.html#contains -"QSqlRecord::count" ntqsqlrecord.html#count -"QSqlRecord::field" ntqsqlrecord.html#field -"QSqlRecord::fieldName" ntqsqlrecord.html#fieldName -"QSqlRecord::insert" ntqsqlrecord.html#insert -"QSqlRecord::isEmpty" ntqsqlrecord.html#isEmpty -"QSqlRecord::isGenerated" ntqsqlrecord.html#isGenerated -"QSqlRecord::isNull" ntqsqlrecord.html#isNull -"QSqlRecord::operator=" ntqsqlrecord.html#operator-eq -"QSqlRecord::position" ntqsqlrecord.html#position -"QSqlRecord::remove" ntqsqlrecord.html#remove -"QSqlRecord::setGenerated" ntqsqlrecord.html#setGenerated -"QSqlRecord::setNull" ntqsqlrecord.html#setNull -"QSqlRecord::setValue" ntqsqlrecord.html#setValue -"QSqlRecord::toString" ntqsqlrecord.html#toString -"QSqlRecord::toStringList" ntqsqlrecord.html#toStringList -"QSqlRecord::value" ntqsqlrecord.html#value -"QSqlRecord::~QSqlRecord" ntqsqlrecord.html#~QSqlRecord -"QSqlRecordInfo" qsqlrecordinfo.html -"QSqlRecordInfo::contains" qsqlrecordinfo.html#contains -"QSqlRecordInfo::find" qsqlrecordinfo.html#find -"QSqlRecordInfo::toRecord" qsqlrecordinfo.html#toRecord -"QSqlResult" ntqsqlresult.html -"QSqlResult::at" ntqsqlresult.html#at -"QSqlResult::data" ntqsqlresult.html#data -"QSqlResult::driver" ntqsqlresult.html#driver -"QSqlResult::fetch" ntqsqlresult.html#fetch -"QSqlResult::fetchFirst" ntqsqlresult.html#fetchFirst -"QSqlResult::fetchLast" ntqsqlresult.html#fetchLast -"QSqlResult::fetchNext" ntqsqlresult.html#fetchNext -"QSqlResult::fetchPrev" ntqsqlresult.html#fetchPrev -"QSqlResult::isActive" ntqsqlresult.html#isActive -"QSqlResult::isForwardOnly" ntqsqlresult.html#isForwardOnly -"QSqlResult::isNull" ntqsqlresult.html#isNull -"QSqlResult::isSelect" ntqsqlresult.html#isSelect -"QSqlResult::isValid" ntqsqlresult.html#isValid -"QSqlResult::lastError" ntqsqlresult.html#lastError -"QSqlResult::lastQuery" ntqsqlresult.html#lastQuery -"QSqlResult::numRowsAffected" ntqsqlresult.html#numRowsAffected -"QSqlResult::reset" ntqsqlresult.html#reset -"QSqlResult::setActive" ntqsqlresult.html#setActive -"QSqlResult::setAt" ntqsqlresult.html#setAt -"QSqlResult::setForwardOnly" ntqsqlresult.html#setForwardOnly -"QSqlResult::setLastError" ntqsqlresult.html#setLastError -"QSqlResult::setQuery" ntqsqlresult.html#setQuery -"QSqlResult::setSelect" ntqsqlresult.html#setSelect -"QSqlResult::size" ntqsqlresult.html#size -"QSqlResult::~QSqlResult" ntqsqlresult.html#~QSqlResult -"QSqlSelectCursor" ntqsqlselectcursor.html -"QSqlSelectCursor::~QSqlSelectCursor" ntqsqlselectcursor.html#~QSqlSelectCursor +"TQSql" tqsql.html +"TQSql::Confirm" tqsql.html#Confirm +"TQSql::Location" tqsql.html#Location +"TQSql::Op" tqsql.html#Op +"TQSql::ParameterType" tqsql.html#ParameterType +"TQSql::TableType" tqsql.html#TableType +"TQSqlCursor" tqsqlcursor.html +"TQSqlCursor::Mode" tqsqlcursor.html#Mode +"TQSqlCursor::append" tqsqlcursor.html#append +"TQSqlCursor::calculateField" tqsqlcursor.html#calculateField +"TQSqlCursor::canDelete" tqsqlcursor.html#canDelete +"TQSqlCursor::canInsert" tqsqlcursor.html#canInsert +"TQSqlCursor::canUpdate" tqsqlcursor.html#canUpdate +"TQSqlCursor::clear" tqsqlcursor.html#clear +"TQSqlCursor::del" tqsqlcursor.html#del +"TQSqlCursor::editBuffer" tqsqlcursor.html#editBuffer +"TQSqlCursor::filter" tqsqlcursor.html#filter +"TQSqlCursor::index" tqsqlcursor.html#index +"TQSqlCursor::insert" tqsqlcursor.html#insert +"TQSqlCursor::isCalculated" tqsqlcursor.html#isCalculated +"TQSqlCursor::isNull" tqsqlcursor.html#isNull +"TQSqlCursor::isReadOnly" tqsqlcursor.html#isReadOnly +"TQSqlCursor::isTrimmed" tqsqlcursor.html#isTrimmed +"TQSqlCursor::mode" tqsqlcursor.html#mode +"TQSqlCursor::name" tqsqlcursor.html#name +"TQSqlCursor::operator=" tqsqlcursor.html#operator-eq +"TQSqlCursor::primaryIndex" tqsqlcursor.html#primaryIndex +"TQSqlCursor::primeDelete" tqsqlcursor.html#primeDelete +"TQSqlCursor::primeInsert" tqsqlcursor.html#primeInsert +"TQSqlCursor::primeUpdate" tqsqlcursor.html#primeUpdate +"TQSqlCursor::remove" tqsqlcursor.html#remove +"TQSqlCursor::select" tqsqlcursor.html#select +"TQSqlCursor::setCalculated" tqsqlcursor.html#setCalculated +"TQSqlCursor::setFilter" tqsqlcursor.html#setFilter +"TQSqlCursor::setGenerated" tqsqlcursor.html#setGenerated +"TQSqlCursor::setMode" tqsqlcursor.html#setMode +"TQSqlCursor::setName" tqsqlcursor.html#setName +"TQSqlCursor::setPrimaryIndex" tqsqlcursor.html#setPrimaryIndex +"TQSqlCursor::setSort" tqsqlcursor.html#setSort +"TQSqlCursor::setTrimmed" tqsqlcursor.html#setTrimmed +"TQSqlCursor::sort" tqsqlcursor.html#sort +"TQSqlCursor::toString" tqsqlcursor.html#toString +"TQSqlCursor::update" tqsqlcursor.html#update +"TQSqlCursor::~TQSqlCursor" tqsqlcursor.html#~TQSqlCursor +"TQSqlDatabase" tqsqldatabase.html +"TQSqlDatabase::addDatabase" tqsqldatabase.html#addDatabase +"TQSqlDatabase::close" tqsqldatabase.html#close +"TQSqlDatabase::commit" tqsqldatabase.html#commit +"TQSqlDatabase::connectOptions" tqsqldatabase.html#connectOptions +"TQSqlDatabase::connectOptions" tqsqldatabase.html#connectOptions-prop +"TQSqlDatabase::contains" tqsqldatabase.html#contains +"TQSqlDatabase::database" tqsqldatabase.html#database +"TQSqlDatabase::databaseName" tqsqldatabase.html#databaseName +"TQSqlDatabase::databaseName" tqsqldatabase.html#databaseName-prop +"TQSqlDatabase::driver" tqsqldatabase.html#driver +"TQSqlDatabase::driverName" tqsqldatabase.html#driverName +"TQSqlDatabase::drivers" tqsqldatabase.html#drivers +"TQSqlDatabase::exec" tqsqldatabase.html#exec +"TQSqlDatabase::hostName" tqsqldatabase.html#hostName +"TQSqlDatabase::hostName" tqsqldatabase.html#hostName-prop +"TQSqlDatabase::isDriverAvailable" tqsqldatabase.html#isDriverAvailable +"TQSqlDatabase::isOpen" tqsqldatabase.html#isOpen +"TQSqlDatabase::isOpenError" tqsqldatabase.html#isOpenError +"TQSqlDatabase::lastError" tqsqldatabase.html#lastError +"TQSqlDatabase::open" tqsqldatabase.html#open +"TQSqlDatabase::password" tqsqldatabase.html#password +"TQSqlDatabase::password" tqsqldatabase.html#password-prop +"TQSqlDatabase::port" tqsqldatabase.html#port +"TQSqlDatabase::port" tqsqldatabase.html#port-prop +"TQSqlDatabase::primaryIndex" tqsqldatabase.html#primaryIndex +"TQSqlDatabase::record" tqsqldatabase.html#record +"TQSqlDatabase::recordInfo" tqsqldatabase.html#recordInfo +"TQSqlDatabase::registerSqlDriver" tqsqldatabase.html#registerSqlDriver +"TQSqlDatabase::removeDatabase" tqsqldatabase.html#removeDatabase +"TQSqlDatabase::rollback" tqsqldatabase.html#rollback +"TQSqlDatabase::setConnectOptions" tqsqldatabase.html#setConnectOptions +"TQSqlDatabase::setDatabaseName" tqsqldatabase.html#setDatabaseName +"TQSqlDatabase::setHostName" tqsqldatabase.html#setHostName +"TQSqlDatabase::setPassword" tqsqldatabase.html#setPassword +"TQSqlDatabase::setPort" tqsqldatabase.html#setPort +"TQSqlDatabase::setUserName" tqsqldatabase.html#setUserName +"TQSqlDatabase::tables" tqsqldatabase.html#tables +"TQSqlDatabase::transaction" tqsqldatabase.html#transaction +"TQSqlDatabase::userName" tqsqldatabase.html#userName +"TQSqlDatabase::userName" tqsqldatabase.html#userName-prop +"TQSqlDatabase::~TQSqlDatabase" tqsqldatabase.html#~TQSqlDatabase +"TQSqlDriver" tqsqldriver.html +"TQSqlDriver::DriverFeature" tqsqldriver.html#DriverFeature +"TQSqlDriver::beginTransaction" tqsqldriver.html#beginTransaction +"TQSqlDriver::close" tqsqldriver.html#close +"TQSqlDriver::commitTransaction" tqsqldriver.html#commitTransaction +"TQSqlDriver::createQuery" tqsqldriver.html#createQuery +"TQSqlDriver::formatValue" tqsqldriver.html#formatValue +"TQSqlDriver::hasFeature" tqsqldriver.html#hasFeature +"TQSqlDriver::isOpen" tqsqldriver.html#isOpen +"TQSqlDriver::isOpenError" tqsqldriver.html#isOpenError +"TQSqlDriver::lastError" tqsqldriver.html#lastError +"TQSqlDriver::nullText" tqsqldriver.html#nullText +"TQSqlDriver::open" tqsqldriver.html#open +"TQSqlDriver::primaryIndex" tqsqldriver.html#primaryIndex +"TQSqlDriver::record" tqsqldriver.html#record +"TQSqlDriver::recordInfo" tqsqldriver.html#recordInfo +"TQSqlDriver::rollbackTransaction" tqsqldriver.html#rollbackTransaction +"TQSqlDriver::setLastError" tqsqldriver.html#setLastError +"TQSqlDriver::setOpen" tqsqldriver.html#setOpen +"TQSqlDriver::setOpenError" tqsqldriver.html#setOpenError +"TQSqlDriver::tables" tqsqldriver.html#tables +"TQSqlDriver::~TQSqlDriver" tqsqldriver.html#~TQSqlDriver +"TQSqlDriverPlugin" tqsqldriverplugin.html +"TQSqlDriverPlugin::create" tqsqldriverplugin.html#create +"TQSqlDriverPlugin::keys" tqsqldriverplugin.html#keys +"TQSqlDriverPlugin::~TQSqlDriverPlugin" tqsqldriverplugin.html#~TQSqlDriverPlugin +"TQSqlEditorFactory" tqsqleditorfactory.html +"TQSqlEditorFactory::createEditor" tqsqleditorfactory.html#createEditor +"TQSqlEditorFactory::defaultFactory" tqsqleditorfactory.html#defaultFactory +"TQSqlEditorFactory::installDefaultFactory" tqsqleditorfactory.html#installDefaultFactory +"TQSqlEditorFactory::~TQSqlEditorFactory" tqsqleditorfactory.html#~TQSqlEditorFactory +"TQSqlError" tqsqlerror.html +"TQSqlError::Type" tqsqlerror.html#Type +"TQSqlError::databaseText" tqsqlerror.html#databaseText +"TQSqlError::driverText" tqsqlerror.html#driverText +"TQSqlError::number" tqsqlerror.html#number +"TQSqlError::operator=" tqsqlerror.html#operator-eq +"TQSqlError::setDatabaseText" tqsqlerror.html#setDatabaseText +"TQSqlError::setDriverText" tqsqlerror.html#setDriverText +"TQSqlError::setNumber" tqsqlerror.html#setNumber +"TQSqlError::setType" tqsqlerror.html#setType +"TQSqlError::text" tqsqlerror.html#text +"TQSqlError::type" tqsqlerror.html#type +"TQSqlError::~TQSqlError" tqsqlerror.html#~TQSqlError +"TQSqlField" tqsqlfield.html +"TQSqlField::clear" tqsqlfield.html#clear +"TQSqlField::isNull" tqsqlfield.html#isNull +"TQSqlField::isReadOnly" tqsqlfield.html#isReadOnly +"TQSqlField::name" tqsqlfield.html#name +"TQSqlField::operator=" tqsqlfield.html#operator-eq +"TQSqlField::operator==" tqsqlfield.html#operator-eq-eq +"TQSqlField::setName" tqsqlfield.html#setName +"TQSqlField::setNull" tqsqlfield.html#setNull +"TQSqlField::setReadOnly" tqsqlfield.html#setReadOnly +"TQSqlField::setValue" tqsqlfield.html#setValue +"TQSqlField::type" tqsqlfield.html#type +"TQSqlField::value" tqsqlfield.html#value +"TQSqlField::~TQSqlField" tqsqlfield.html#~TQSqlField +"TQSqlFieldInfo" tqsqlfieldinfo.html +"TQSqlFieldInfo::defaultValue" tqsqlfieldinfo.html#defaultValue +"TQSqlFieldInfo::isCalculated" tqsqlfieldinfo.html#isCalculated +"TQSqlFieldInfo::isGenerated" tqsqlfieldinfo.html#isGenerated +"TQSqlFieldInfo::isRequired" tqsqlfieldinfo.html#isRequired +"TQSqlFieldInfo::isTrim" tqsqlfieldinfo.html#isTrim +"TQSqlFieldInfo::length" tqsqlfieldinfo.html#length +"TQSqlFieldInfo::name" tqsqlfieldinfo.html#name +"TQSqlFieldInfo::operator=" tqsqlfieldinfo.html#operator-eq +"TQSqlFieldInfo::operator==" tqsqlfieldinfo.html#operator-eq-eq +"TQSqlFieldInfo::precision" tqsqlfieldinfo.html#precision +"TQSqlFieldInfo::setCalculated" tqsqlfieldinfo.html#setCalculated +"TQSqlFieldInfo::setGenerated" tqsqlfieldinfo.html#setGenerated +"TQSqlFieldInfo::setTrim" tqsqlfieldinfo.html#setTrim +"TQSqlFieldInfo::toField" tqsqlfieldinfo.html#toField +"TQSqlFieldInfo::type" tqsqlfieldinfo.html#type +"TQSqlFieldInfo::typeID" tqsqlfieldinfo.html#typeID +"TQSqlFieldInfo::~TQSqlFieldInfo" tqsqlfieldinfo.html#~TQSqlFieldInfo +"TQSqlForm" tqsqlform.html +"TQSqlForm::clear" tqsqlform.html#clear +"TQSqlForm::clearValues" tqsqlform.html#clearValues +"TQSqlForm::count" tqsqlform.html#count +"TQSqlForm::fieldToWidget" tqsqlform.html#fieldToWidget +"TQSqlForm::insert" tqsqlform.html#insert +"TQSqlForm::installPropertyMap" tqsqlform.html#installPropertyMap +"TQSqlForm::readField" tqsqlform.html#readField +"TQSqlForm::readFields" tqsqlform.html#readFields +"TQSqlForm::remove" tqsqlform.html#remove +"TQSqlForm::setRecord" tqsqlform.html#setRecord +"TQSqlForm::widget" tqsqlform.html#widget +"TQSqlForm::widgetToField" tqsqlform.html#widgetToField +"TQSqlForm::writeField" tqsqlform.html#writeField +"TQSqlForm::writeFields" tqsqlform.html#writeFields +"TQSqlForm::~TQSqlForm" tqsqlform.html#~TQSqlForm +"TQSqlIndex" tqsqlindex.html +"TQSqlIndex::append" tqsqlindex.html#append +"TQSqlIndex::cursorName" tqsqlindex.html#cursorName +"TQSqlIndex::fromStringList" tqsqlindex.html#fromStringList +"TQSqlIndex::isDescending" tqsqlindex.html#isDescending +"TQSqlIndex::name" tqsqlindex.html#name +"TQSqlIndex::operator=" tqsqlindex.html#operator-eq +"TQSqlIndex::setCursorName" tqsqlindex.html#setCursorName +"TQSqlIndex::setDescending" tqsqlindex.html#setDescending +"TQSqlIndex::setName" tqsqlindex.html#setName +"TQSqlIndex::~TQSqlIndex" tqsqlindex.html#~TQSqlIndex +"TQSqlPropertyMap" tqsqlpropertymap.html +"TQSqlPropertyMap::defaultMap" tqsqlpropertymap.html#defaultMap +"TQSqlPropertyMap::insert" tqsqlpropertymap.html#insert +"TQSqlPropertyMap::installDefaultMap" tqsqlpropertymap.html#installDefaultMap +"TQSqlPropertyMap::property" tqsqlpropertymap.html#property +"TQSqlPropertyMap::remove" tqsqlpropertymap.html#remove +"TQSqlPropertyMap::setProperty" tqsqlpropertymap.html#setProperty +"TQSqlPropertyMap::~TQSqlPropertyMap" tqsqlpropertymap.html#~TQSqlPropertyMap +"TQSqlQuery" tqsqlquery.html +"TQSqlQuery::addBindValue" tqsqlquery.html#addBindValue +"TQSqlQuery::afterSeek" tqsqlquery.html#afterSeek +"TQSqlQuery::at" tqsqlquery.html#at +"TQSqlQuery::beforeSeek" tqsqlquery.html#beforeSeek +"TQSqlQuery::bindValue" tqsqlquery.html#bindValue +"TQSqlQuery::boundValue" tqsqlquery.html#boundValue +"TQSqlQuery::boundValues" tqsqlquery.html#boundValues +"TQSqlQuery::driver" tqsqlquery.html#driver +"TQSqlQuery::exec" tqsqlquery.html#exec +"TQSqlQuery::executedQuery" tqsqlquery.html#executedQuery +"TQSqlQuery::first" tqsqlquery.html#first +"TQSqlQuery::isActive" tqsqlquery.html#isActive +"TQSqlQuery::isForwardOnly" tqsqlquery.html#isForwardOnly +"TQSqlQuery::isNull" tqsqlquery.html#isNull +"TQSqlQuery::isSelect" tqsqlquery.html#isSelect +"TQSqlQuery::isValid" tqsqlquery.html#isValid +"TQSqlQuery::last" tqsqlquery.html#last +"TQSqlQuery::lastError" tqsqlquery.html#lastError +"TQSqlQuery::lastQuery" tqsqlquery.html#lastQuery +"TQSqlQuery::next" tqsqlquery.html#next +"TQSqlQuery::numRowsAffected" tqsqlquery.html#numRowsAffected +"TQSqlQuery::operator=" tqsqlquery.html#operator-eq +"TQSqlQuery::prepare" tqsqlquery.html#prepare +"TQSqlQuery::prev" tqsqlquery.html#prev +"TQSqlQuery::result" tqsqlquery.html#result +"TQSqlQuery::seek" tqsqlquery.html#seek +"TQSqlQuery::setForwardOnly" tqsqlquery.html#setForwardOnly +"TQSqlQuery::size" tqsqlquery.html#size +"TQSqlQuery::value" tqsqlquery.html#value +"TQSqlQuery::~TQSqlQuery" tqsqlquery.html#~TQSqlQuery +"TQSqlRecord" tqsqlrecord.html +"TQSqlRecord::append" tqsqlrecord.html#append +"TQSqlRecord::clear" tqsqlrecord.html#clear +"TQSqlRecord::clearValues" tqsqlrecord.html#clearValues +"TQSqlRecord::contains" tqsqlrecord.html#contains +"TQSqlRecord::count" tqsqlrecord.html#count +"TQSqlRecord::field" tqsqlrecord.html#field +"TQSqlRecord::fieldName" tqsqlrecord.html#fieldName +"TQSqlRecord::insert" tqsqlrecord.html#insert +"TQSqlRecord::isEmpty" tqsqlrecord.html#isEmpty +"TQSqlRecord::isGenerated" tqsqlrecord.html#isGenerated +"TQSqlRecord::isNull" tqsqlrecord.html#isNull +"TQSqlRecord::operator=" tqsqlrecord.html#operator-eq +"TQSqlRecord::position" tqsqlrecord.html#position +"TQSqlRecord::remove" tqsqlrecord.html#remove +"TQSqlRecord::setGenerated" tqsqlrecord.html#setGenerated +"TQSqlRecord::setNull" tqsqlrecord.html#setNull +"TQSqlRecord::setValue" tqsqlrecord.html#setValue +"TQSqlRecord::toString" tqsqlrecord.html#toString +"TQSqlRecord::toStringList" tqsqlrecord.html#toStringList +"TQSqlRecord::value" tqsqlrecord.html#value +"TQSqlRecord::~TQSqlRecord" tqsqlrecord.html#~TQSqlRecord +"TQSqlRecordInfo" tqsqlrecordinfo.html +"TQSqlRecordInfo::contains" tqsqlrecordinfo.html#contains +"TQSqlRecordInfo::find" tqsqlrecordinfo.html#find +"TQSqlRecordInfo::toRecord" tqsqlrecordinfo.html#toRecord +"TQSqlResult" tqsqlresult.html +"TQSqlResult::at" tqsqlresult.html#at +"TQSqlResult::data" tqsqlresult.html#data +"TQSqlResult::driver" tqsqlresult.html#driver +"TQSqlResult::fetch" tqsqlresult.html#fetch +"TQSqlResult::fetchFirst" tqsqlresult.html#fetchFirst +"TQSqlResult::fetchLast" tqsqlresult.html#fetchLast +"TQSqlResult::fetchNext" tqsqlresult.html#fetchNext +"TQSqlResult::fetchPrev" tqsqlresult.html#fetchPrev +"TQSqlResult::isActive" tqsqlresult.html#isActive +"TQSqlResult::isForwardOnly" tqsqlresult.html#isForwardOnly +"TQSqlResult::isNull" tqsqlresult.html#isNull +"TQSqlResult::isSelect" tqsqlresult.html#isSelect +"TQSqlResult::isValid" tqsqlresult.html#isValid +"TQSqlResult::lastError" tqsqlresult.html#lastError +"TQSqlResult::lastQuery" tqsqlresult.html#lastQuery +"TQSqlResult::numRowsAffected" tqsqlresult.html#numRowsAffected +"TQSqlResult::reset" tqsqlresult.html#reset +"TQSqlResult::setActive" tqsqlresult.html#setActive +"TQSqlResult::setAt" tqsqlresult.html#setAt +"TQSqlResult::setForwardOnly" tqsqlresult.html#setForwardOnly +"TQSqlResult::setLastError" tqsqlresult.html#setLastError +"TQSqlResult::setQuery" tqsqlresult.html#setQuery +"TQSqlResult::setSelect" tqsqlresult.html#setSelect +"TQSqlResult::size" tqsqlresult.html#size +"TQSqlResult::~TQSqlResult" tqsqlresult.html#~TQSqlResult +"TQSqlSelectCursor" tqsqlselectcursor.html +"TQSqlSelectCursor::~TQSqlSelectCursor" tqsqlselectcursor.html#~TQSqlSelectCursor "QStatusBar" ntqstatusbar.html "QStatusBar::addWidget" ntqstatusbar.html#addWidget "QStatusBar::clear" ntqstatusbar.html#clear diff --git a/doc/html/mainclasses.html b/doc/html/mainclasses.html index d127720fe..9c12b26a3 100644 --- a/doc/html/mainclasses.html +++ b/doc/html/mainclasses.html @@ -100,7 +100,7 @@ classes), see <a href="classes.html">TQt's Classes</a>. <td align="right"> <td><a href="ntqpalette.html">TQPalette</a> <td align="right"> -<td><a href="ntqsql.html">TQSql</a> +<td><a href="tqsql.html">TQSql</a> <td align="right"> <td><a href="ntqtranslator.html">TQTranslator</a> <tr> @@ -111,7 +111,7 @@ classes), see <a href="classes.html">TQt's Classes</a>. <td align="right"> <td><a href="ntqpen.html">TQPen</a> <td align="right"> -<td><a href="ntqsqldatabase.html">TQSqlDatabase</a> +<td><a href="tqsqldatabase.html">TQSqlDatabase</a> <td align="right"><b>U</b> <td><a href="ntqurl.html">TQUrl</a> <tr> @@ -122,34 +122,34 @@ classes), see <a href="classes.html">TQt's Classes</a>. <td align="right"> <td><a href="ntqpixmap.html">TQPixmap</a> <td align="right"> -<td><a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a> +<td><a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a> <td align="right"> <td><a href="ntqurloperator.html">TQUrlOperator</a> <tr> <td align="right"><b>D</b> -<td><a href="ntqdatabrowser.html">TQDataBrowser</a> +<td><a href="tqdatabrowser.html">TQDataBrowser</a> <td align="right"><b>I</b> <td><a href="ntqiconset.html">TQIconSet</a> <td align="right"> <td><a href="ntqpoint.html">TQPoint</a> <td align="right"> -<td><a href="ntqsqlform.html">TQSqlForm</a> +<td><a href="tqsqlform.html">TQSqlForm</a> <td align="right"><b>V</b> <td><a href="ntqvalidator.html">TQValidator</a> <tr> <td align="right"> -<td><a href="ntqdatatable.html">TQDataTable</a> +<td><a href="tqdatatable.html">TQDataTable</a> <td align="right"> <td><a href="ntqiconview.html">TQIconView</a> <td align="right"> <td><a href="ntqpopupmenu.html">TQPopupMenu</a> <td align="right"> -<td><a href="ntqsqlquery.html">TQSqlQuery</a> +<td><a href="tqsqlquery.html">TQSqlQuery</a> <td align="right"> <td><a href="ntqvaluelist.html">TQValueList</a> <tr> <td align="right"> -<td><a href="ntqdataview.html">TQDataView</a> +<td><a href="tqdataview.html">TQDataView</a> <td align="right"> <td><a href="ntqimage.html">TQImage</a> <td align="right"> diff --git a/doc/html/ntqtable.html b/doc/html/ntqtable.html index c47a87dc2..0e7981c67 100644 --- a/doc/html/ntqtable.html +++ b/doc/html/ntqtable.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } <a href="#details">More...</a> <p><tt>#include <<a href="qtable-h.html">ntqtable.h</a>></tt> <p>Inherits <a href="ntqscrollview.html">TQScrollView</a>. -<p>Inherited by <a href="ntqdatatable.html">TQDataTable</a>. +<p>Inherited by <a href="tqdatatable.html">TQDataTable</a>. <p><a href="qtable-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -482,7 +482,7 @@ display the widest item the column contains. <p> <p>See also <a href="#adjustRow">adjustRow</a>(). <p>Example: <a href="regexptester-example.html#x2498">regexptester/regexptester.cpp</a>. -<p>Reimplemented in <a href="ntqdatatable.html#adjustColumn">TQDataTable</a>. +<p>Reimplemented in <a href="tqdatatable.html#adjustColumn">TQDataTable</a>. <h3 class=fn>void <a name="adjustRow"></a>TQTable::adjustRow ( int row )<tt> [virtual slot]</tt> </h3> Resizes row <em>row</em> so that the row height is tall enough to @@ -910,11 +910,11 @@ function: see the <a href="ntqtable.html#notes-on-large-tables">notes on large t <h3 class=fn>int <a name="numCols"></a>TQTable::numCols () const<tt> [virtual]</tt> </h3><p>Returns the number of columns in the table. See the <a href="ntqtable.html#numCols-prop">"numCols"</a> property for details. -<p>Reimplemented in <a href="ntqdatatable.html#numCols">TQDataTable</a>. +<p>Reimplemented in <a href="tqdatatable.html#numCols">TQDataTable</a>. <h3 class=fn>int <a name="numRows"></a>TQTable::numRows () const<tt> [virtual]</tt> </h3><p>Returns the number of rows in the table. See the <a href="ntqtable.html#numRows-prop">"numRows"</a> property for details. -<p>Reimplemented in <a href="ntqdatatable.html#numRows">TQDataTable</a>. +<p>Reimplemented in <a href="tqdatatable.html#numRows">TQDataTable</a>. <h3 class=fn>int <a name="numSelections"></a>TQTable::numSelections () const </h3><p>Returns the number of selections. See the <a href="ntqtable.html#numSelections-prop">"numSelections"</a> property for details. @@ -1160,7 +1160,7 @@ Resizes column <em>col</em> to be <em>w</em> pixels wide. <p> <p>See also <a href="#columnWidth">columnWidth</a>() and <a href="#setRowHeight">setRowHeight</a>(). <p>Example: <a href="tutorial2-08.html#x2620">chart/setdataform.cpp</a>. -<p>Reimplemented in <a href="ntqdatatable.html#setColumnWidth">TQDataTable</a>. +<p>Reimplemented in <a href="tqdatatable.html#setColumnWidth">TQDataTable</a>. <h3 class=fn>void <a name="setCurrentCell"></a>TQTable::setCurrentCell ( int row, int col )<tt> [virtual slot]</tt> </h3> Moves the focus to the cell at <em>row</em>, <em>col</em>. @@ -1302,7 +1302,7 @@ reimplement swapRows() and swapCells(). (See the <a href="ntqtable.html#notes-on <p> <p>See also <a href="#swapRows">swapRows</a>(). <p>Example: <a href="statistics-example.html#x2784">table/statistics/statistics.cpp</a>. -<p>Reimplemented in <a href="ntqdatatable.html#sortColumn">TQDataTable</a>. +<p>Reimplemented in <a href="tqdatatable.html#sortColumn">TQDataTable</a>. <h3 class=fn>bool <a name="sorting"></a>TQTable::sorting () const </h3><p>Returns TRUE if a click on the header of a column sorts that column; otherwise returns FALSE. See the <a href="ntqtable.html#sorting-prop">"sorting"</a> property for details. @@ -1367,7 +1367,7 @@ if the relevant item does not exist or has no text. <p> <p>See also <a href="#setText">setText</a>() and <a href="#setPixmap">setPixmap</a>(). <p>Example: <a href="tutorial2-08.html#x2625">chart/setdataform.cpp</a>. -<p>Reimplemented in <a href="ntqdatatable.html#text">TQDataTable</a>. +<p>Reimplemented in <a href="tqdatatable.html#text">TQDataTable</a>. <h3 class=fn>void <a name="updateCell"></a>TQTable::updateCell ( int row, int col ) </h3> Repaints the cell at <em>row</em>, <em>col</em>. diff --git a/doc/html/ntqwidget.html b/doc/html/ntqwidget.html index 7697bf18e..10e22604a 100644 --- a/doc/html/ntqwidget.html +++ b/doc/html/ntqwidget.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } <a href="#details">More...</a> <p><tt>#include <<a href="qwidget-h.html">ntqwidget.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a> and <a href="ntqpaintdevice.html">TQPaintDevice</a>. -<p>Inherited by <a href="qaxwidget.html">TQAxWidget</a>, <a href="ntqbutton.html">TQButton</a>, <a href="ntqframe.html">TQFrame</a>, <a href="ntqdialog.html">TQDialog</a>, <a href="ntqcombobox.html">TQComboBox</a>, <a href="ntqdatabrowser.html">TQDataBrowser</a>, <a href="ntqdataview.html">TQDataView</a>, <a href="qdatetimeeditbase.html">TQDateTimeEditBase</a>, <a href="ntqdatetimeedit.html">TQDateTimeEdit</a>, <a href="ntqdesktopwidget.html">TQDesktopWidget</a>, <a href="ntqdial.html">TQDial</a>, <a href="ntqdockarea.html">TQDockArea</a>, <a href="qglwidget.html">TQGLWidget</a>, <a href="ntqheader.html">TQHeader</a>, <a href="ntqmainwindow.html">TQMainWindow</a>, <a href="qmotifwidget.html">TQMotifWidget</a>, <a href="qnpwidget.html">TQNPWidget</a>, <a href="ntqscrollbar.html">TQScrollBar</a>, <a href="ntqsizegrip.html">TQSizeGrip</a>, <a href="ntqslider.html">TQSlider</a>, <a href="ntqspinbox.html">TQSpinBox</a>, <a href="ntqsplashscreen.html">TQSplashScreen</a>, <a href="ntqstatusbar.html">TQStatusBar</a>, <a href="ntqtabbar.html">TQTabBar</a>, <a href="ntqtabwidget.html">TQTabWidget</a>, <a href="ntqworkspace.html">TQWorkspace</a>, and <a href="qxtwidget.html">TQXtWidget</a>. +<p>Inherited by <a href="qaxwidget.html">TQAxWidget</a>, <a href="ntqbutton.html">TQButton</a>, <a href="ntqframe.html">TQFrame</a>, <a href="ntqdialog.html">TQDialog</a>, <a href="ntqcombobox.html">TQComboBox</a>, <a href="tqdatabrowser.html">TQDataBrowser</a>, <a href="tqdataview.html">TQDataView</a>, <a href="qdatetimeeditbase.html">TQDateTimeEditBase</a>, <a href="ntqdatetimeedit.html">TQDateTimeEdit</a>, <a href="ntqdesktopwidget.html">TQDesktopWidget</a>, <a href="ntqdial.html">TQDial</a>, <a href="ntqdockarea.html">TQDockArea</a>, <a href="qglwidget.html">TQGLWidget</a>, <a href="ntqheader.html">TQHeader</a>, <a href="ntqmainwindow.html">TQMainWindow</a>, <a href="qmotifwidget.html">TQMotifWidget</a>, <a href="qnpwidget.html">TQNPWidget</a>, <a href="ntqscrollbar.html">TQScrollBar</a>, <a href="ntqsizegrip.html">TQSizeGrip</a>, <a href="ntqslider.html">TQSlider</a>, <a href="ntqspinbox.html">TQSpinBox</a>, <a href="ntqsplashscreen.html">TQSplashScreen</a>, <a href="ntqstatusbar.html">TQStatusBar</a>, <a href="ntqtabbar.html">TQTabBar</a>, <a href="ntqtabwidget.html">TQTabWidget</a>, <a href="ntqworkspace.html">TQWorkspace</a>, and <a href="qxtwidget.html">TQXtWidget</a>. <p><a href="qwidget-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> diff --git a/doc/html/plugins-howto.html b/doc/html/plugins-howto.html index 8ae14f2a7..de9973159 100644 --- a/doc/html/plugins-howto.html +++ b/doc/html/plugins-howto.html @@ -49,7 +49,7 @@ by default in the standard plugin directory. <td valign="top"><a href="ntqimageformatplugin.html">TQImageFormatPlugin</a> <td valign="top"><tt>pluginsbase/imageformats</tt> <sup>*</sup> <tr bgcolor="#d0d0d0"> -<td valign="top"><a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a> +<td valign="top"><a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a> <td valign="top"><tt>pluginsbase/sqldrivers</tt> <sup>*</sup> <tr bgcolor="#f0f0f0"> <td valign="top"><a href="ntqstyleplugin.html">TQStylePlugin</a> diff --git a/doc/html/plugins.html b/doc/html/plugins.html index ad8df58cd..ed970d721 100644 --- a/doc/html/plugins.html +++ b/doc/html/plugins.html @@ -44,7 +44,7 @@ Windows. <tr bgcolor=#f0f0f0><td><b><a href="qkbddriverplugin.html">TQKbdDriverPlugin</a></b><td>Abstract base for TQt/Embedded keyboard driver plugins <tr bgcolor=#f0f0f0><td><b><a href="ntqlibrary.html">TQLibrary</a></b><td>Wrapper for handling shared libraries <tr bgcolor=#f0f0f0><td><b><a href="qmousedriverplugin.html">TQMouseDriverPlugin</a></b><td>Abstract base for TQt/Embedded mouse driver plugins -<tr bgcolor=#f0f0f0><td><b><a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a></b><td>Abstract base for custom TQSqlDriver plugins +<tr bgcolor=#f0f0f0><td><b><a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a></b><td>Abstract base for custom TQSqlDriver plugins <tr bgcolor=#f0f0f0><td><b><a href="ntqstyleplugin.html">TQStylePlugin</a></b><td>Abstract base for custom TQStyle plugins <tr bgcolor=#f0f0f0><td><b><a href="ntqtextcodecplugin.html">TQTextCodecPlugin</a></b><td>Abstract base for custom TQTextCodec plugins <tr bgcolor=#f0f0f0><td><b><a href="ntqwidgetplugin.html">TQWidgetPlugin</a></b><td>Abstract base for custom TQWidget plugins diff --git a/doc/html/propertydocs b/doc/html/propertydocs index a79766127..1cdde30a8 100644 --- a/doc/html/propertydocs +++ b/doc/html/propertydocs @@ -520,8 +520,8 @@ than lines, a scrollbar is added. </doc> </property> <property> - <name>QDataBrowser::autoEdit</name> - <doc href="ntqdatabrowser.html#autoEdit-prop"> + <name>TQDataBrowser::autoEdit</name> + <doc href="tqdatabrowser.html#autoEdit-prop"> <p>This property holds whether the browser automatically applies edits. <p>The default value for this property is TRUE. When the user begins an insertion or an update on a form there are two possible @@ -531,110 +531,110 @@ outcomes when they navigate to another record: <li> the insert or update is discarded -- this occurs if autoEdit is FALSE </ul> -<p>Set this property's value with <a href="ntqdatabrowser.html#setAutoEdit">setAutoEdit</a>() and get this property's value with <a href="ntqdatabrowser.html#autoEdit">autoEdit</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setAutoEdit">setAutoEdit</a>() and get this property's value with <a href="tqdatabrowser.html#autoEdit">autoEdit</a>(). </doc> </property> <property> - <name>QDataBrowser::boundaryChecking</name> - <doc href="ntqdatabrowser.html#boundaryChecking-prop"> + <name>TQDataBrowser::boundaryChecking</name> + <doc href="tqdatabrowser.html#boundaryChecking-prop"> <p>This property holds whether boundary checking is active. <p>When boundary checking is active (the default), signals are emitted indicating the current position of the default cursor. -<p> <p>See also <a href="ntqdatabrowser.html#boundary">boundary</a>(). +<p> <p>See also <a href="tqdatabrowser.html#boundary">boundary</a>(). -<p>Set this property's value with <a href="ntqdatabrowser.html#setBoundaryChecking">setBoundaryChecking</a>() and get this property's value with <a href="ntqdatabrowser.html#boundaryChecking">boundaryChecking</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setBoundaryChecking">setBoundaryChecking</a>() and get this property's value with <a href="tqdatabrowser.html#boundaryChecking">boundaryChecking</a>(). </doc> </property> <property> - <name>QDataBrowser::confirmCancels</name> - <doc href="ntqdatabrowser.html#confirmCancels-prop"> + <name>TQDataBrowser::confirmCancels</name> + <doc href="tqdatabrowser.html#confirmCancels-prop"> <p>This property holds whether the browser confirms cancel operations. <p>If this property is TRUE, all cancels must be confirmed by the user through a message box (this behavior can be changed by -overriding the <a href="ntqdatabrowser.html#confirmCancel">confirmCancel</a>() function), otherwise all cancels +overriding the <a href="tqdatabrowser.html#confirmCancel">confirmCancel</a>() function), otherwise all cancels occur immediately. The default is FALSE. -<p> <p>See also <a href="ntqdatabrowser.html#confirmEdits-prop">confirmEdits</a> and <a href="ntqdatabrowser.html#confirmCancel">confirmCancel</a>(). +<p> <p>See also <a href="tqdatabrowser.html#confirmEdits-prop">confirmEdits</a> and <a href="tqdatabrowser.html#confirmCancel">confirmCancel</a>(). -<p>Set this property's value with <a href="ntqdatabrowser.html#setConfirmCancels">setConfirmCancels</a>() and get this property's value with <a href="ntqdatabrowser.html#confirmCancels">confirmCancels</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setConfirmCancels">setConfirmCancels</a>() and get this property's value with <a href="tqdatabrowser.html#confirmCancels">confirmCancels</a>(). </doc> </property> <property> - <name>QDataBrowser::confirmDelete</name> - <doc href="ntqdatabrowser.html#confirmDelete-prop"> + <name>TQDataBrowser::confirmDelete</name> + <doc href="tqdatabrowser.html#confirmDelete-prop"> <p>This property holds whether the browser confirms deletions. <p>If this property is TRUE, the browser confirms deletions, otherwise deletions happen immediately. -<p> <p>See also <a href="ntqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatabrowser.html#confirmEdits-prop">confirmEdits</a>, <a href="ntqdatabrowser.html#confirmUpdate-prop">confirmUpdate</a>, <a href="ntqdatabrowser.html#confirmInsert-prop">confirmInsert</a>, and <a href="ntqdatabrowser.html#confirmEdit">confirmEdit</a>(). +<p> <p>See also <a href="tqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatabrowser.html#confirmEdits-prop">confirmEdits</a>, <a href="tqdatabrowser.html#confirmUpdate-prop">confirmUpdate</a>, <a href="tqdatabrowser.html#confirmInsert-prop">confirmInsert</a>, and <a href="tqdatabrowser.html#confirmEdit">confirmEdit</a>(). -<p>Set this property's value with <a href="ntqdatabrowser.html#setConfirmDelete">setConfirmDelete</a>() and get this property's value with <a href="ntqdatabrowser.html#confirmDelete">confirmDelete</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setConfirmDelete">setConfirmDelete</a>() and get this property's value with <a href="tqdatabrowser.html#confirmDelete">confirmDelete</a>(). </doc> </property> <property> - <name>QDataBrowser::confirmEdits</name> - <doc href="ntqdatabrowser.html#confirmEdits-prop"> + <name>TQDataBrowser::confirmEdits</name> + <doc href="tqdatabrowser.html#confirmEdits-prop"> <p>This property holds whether the browser confirms edits. <p>If this property is TRUE, the browser confirms all edit operations (insertions, updates and deletions), otherwise all edit operations happen immediately. Confirmation is achieved by presenting the user with a message box -- this behavior can be changed by -reimplementing the <a href="ntqdatabrowser.html#confirmEdit">confirmEdit</a>() function, -<p> <p>See also <a href="ntqdatabrowser.html#confirmEdit">confirmEdit</a>(), <a href="ntqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatabrowser.html#confirmInsert-prop">confirmInsert</a>, <a href="ntqdatabrowser.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="ntqdatabrowser.html#confirmDelete-prop">confirmDelete</a>. +reimplementing the <a href="tqdatabrowser.html#confirmEdit">confirmEdit</a>() function, +<p> <p>See also <a href="tqdatabrowser.html#confirmEdit">confirmEdit</a>(), <a href="tqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatabrowser.html#confirmInsert-prop">confirmInsert</a>, <a href="tqdatabrowser.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="tqdatabrowser.html#confirmDelete-prop">confirmDelete</a>. -<p>Set this property's value with <a href="ntqdatabrowser.html#setConfirmEdits">setConfirmEdits</a>() and get this property's value with <a href="ntqdatabrowser.html#confirmEdits">confirmEdits</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setConfirmEdits">setConfirmEdits</a>() and get this property's value with <a href="tqdatabrowser.html#confirmEdits">confirmEdits</a>(). </doc> </property> <property> - <name>QDataBrowser::confirmInsert</name> - <doc href="ntqdatabrowser.html#confirmInsert-prop"> + <name>TQDataBrowser::confirmInsert</name> + <doc href="tqdatabrowser.html#confirmInsert-prop"> <p>This property holds whether the data browser confirms insertions. <p>If this property is TRUE, the browser confirms insertions, otherwise insertions happen immediately. -<p> <p>See also <a href="ntqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatabrowser.html#confirmEdits-prop">confirmEdits</a>, <a href="ntqdatabrowser.html#confirmUpdate-prop">confirmUpdate</a>, <a href="ntqdatabrowser.html#confirmDelete-prop">confirmDelete</a>, and <a href="ntqdatabrowser.html#confirmEdit">confirmEdit</a>(). +<p> <p>See also <a href="tqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatabrowser.html#confirmEdits-prop">confirmEdits</a>, <a href="tqdatabrowser.html#confirmUpdate-prop">confirmUpdate</a>, <a href="tqdatabrowser.html#confirmDelete-prop">confirmDelete</a>, and <a href="tqdatabrowser.html#confirmEdit">confirmEdit</a>(). -<p>Set this property's value with <a href="ntqdatabrowser.html#setConfirmInsert">setConfirmInsert</a>() and get this property's value with <a href="ntqdatabrowser.html#confirmInsert">confirmInsert</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setConfirmInsert">setConfirmInsert</a>() and get this property's value with <a href="tqdatabrowser.html#confirmInsert">confirmInsert</a>(). </doc> </property> <property> - <name>QDataBrowser::confirmUpdate</name> - <doc href="ntqdatabrowser.html#confirmUpdate-prop"> + <name>TQDataBrowser::confirmUpdate</name> + <doc href="tqdatabrowser.html#confirmUpdate-prop"> <p>This property holds whether the browser confirms updates. <p>If this property is TRUE, the browser confirms updates, otherwise updates happen immediately. -<p> <p>See also <a href="ntqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatabrowser.html#confirmEdits-prop">confirmEdits</a>, <a href="ntqdatabrowser.html#confirmInsert-prop">confirmInsert</a>, <a href="ntqdatabrowser.html#confirmDelete-prop">confirmDelete</a>, and <a href="ntqdatabrowser.html#confirmEdit">confirmEdit</a>(). +<p> <p>See also <a href="tqdatabrowser.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatabrowser.html#confirmEdits-prop">confirmEdits</a>, <a href="tqdatabrowser.html#confirmInsert-prop">confirmInsert</a>, <a href="tqdatabrowser.html#confirmDelete-prop">confirmDelete</a>, and <a href="tqdatabrowser.html#confirmEdit">confirmEdit</a>(). -<p>Set this property's value with <a href="ntqdatabrowser.html#setConfirmUpdate">setConfirmUpdate</a>() and get this property's value with <a href="ntqdatabrowser.html#confirmUpdate">confirmUpdate</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setConfirmUpdate">setConfirmUpdate</a>() and get this property's value with <a href="tqdatabrowser.html#confirmUpdate">confirmUpdate</a>(). </doc> </property> <property> - <name>QDataBrowser::filter</name> - <doc href="ntqdatabrowser.html#filter-prop"> + <name>TQDataBrowser::filter</name> + <doc href="tqdatabrowser.html#filter-prop"> <p>This property holds the data browser's filter. <p>The filter applies to the data shown in the browser. Call -<a href="ntqdatabrowser.html#refresh">refresh</a>() to apply the new filter. A filter is a string containing +<a href="tqdatabrowser.html#refresh">refresh</a>() to apply the new filter. A filter is a string containing a SQL WHERE clause without the WHERE keyword, e.g. "id>1000", "name LIKE 'A%'", etc. <p> There is no default filter. -<p> <p>See also <a href="ntqdatabrowser.html#sort-prop">sort</a>. +<p> <p>See also <a href="tqdatabrowser.html#sort-prop">sort</a>. -<p>Set this property's value with <a href="ntqdatabrowser.html#setFilter">setFilter</a>() and get this property's value with <a href="ntqdatabrowser.html#filter">filter</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setFilter">setFilter</a>() and get this property's value with <a href="tqdatabrowser.html#filter">filter</a>(). </doc> </property> <property> - <name>QDataBrowser::readOnly</name> - <doc href="ntqdatabrowser.html#readOnly-prop"> + <name>TQDataBrowser::readOnly</name> + <doc href="tqdatabrowser.html#readOnly-prop"> <p>This property holds whether the browser is read-only. <p>The default is FALSE, i.e. data can be edited. If the data browser is read-only, no database edits will be allowed. -<p>Set this property's value with <a href="ntqdatabrowser.html#setReadOnly">setReadOnly</a>() and get this property's value with <a href="ntqdatabrowser.html#isReadOnly">isReadOnly</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setReadOnly">setReadOnly</a>() and get this property's value with <a href="tqdatabrowser.html#isReadOnly">isReadOnly</a>(). </doc> </property> <property> - <name>QDataBrowser::sort</name> - <doc href="ntqdatabrowser.html#sort-prop"> + <name>TQDataBrowser::sort</name> + <doc href="tqdatabrowser.html#sort-prop"> <p>This property holds the data browser's sort. <p>The data browser's sort affects the order in which records are -viewed in the browser. Call <a href="ntqdatabrowser.html#refresh">refresh</a>() to apply the new sort. +viewed in the browser. Call <a href="tqdatabrowser.html#refresh">refresh</a>() to apply the new sort. <p> When retrieving the sort property, a string list is returned in the form 'fieldname order', e.g. 'id ASC', 'surname DESC'. <p> There is no default sort. @@ -650,12 +650,12 @@ over a copy, e.g. </pre> -<p>Set this property's value with <a href="ntqdatabrowser.html#setSort">setSort</a>() and get this property's value with <a href="ntqdatabrowser.html#sort">sort</a>(). +<p>Set this property's value with <a href="tqdatabrowser.html#setSort">setSort</a>() and get this property's value with <a href="tqdatabrowser.html#sort">sort</a>(). </doc> </property> <property> - <name>QDataTable::autoEdit</name> - <doc href="ntqdatatable.html#autoEdit-prop"> + <name>TQDataTable::autoEdit</name> + <doc href="tqdatatable.html#autoEdit-prop"> <p>This property holds whether the data table automatically applies edits. <p>The default value for this property is TRUE. When the user begins an insert or update in the table there are two possible outcomes @@ -665,139 +665,139 @@ when they navigate to another record: <li> the insert or update is abandoned -- this occurs if autoEdit is FALSE </ol> -<p>Set this property's value with <a href="ntqdatatable.html#setAutoEdit">setAutoEdit</a>() and get this property's value with <a href="ntqdatatable.html#autoEdit">autoEdit</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setAutoEdit">setAutoEdit</a>() and get this property's value with <a href="tqdatatable.html#autoEdit">autoEdit</a>(). </doc> </property> <property> - <name>QDataTable::confirmCancels</name> - <doc href="ntqdatatable.html#confirmCancels-prop"> + <name>TQDataTable::confirmCancels</name> + <doc href="tqdatatable.html#confirmCancels-prop"> <p>This property holds whether the data table confirms cancel operations. <p>If the confirmCancel property is TRUE, all cancels must be confirmed by the user through a message box (this behavior can be -changed by overriding the <a href="ntqdatatable.html#confirmCancel">confirmCancel</a>() function), otherwise all +changed by overriding the <a href="tqdatatable.html#confirmCancel">confirmCancel</a>() function), otherwise all cancels occur immediately. The default is FALSE. -<p> <p>See also <a href="ntqdatatable.html#confirmEdits-prop">confirmEdits</a> and <a href="ntqdatatable.html#confirmCancel">confirmCancel</a>(). +<p> <p>See also <a href="tqdatatable.html#confirmEdits-prop">confirmEdits</a> and <a href="tqdatatable.html#confirmCancel">confirmCancel</a>(). -<p>Set this property's value with <a href="ntqdatatable.html#setConfirmCancels">setConfirmCancels</a>() and get this property's value with <a href="ntqdatatable.html#confirmCancels">confirmCancels</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setConfirmCancels">setConfirmCancels</a>() and get this property's value with <a href="tqdatatable.html#confirmCancels">confirmCancels</a>(). </doc> </property> <property> - <name>QDataTable::confirmDelete</name> - <doc href="ntqdatatable.html#confirmDelete-prop"> + <name>TQDataTable::confirmDelete</name> + <doc href="tqdatatable.html#confirmDelete-prop"> <p>This property holds whether the data table confirms delete operations. <p>If the confirmDelete property is TRUE, all deletions must be confirmed by the user through a message box (this behaviour can be -changed by overriding the <a href="ntqdatatable.html#confirmEdit">confirmEdit</a>() function), otherwise all +changed by overriding the <a href="tqdatatable.html#confirmEdit">confirmEdit</a>() function), otherwise all delete operations occur immediately. -<p> <p>See also <a href="ntqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatatable.html#confirmEdits-prop">confirmEdits</a>, <a href="ntqdatatable.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="ntqdatatable.html#confirmInsert-prop">confirmInsert</a>. +<p> <p>See also <a href="tqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatatable.html#confirmEdits-prop">confirmEdits</a>, <a href="tqdatatable.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="tqdatatable.html#confirmInsert-prop">confirmInsert</a>. -<p>Set this property's value with <a href="ntqdatatable.html#setConfirmDelete">setConfirmDelete</a>() and get this property's value with <a href="ntqdatatable.html#confirmDelete">confirmDelete</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setConfirmDelete">setConfirmDelete</a>() and get this property's value with <a href="tqdatatable.html#confirmDelete">confirmDelete</a>(). </doc> </property> <property> - <name>QDataTable::confirmEdits</name> - <doc href="ntqdatatable.html#confirmEdits-prop"> + <name>TQDataTable::confirmEdits</name> + <doc href="tqdatatable.html#confirmEdits-prop"> <p>This property holds whether the data table confirms edit operations. <p>If the confirmEdits property is TRUE, the data table confirms all edit operations (inserts, updates and deletes). Finer control of -edit confirmation can be achieved using <a href="ntqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatatable.html#confirmInsert-prop">confirmInsert</a>, <a href="ntqdatatable.html#confirmUpdate-prop">confirmUpdate</a> and <a href="ntqdatatable.html#confirmDelete-prop">confirmDelete</a>. -<p> <p>See also <a href="ntqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatatable.html#confirmInsert-prop">confirmInsert</a>, <a href="ntqdatatable.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="ntqdatatable.html#confirmDelete-prop">confirmDelete</a>. +edit confirmation can be achieved using <a href="tqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatatable.html#confirmInsert-prop">confirmInsert</a>, <a href="tqdatatable.html#confirmUpdate-prop">confirmUpdate</a> and <a href="tqdatatable.html#confirmDelete-prop">confirmDelete</a>. +<p> <p>See also <a href="tqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatatable.html#confirmInsert-prop">confirmInsert</a>, <a href="tqdatatable.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="tqdatatable.html#confirmDelete-prop">confirmDelete</a>. -<p>Set this property's value with <a href="ntqdatatable.html#setConfirmEdits">setConfirmEdits</a>() and get this property's value with <a href="ntqdatatable.html#confirmEdits">confirmEdits</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setConfirmEdits">setConfirmEdits</a>() and get this property's value with <a href="tqdatatable.html#confirmEdits">confirmEdits</a>(). </doc> </property> <property> - <name>QDataTable::confirmInsert</name> - <doc href="ntqdatatable.html#confirmInsert-prop"> + <name>TQDataTable::confirmInsert</name> + <doc href="tqdatatable.html#confirmInsert-prop"> <p>This property holds whether the data table confirms insert operations. <p>If the confirmInsert property is TRUE, all insertions must be confirmed by the user through a message box (this behaviour can be -changed by overriding the <a href="ntqdatatable.html#confirmEdit">confirmEdit</a>() function), otherwise all +changed by overriding the <a href="tqdatatable.html#confirmEdit">confirmEdit</a>() function), otherwise all insert operations occur immediately. -<p> <p>See also <a href="ntqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatatable.html#confirmEdits-prop">confirmEdits</a>, <a href="ntqdatatable.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="ntqdatatable.html#confirmDelete-prop">confirmDelete</a>. +<p> <p>See also <a href="tqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatatable.html#confirmEdits-prop">confirmEdits</a>, <a href="tqdatatable.html#confirmUpdate-prop">confirmUpdate</a>, and <a href="tqdatatable.html#confirmDelete-prop">confirmDelete</a>. -<p>Set this property's value with <a href="ntqdatatable.html#setConfirmInsert">setConfirmInsert</a>() and get this property's value with <a href="ntqdatatable.html#confirmInsert">confirmInsert</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setConfirmInsert">setConfirmInsert</a>() and get this property's value with <a href="tqdatatable.html#confirmInsert">confirmInsert</a>(). </doc> </property> <property> - <name>QDataTable::confirmUpdate</name> - <doc href="ntqdatatable.html#confirmUpdate-prop"> + <name>TQDataTable::confirmUpdate</name> + <doc href="tqdatatable.html#confirmUpdate-prop"> <p>This property holds whether the data table confirms update operations. <p>If the confirmUpdate property is TRUE, all updates must be confirmed by the user through a message box (this behaviour can be -changed by overriding the <a href="ntqdatatable.html#confirmEdit">confirmEdit</a>() function), otherwise all +changed by overriding the <a href="tqdatatable.html#confirmEdit">confirmEdit</a>() function), otherwise all update operations occur immediately. -<p> <p>See also <a href="ntqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="ntqdatatable.html#confirmEdits-prop">confirmEdits</a>, <a href="ntqdatatable.html#confirmInsert-prop">confirmInsert</a>, and <a href="ntqdatatable.html#confirmDelete-prop">confirmDelete</a>. +<p> <p>See also <a href="tqdatatable.html#confirmCancels-prop">confirmCancels</a>, <a href="tqdatatable.html#confirmEdits-prop">confirmEdits</a>, <a href="tqdatatable.html#confirmInsert-prop">confirmInsert</a>, and <a href="tqdatatable.html#confirmDelete-prop">confirmDelete</a>. -<p>Set this property's value with <a href="ntqdatatable.html#setConfirmUpdate">setConfirmUpdate</a>() and get this property's value with <a href="ntqdatatable.html#confirmUpdate">confirmUpdate</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setConfirmUpdate">setConfirmUpdate</a>() and get this property's value with <a href="tqdatatable.html#confirmUpdate">confirmUpdate</a>(). </doc> </property> <property> - <name>QDataTable::dateFormat</name> - <doc href="ntqdatatable.html#dateFormat-prop"> + <name>TQDataTable::dateFormat</name> + <doc href="tqdatatable.html#dateFormat-prop"> <p>This property holds the format used for displaying date/time values. <p>The dateFormat property is used for displaying date/time values in the table. The default value is <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a>. -<p>Set this property's value with <a href="ntqdatatable.html#setDateFormat">setDateFormat</a>() and get this property's value with <a href="ntqdatatable.html#dateFormat">dateFormat</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setDateFormat">setDateFormat</a>() and get this property's value with <a href="tqdatatable.html#dateFormat">dateFormat</a>(). </doc> </property> <property> - <name>QDataTable::falseText</name> - <doc href="ntqdatatable.html#falseText-prop"> + <name>TQDataTable::falseText</name> + <doc href="tqdatatable.html#falseText-prop"> <p>This property holds the text used to represent false values. <p>The falseText property will be used to represent NULL values in the table. The default value is "False". -<p>Set this property's value with <a href="ntqdatatable.html#setFalseText">setFalseText</a>() and get this property's value with <a href="ntqdatatable.html#falseText">falseText</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setFalseText">setFalseText</a>() and get this property's value with <a href="tqdatatable.html#falseText">falseText</a>(). </doc> </property> <property> - <name>QDataTable::filter</name> - <doc href="ntqdatatable.html#filter-prop"> + <name>TQDataTable::filter</name> + <doc href="tqdatatable.html#filter-prop"> <p>This property holds the data filter for the data table. <p>The filter applies to the data shown in the table. To view data -with a new filter, use <a href="ntqdatatable.html#refresh">refresh</a>(). A filter string is an SQL WHERE +with a new filter, use <a href="tqdatatable.html#refresh">refresh</a>(). A filter string is an SQL WHERE clause without the WHERE keyword. <p> There is no default filter. -<p> <p>See also <a href="ntqdatatable.html#sort-prop">sort</a>. +<p> <p>See also <a href="tqdatatable.html#sort-prop">sort</a>. <p> -<p>Set this property's value with <a href="ntqdatatable.html#setFilter">setFilter</a>() and get this property's value with <a href="ntqdatatable.html#filter">filter</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setFilter">setFilter</a>() and get this property's value with <a href="tqdatatable.html#filter">filter</a>(). </doc> </property> <property> - <name>QDataTable::nullText</name> - <doc href="ntqdatatable.html#nullText-prop"> + <name>TQDataTable::nullText</name> + <doc href="tqdatatable.html#nullText-prop"> <p>This property holds the text used to represent NULL values. <p>The nullText property will be used to represent NULL values in the table. The default value is provided by the cursor's driver. -<p>Set this property's value with <a href="ntqdatatable.html#setNullText">setNullText</a>() and get this property's value with <a href="ntqdatatable.html#nullText">nullText</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setNullText">setNullText</a>() and get this property's value with <a href="tqdatatable.html#nullText">nullText</a>(). </doc> </property> <property> - <name>QDataTable::numCols</name> - <doc href="ntqdatatable.html#numCols-prop"> + <name>TQDataTable::numCols</name> + <doc href="tqdatatable.html#numCols-prop"> <p>This property holds the number of columns in the table. <p> -<p>Get this property's value with <a href="ntqdatatable.html#numCols">numCols</a>(). +<p>Get this property's value with <a href="tqdatatable.html#numCols">numCols</a>(). </doc> </property> <property> - <name>QDataTable::numRows</name> - <doc href="ntqdatatable.html#numRows-prop"> + <name>TQDataTable::numRows</name> + <doc href="tqdatatable.html#numRows-prop"> <p>This property holds the number of rows in the table. <p> -<p>Get this property's value with <a href="ntqdatatable.html#numRows">numRows</a>(). +<p>Get this property's value with <a href="tqdatatable.html#numRows">numRows</a>(). </doc> </property> <property> - <name>QDataTable::sort</name> - <doc href="ntqdatatable.html#sort-prop"> + <name>TQDataTable::sort</name> + <doc href="tqdatatable.html#sort-prop"> <p>This property holds the data table's sort. <p>The table's sort affects the order in which data records are -displayed in the table. To apply a sort, use <a href="ntqdatatable.html#refresh">refresh</a>(). +displayed in the table. To apply a sort, use <a href="tqdatatable.html#refresh">refresh</a>(). <p> When examining the sort property, a string list is returned with each item having the form 'fieldname order' (e.g., 'id ASC', 'surname DESC'). @@ -813,19 +813,19 @@ iterate over a copy, e.g. } </pre> -<p> <p>See also <a href="ntqdatatable.html#filter-prop">filter</a> and <a href="ntqdatatable.html#refresh">refresh</a>(). +<p> <p>See also <a href="tqdatatable.html#filter-prop">filter</a> and <a href="tqdatatable.html#refresh">refresh</a>(). -<p>Set this property's value with <a href="ntqdatatable.html#setSort">setSort</a>() and get this property's value with <a href="ntqdatatable.html#sort">sort</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setSort">setSort</a>() and get this property's value with <a href="tqdatatable.html#sort">sort</a>(). </doc> </property> <property> - <name>QDataTable::trueText</name> - <doc href="ntqdatatable.html#trueText-prop"> + <name>TQDataTable::trueText</name> + <doc href="tqdatatable.html#trueText-prop"> <p>This property holds the text used to represent true values. <p>The trueText property will be used to represent NULL values in the table. The default value is "True". -<p>Set this property's value with <a href="ntqdatatable.html#setTrueText">setTrueText</a>() and get this property's value with <a href="ntqdatatable.html#trueText">trueText</a>(). +<p>Set this property's value with <a href="tqdatatable.html#setTrueText">setTrueText</a>() and get this property's value with <a href="tqdatatable.html#trueText">trueText</a>(). </doc> </property> <property> @@ -3498,8 +3498,8 @@ side). The possible orientations are <a href="ntqt.html#Orientation-enum"> </doc> </property> <property> - <name>QSqlDatabase::connectOptions</name> - <doc href="ntqsqldatabase.html#connectOptions-prop"> + <name>TQSqlDatabase::connectOptions</name> + <doc href="tqsqldatabase.html#connectOptions-prop"> <p>This property holds the database connect options. <p>The format of the options string is a semi-colon separated list of option names or option = value pairs. The options depend on the @@ -3578,12 +3578,12 @@ information about the different options. The options will be set prior to opening the database connection. Setting new options without re-opening the connection does nothing. <p> <p>See also -<p>Set this property's value with <a href="ntqsqldatabase.html#setConnectOptions">setConnectOptions</a>() and get this property's value with <a href="ntqsqldatabase.html#connectOptions">connectOptions</a>(). +<p>Set this property's value with <a href="tqsqldatabase.html#setConnectOptions">setConnectOptions</a>() and get this property's value with <a href="tqsqldatabase.html#connectOptions">connectOptions</a>(). </doc> </property> <property> - <name>QSqlDatabase::databaseName</name> - <doc href="ntqsqldatabase.html#databaseName-prop"> + <name>TQSqlDatabase::databaseName</name> + <doc href="tqsqldatabase.html#databaseName-prop"> <p>This property holds the name of the database. <p>Note that the database name is the TNS Service Name for the <a href="sql-driver.html#QOCI8">QOCI8</a> (Oracle) driver. @@ -3594,7 +3594,7 @@ to open a <tt>.mdb</tt> file directly, instead of having to create a entry in the ODBC manager: <p> <pre> ... - db = QSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( "QODBC3" ); + db = TQSqlDatabase::<a href="tqsqldatabase.html#addDatabase">addDatabase</a>( "QODBC3" ); db-&gt;setDatabaseName( "DRIVER={Microsoft Access Driver (*.mdb)};FIL={MS Access};DBQ=myaccessfile.mdb" ); if ( db-&gt;open() ) { // success! @@ -3605,47 +3605,47 @@ entry in the ODBC manager: ("FIL" is the required spelling in Microsoft's API.) <p> There is no default value. -<p>Set this property's value with <a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>() and get this property's value with <a href="ntqsqldatabase.html#databaseName">databaseName</a>(). +<p>Set this property's value with <a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>() and get this property's value with <a href="tqsqldatabase.html#databaseName">databaseName</a>(). </doc> </property> <property> - <name>QSqlDatabase::hostName</name> - <doc href="ntqsqldatabase.html#hostName-prop"> + <name>TQSqlDatabase::hostName</name> + <doc href="tqsqldatabase.html#hostName-prop"> <p>This property holds the host name where the database resides. <p>There is no default value. -<p>Set this property's value with <a href="ntqsqldatabase.html#setHostName">setHostName</a>() and get this property's value with <a href="ntqsqldatabase.html#hostName">hostName</a>(). +<p>Set this property's value with <a href="tqsqldatabase.html#setHostName">setHostName</a>() and get this property's value with <a href="tqsqldatabase.html#hostName">hostName</a>(). </doc> </property> <property> - <name>QSqlDatabase::password</name> - <doc href="ntqsqldatabase.html#password-prop"> + <name>TQSqlDatabase::password</name> + <doc href="tqsqldatabase.html#password-prop"> <p>This property holds the password used to connect to the database. <p>There is no default value. <p> <b>Warning:</b> This function stores the password in plain text within -Qt. Use the <a href="ntqsqldatabase.html#open">open</a>() call that takes a password as parameter to +Qt. Use the <a href="tqsqldatabase.html#open">open</a>() call that takes a password as parameter to avoid this behaviour. -<p> <p>See also <a href="ntqsqldatabase.html#open">open</a>(). +<p> <p>See also <a href="tqsqldatabase.html#open">open</a>(). -<p>Set this property's value with <a href="ntqsqldatabase.html#setPassword">setPassword</a>() and get this property's value with <a href="ntqsqldatabase.html#password">password</a>(). +<p>Set this property's value with <a href="tqsqldatabase.html#setPassword">setPassword</a>() and get this property's value with <a href="tqsqldatabase.html#password">password</a>(). </doc> </property> <property> - <name>QSqlDatabase::port</name> - <doc href="ntqsqldatabase.html#port-prop"> + <name>TQSqlDatabase::port</name> + <doc href="tqsqldatabase.html#port-prop"> <p>This property holds the port used to connect to the database. <p>There is no default value. -<p>Set this property's value with <a href="ntqsqldatabase.html#setPort">setPort</a>() and get this property's value with <a href="ntqsqldatabase.html#port">port</a>(). +<p>Set this property's value with <a href="tqsqldatabase.html#setPort">setPort</a>() and get this property's value with <a href="tqsqldatabase.html#port">port</a>(). </doc> </property> <property> - <name>QSqlDatabase::userName</name> - <doc href="ntqsqldatabase.html#userName-prop"> + <name>TQSqlDatabase::userName</name> + <doc href="tqsqldatabase.html#userName-prop"> <p>This property holds the user name connected to the database. <p>There is no default value. -<p>Set this property's value with <a href="ntqsqldatabase.html#setUserName">setUserName</a>() and get this property's value with <a href="ntqsqldatabase.html#userName">userName</a>(). +<p>Set this property's value with <a href="tqsqldatabase.html#setUserName">setUserName</a>() and get this property's value with <a href="tqsqldatabase.html#userName">userName</a>(). </doc> </property> <property> diff --git a/doc/html/propertyindex b/doc/html/propertyindex index d1b1cbcc1..13ef970a2 100644 --- a/doc/html/propertyindex +++ b/doc/html/propertyindex @@ -38,30 +38,30 @@ "QComboBox/insertionPolicy" ntqcombobox.html#insertionPolicy-prop "QComboBox/maxCount" ntqcombobox.html#maxCount-prop "QComboBox/sizeLimit" ntqcombobox.html#sizeLimit-prop -"QDataBrowser/autoEdit" ntqdatabrowser.html#autoEdit-prop -"QDataBrowser/boundaryChecking" ntqdatabrowser.html#boundaryChecking-prop -"QDataBrowser/confirmCancels" ntqdatabrowser.html#confirmCancels-prop -"QDataBrowser/confirmDelete" ntqdatabrowser.html#confirmDelete-prop -"QDataBrowser/confirmEdits" ntqdatabrowser.html#confirmEdits-prop -"QDataBrowser/confirmInsert" ntqdatabrowser.html#confirmInsert-prop -"QDataBrowser/confirmUpdate" ntqdatabrowser.html#confirmUpdate-prop -"QDataBrowser/filter" ntqdatabrowser.html#filter-prop -"QDataBrowser/readOnly" ntqdatabrowser.html#readOnly-prop -"QDataBrowser/sort" ntqdatabrowser.html#sort-prop -"QDataTable/autoEdit" ntqdatatable.html#autoEdit-prop -"QDataTable/confirmCancels" ntqdatatable.html#confirmCancels-prop -"QDataTable/confirmDelete" ntqdatatable.html#confirmDelete-prop -"QDataTable/confirmEdits" ntqdatatable.html#confirmEdits-prop -"QDataTable/confirmInsert" ntqdatatable.html#confirmInsert-prop -"QDataTable/confirmUpdate" ntqdatatable.html#confirmUpdate-prop -"QDataTable/dateFormat" ntqdatatable.html#dateFormat-prop -"QDataTable/falseText" ntqdatatable.html#falseText-prop -"QDataTable/filter" ntqdatatable.html#filter-prop -"QDataTable/nullText" ntqdatatable.html#nullText-prop -"QDataTable/numCols" ntqdatatable.html#numCols-prop -"QDataTable/numRows" ntqdatatable.html#numRows-prop -"QDataTable/sort" ntqdatatable.html#sort-prop -"QDataTable/trueText" ntqdatatable.html#trueText-prop +"TQDataBrowser/autoEdit" tqdatabrowser.html#autoEdit-prop +"TQDataBrowser/boundaryChecking" tqdatabrowser.html#boundaryChecking-prop +"TQDataBrowser/confirmCancels" tqdatabrowser.html#confirmCancels-prop +"TQDataBrowser/confirmDelete" tqdatabrowser.html#confirmDelete-prop +"TQDataBrowser/confirmEdits" tqdatabrowser.html#confirmEdits-prop +"TQDataBrowser/confirmInsert" tqdatabrowser.html#confirmInsert-prop +"TQDataBrowser/confirmUpdate" tqdatabrowser.html#confirmUpdate-prop +"TQDataBrowser/filter" tqdatabrowser.html#filter-prop +"TQDataBrowser/readOnly" tqdatabrowser.html#readOnly-prop +"TQDataBrowser/sort" tqdatabrowser.html#sort-prop +"TQDataTable/autoEdit" tqdatatable.html#autoEdit-prop +"TQDataTable/confirmCancels" tqdatatable.html#confirmCancels-prop +"TQDataTable/confirmDelete" tqdatatable.html#confirmDelete-prop +"TQDataTable/confirmEdits" tqdatatable.html#confirmEdits-prop +"TQDataTable/confirmInsert" tqdatatable.html#confirmInsert-prop +"TQDataTable/confirmUpdate" tqdatatable.html#confirmUpdate-prop +"TQDataTable/dateFormat" tqdatatable.html#dateFormat-prop +"TQDataTable/falseText" tqdatatable.html#falseText-prop +"TQDataTable/filter" tqdatatable.html#filter-prop +"TQDataTable/nullText" tqdatatable.html#nullText-prop +"TQDataTable/numCols" tqdatatable.html#numCols-prop +"TQDataTable/numRows" tqdatatable.html#numRows-prop +"TQDataTable/sort" tqdatatable.html#sort-prop +"TQDataTable/trueText" tqdatatable.html#trueText-prop "QDateEdit/autoAdvance" qdateedit.html#autoAdvance-prop "QDateEdit/date" qdateedit.html#date-prop "QDateEdit/maxValue" qdateedit.html#maxValue-prop @@ -288,12 +288,12 @@ "QSplitter/handleWidth" ntqsplitter.html#handleWidth-prop "QSplitter/opaqueResize" ntqsplitter.html#opaqueResize-prop "QSplitter/orientation" ntqsplitter.html#orientation-prop -"QSqlDatabase/connectOptions" ntqsqldatabase.html#connectOptions-prop -"QSqlDatabase/databaseName" ntqsqldatabase.html#databaseName-prop -"QSqlDatabase/hostName" ntqsqldatabase.html#hostName-prop -"QSqlDatabase/password" ntqsqldatabase.html#password-prop -"QSqlDatabase/port" ntqsqldatabase.html#port-prop -"QSqlDatabase/userName" ntqsqldatabase.html#userName-prop +"TQSqlDatabase/connectOptions" tqsqldatabase.html#connectOptions-prop +"TQSqlDatabase/databaseName" tqsqldatabase.html#databaseName-prop +"TQSqlDatabase/hostName" tqsqldatabase.html#hostName-prop +"TQSqlDatabase/password" tqsqldatabase.html#password-prop +"TQSqlDatabase/port" tqsqldatabase.html#port-prop +"TQSqlDatabase/userName" tqsqldatabase.html#userName-prop "QStatusBar/sizeGripEnabled" ntqstatusbar.html#sizeGripEnabled-prop "QTabBar/count" ntqtabbar.html#count-prop "QTabBar/currentTab" ntqtabbar.html#currentTab-prop diff --git a/doc/html/qsqlcursor-members.html b/doc/html/qsqlcursor-members.html deleted file mode 100644 index fc859ccc4..000000000 --- a/doc/html/qsqlcursor-members.html +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlcursor.h:58 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQSqlCursor Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlCursor</h1> - -<p>This is the complete list of member functions for -<a href="ntqsqlcursor.html">TQSqlCursor</a>, including inherited members. - -<ul> -<li><a href="ntqsqlcursor.html#TQSqlCursor">TQSqlCursor</a>() -<li><a href="ntqsqlcursor.html#~TQSqlCursor">~TQSqlCursor</a>() -<li><a href="ntqsqlquery.html#addBindValue">addBindValue</a>() -<li><a href="ntqsqlquery.html#afterSeek">afterSeek</a>() -<li><a href="ntqsqlcursor.html#append">append</a>() -<li><a href="ntqsqlquery.html#at">at</a>() -<li><a href="ntqsqlquery.html#beforeSeek">beforeSeek</a>() -<li><a href="ntqsqlquery.html#bindValue">bindValue</a>() -<li><a href="ntqsqlquery.html#boundValue">boundValue</a>() -<li><a href="ntqsqlquery.html#boundValues">boundValues</a>() -<li><a href="ntqsqlcursor.html#calculateField">calculateField</a>() -<li><a href="ntqsqlcursor.html#canDelete">canDelete</a>() -<li><a href="ntqsqlcursor.html#canInsert">canInsert</a>() -<li><a href="ntqsqlcursor.html#canUpdate">canUpdate</a>() -<li><a href="ntqsqlcursor.html#clear">clear</a>() -<li><a href="ntqsqlrecord.html#clearValues">clearValues</a>() -<li><a href="ntqsqlrecord.html#contains">contains</a>() -<li><a href="ntqsqlrecord.html#count">count</a>() -<li><a href="ntqsqlcursor.html#del">del</a>() -<li><a href="ntqsqlquery.html#driver">driver</a>() -<li><a href="ntqsqlcursor.html#editBuffer">editBuffer</a>() -<li><a href="ntqsqlquery.html#exec">exec</a>() -<li><a href="ntqsqlquery.html#executedQuery">executedQuery</a>() -<li><a href="ntqsqlrecord.html#field">field</a>() -<li><a href="ntqsqlrecord.html#fieldName">fieldName</a>() -<li><a href="ntqsqlcursor.html#filter">filter</a>() -<li><a href="ntqsqlquery.html#first">first</a>() -<li><a href="ntqsqlcursor.html#index">index</a>() -<li><a href="ntqsqlcursor.html#insert">insert</a>() -<li><a href="ntqsqlquery.html#isActive">isActive</a>() -<li><a href="ntqsqlcursor.html#isCalculated">isCalculated</a>() -<li><a href="ntqsqlrecord.html#isEmpty">isEmpty</a>() -<li><a href="ntqsqlquery.html#isForwardOnly">isForwardOnly</a>() -<li><a href="ntqsqlrecord.html#isGenerated">isGenerated</a>() -<li><a href="ntqsqlcursor.html#isNull">isNull</a>() -<li><a href="ntqsqlcursor.html#isReadOnly">isReadOnly</a>() -<li><a href="ntqsqlquery.html#isSelect">isSelect</a>() -<li><a href="ntqsqlcursor.html#isTrimmed">isTrimmed</a>() -<li><a href="ntqsqlquery.html#isValid">isValid</a>() -<li><a href="ntqsqlquery.html#last">last</a>() -<li><a href="ntqsqlquery.html#lastError">lastError</a>() -<li><a href="ntqsqlquery.html#lastQuery">lastQuery</a>() -<li><a href="ntqsqlcursor.html#mode">mode</a>() -<li><a href="ntqsqlcursor.html#name">name</a>() -<li><a href="ntqsqlquery.html#next">next</a>() -<li><a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() -<li><a href="ntqsqlcursor.html#operator-eq">operator=</a>() -<li><a href="ntqsqlrecord.html#position">position</a>() -<li><a href="ntqsqlquery.html#prepare">prepare</a>() -<li><a href="ntqsqlquery.html#prev">prev</a>() -<li><a href="ntqsqlcursor.html#primaryIndex">primaryIndex</a>() -<li><a href="ntqsqlcursor.html#primeDelete">primeDelete</a>() -<li><a href="ntqsqlcursor.html#primeInsert">primeInsert</a>() -<li><a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() -<li><a href="ntqsqlcursor.html#remove">remove</a>() -<li><a href="ntqsqlquery.html#result">result</a>() -<li><a href="ntqsqlquery.html#seek">seek</a>() -<li><a href="ntqsqlcursor.html#select">select</a>() -<li><a href="ntqsqlcursor.html#setCalculated">setCalculated</a>() -<li><a href="ntqsqlcursor.html#setFilter">setFilter</a>() -<li><a href="ntqsqlquery.html#setForwardOnly">setForwardOnly</a>() -<li><a href="ntqsqlcursor.html#setGenerated">setGenerated</a>() -<li><a href="ntqsqlcursor.html#setMode">setMode</a>() -<li><a href="ntqsqlcursor.html#setName">setName</a>() -<li><a href="ntqsqlrecord.html#setNull">setNull</a>() -<li><a href="ntqsqlcursor.html#setPrimaryIndex">setPrimaryIndex</a>() -<li><a href="ntqsqlcursor.html#setSort">setSort</a>() -<li><a href="ntqsqlcursor.html#setTrimmed">setTrimmed</a>() -<li><a href="ntqsqlrecord.html#setValue">setValue</a>() -<li><a href="ntqsqlquery.html#size">size</a>() -<li><a href="ntqsqlcursor.html#sort">sort</a>() -<li><a href="ntqsqlcursor.html#toString">toString</a>() -<li><a href="ntqsqlrecord.html#toStringList">toStringList</a>() -<li><a href="ntqsqlcursor.html#update">update</a>() -<li><a href="ntqsqlquery.html#value">value</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/qsqlindex-members.html b/doc/html/qsqlindex-members.html deleted file mode 100644 index a0ed28b4f..000000000 --- a/doc/html/qsqlindex-members.html +++ /dev/null @@ -1,75 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlindex.h:59 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQSqlIndex Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlIndex</h1> - -<p>This is the complete list of member functions for -<a href="ntqsqlindex.html">TQSqlIndex</a>, including inherited members. - -<ul> -<li><a href="ntqsqlindex.html#TQSqlIndex">TQSqlIndex</a>() -<li><a href="ntqsqlindex.html#~TQSqlIndex">~TQSqlIndex</a>() -<li><a href="ntqsqlindex.html#append">append</a>() -<li><a href="ntqsqlrecord.html#clear">clear</a>() -<li><a href="ntqsqlrecord.html#clearValues">clearValues</a>() -<li><a href="ntqsqlrecord.html#contains">contains</a>() -<li><a href="ntqsqlrecord.html#count">count</a>() -<li><a href="ntqsqlindex.html#cursorName">cursorName</a>() -<li><a href="ntqsqlrecord.html#field">field</a>() -<li><a href="ntqsqlrecord.html#fieldName">fieldName</a>() -<li><a href="ntqsqlindex.html#fromStringList">fromStringList</a>() -<li><a href="ntqsqlrecord.html#insert">insert</a>() -<li><a href="ntqsqlindex.html#isDescending">isDescending</a>() -<li><a href="ntqsqlrecord.html#isEmpty">isEmpty</a>() -<li><a href="ntqsqlrecord.html#isGenerated">isGenerated</a>() -<li><a href="ntqsqlrecord.html#isNull">isNull</a>() -<li><a href="ntqsqlindex.html#name">name</a>() -<li><a href="ntqsqlindex.html#operator-eq">operator=</a>() -<li><a href="ntqsqlrecord.html#position">position</a>() -<li><a href="ntqsqlrecord.html#remove">remove</a>() -<li><a href="ntqsqlindex.html#setCursorName">setCursorName</a>() -<li><a href="ntqsqlindex.html#setDescending">setDescending</a>() -<li><a href="ntqsqlrecord.html#setGenerated">setGenerated</a>() -<li><a href="ntqsqlindex.html#setName">setName</a>() -<li><a href="ntqsqlrecord.html#setNull">setNull</a>() -<li><a href="ntqsqlrecord.html#setValue">setValue</a>() -<li><a href="ntqsqlrecord.html#toString">toString</a>() -<li><a href="ntqsqlrecord.html#toStringList">toStringList</a>() -<li><a href="ntqsqlrecord.html#value">value</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/qsqlquery-members.html b/doc/html/qsqlquery-members.html deleted file mode 100644 index c37dc8598..000000000 --- a/doc/html/qsqlquery-members.html +++ /dev/null @@ -1,77 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlquery.h:69 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQSqlQuery Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlQuery</h1> - -<p>This is the complete list of member functions for -<a href="ntqsqlquery.html">TQSqlQuery</a>, including inherited members. - -<ul> -<li><a href="ntqsqlquery.html#TQSqlQuery">TQSqlQuery</a>() -<li><a href="ntqsqlquery.html#~TQSqlQuery">~TQSqlQuery</a>() -<li><a href="ntqsqlquery.html#addBindValue">addBindValue</a>() -<li><a href="ntqsqlquery.html#afterSeek">afterSeek</a>() -<li><a href="ntqsqlquery.html#at">at</a>() -<li><a href="ntqsqlquery.html#beforeSeek">beforeSeek</a>() -<li><a href="ntqsqlquery.html#bindValue">bindValue</a>() -<li><a href="ntqsqlquery.html#boundValue">boundValue</a>() -<li><a href="ntqsqlquery.html#boundValues">boundValues</a>() -<li><a href="ntqsqlquery.html#driver">driver</a>() -<li><a href="ntqsqlquery.html#exec">exec</a>() -<li><a href="ntqsqlquery.html#executedQuery">executedQuery</a>() -<li><a href="ntqsqlquery.html#first">first</a>() -<li><a href="ntqsqlquery.html#isActive">isActive</a>() -<li><a href="ntqsqlquery.html#isForwardOnly">isForwardOnly</a>() -<li><a href="ntqsqlquery.html#isNull">isNull</a>() -<li><a href="ntqsqlquery.html#isSelect">isSelect</a>() -<li><a href="ntqsqlquery.html#isValid">isValid</a>() -<li><a href="ntqsqlquery.html#last">last</a>() -<li><a href="ntqsqlquery.html#lastError">lastError</a>() -<li><a href="ntqsqlquery.html#lastQuery">lastQuery</a>() -<li><a href="ntqsqlquery.html#next">next</a>() -<li><a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() -<li><a href="ntqsqlquery.html#operator-eq">operator=</a>() -<li><a href="ntqsqlquery.html#prepare">prepare</a>() -<li><a href="ntqsqlquery.html#prev">prev</a>() -<li><a href="ntqsqlquery.html#result">result</a>() -<li><a href="ntqsqlquery.html#seek">seek</a>() -<li><a href="ntqsqlquery.html#setForwardOnly">setForwardOnly</a>() -<li><a href="ntqsqlquery.html#size">size</a>() -<li><a href="ntqsqlquery.html#value">value</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/qsqlselectcursor-members.html b/doc/html/qsqlselectcursor-members.html deleted file mode 100644 index a92ba729a..000000000 --- a/doc/html/qsqlselectcursor-members.html +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlselectcursor.h:54 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQSqlSelectCursor Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlSelectCursor</h1> - -<p>This is the complete list of member functions for -<a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a>, including inherited members. - -<ul> -<li><a href="ntqsqlselectcursor.html#TQSqlSelectCursor">TQSqlSelectCursor</a>() -<li><a href="ntqsqlselectcursor.html#~TQSqlSelectCursor">~TQSqlSelectCursor</a>() -<li><a href="ntqsqlquery.html#addBindValue">addBindValue</a>() -<li><a href="ntqsqlquery.html#afterSeek">afterSeek</a>() -<li><a href="ntqsqlcursor.html#append">append</a>() -<li><a href="ntqsqlquery.html#at">at</a>() -<li><a href="ntqsqlquery.html#beforeSeek">beforeSeek</a>() -<li><a href="ntqsqlquery.html#bindValue">bindValue</a>() -<li><a href="ntqsqlquery.html#boundValue">boundValue</a>() -<li><a href="ntqsqlquery.html#boundValues">boundValues</a>() -<li><a href="ntqsqlcursor.html#calculateField">calculateField</a>() -<li><a href="ntqsqlcursor.html#canDelete">canDelete</a>() -<li><a href="ntqsqlcursor.html#canInsert">canInsert</a>() -<li><a href="ntqsqlcursor.html#canUpdate">canUpdate</a>() -<li><a href="ntqsqlcursor.html#clear">clear</a>() -<li><a href="ntqsqlrecord.html#clearValues">clearValues</a>() -<li><a href="ntqsqlrecord.html#contains">contains</a>() -<li><a href="ntqsqlrecord.html#count">count</a>() -<li><a href="ntqsqlcursor.html#del">del</a>() -<li><a href="ntqsqlquery.html#driver">driver</a>() -<li><a href="ntqsqlcursor.html#editBuffer">editBuffer</a>() -<li><a href="ntqsqlquery.html#exec">exec</a>() -<li><a href="ntqsqlquery.html#executedQuery">executedQuery</a>() -<li><a href="ntqsqlrecord.html#field">field</a>() -<li><a href="ntqsqlrecord.html#fieldName">fieldName</a>() -<li><a href="ntqsqlcursor.html#filter">filter</a>() -<li><a href="ntqsqlquery.html#first">first</a>() -<li><a href="ntqsqlcursor.html#index">index</a>() -<li><a href="ntqsqlcursor.html#insert">insert</a>() -<li><a href="ntqsqlquery.html#isActive">isActive</a>() -<li><a href="ntqsqlcursor.html#isCalculated">isCalculated</a>() -<li><a href="ntqsqlrecord.html#isEmpty">isEmpty</a>() -<li><a href="ntqsqlquery.html#isForwardOnly">isForwardOnly</a>() -<li><a href="ntqsqlrecord.html#isGenerated">isGenerated</a>() -<li><a href="ntqsqlcursor.html#isNull">isNull</a>() -<li><a href="ntqsqlcursor.html#isReadOnly">isReadOnly</a>() -<li><a href="ntqsqlquery.html#isSelect">isSelect</a>() -<li><a href="ntqsqlcursor.html#isTrimmed">isTrimmed</a>() -<li><a href="ntqsqlquery.html#isValid">isValid</a>() -<li><a href="ntqsqlquery.html#last">last</a>() -<li><a href="ntqsqlquery.html#lastError">lastError</a>() -<li><a href="ntqsqlquery.html#lastQuery">lastQuery</a>() -<li><a href="ntqsqlcursor.html#mode">mode</a>() -<li><a href="ntqsqlcursor.html#name">name</a>() -<li><a href="ntqsqlquery.html#next">next</a>() -<li><a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() -<li><a href="ntqsqlcursor.html#operator-eq">operator=</a>() -<li><a href="ntqsqlrecord.html#position">position</a>() -<li><a href="ntqsqlquery.html#prepare">prepare</a>() -<li><a href="ntqsqlquery.html#prev">prev</a>() -<li><a href="ntqsqlcursor.html#primaryIndex">primaryIndex</a>() -<li><a href="ntqsqlcursor.html#primeDelete">primeDelete</a>() -<li><a href="ntqsqlcursor.html#primeInsert">primeInsert</a>() -<li><a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() -<li><a href="ntqsqlcursor.html#remove">remove</a>() -<li><a href="ntqsqlquery.html#result">result</a>() -<li><a href="ntqsqlquery.html#seek">seek</a>() -<li><a href="ntqsqlcursor.html#select">select</a>() -<li><a href="ntqsqlcursor.html#setCalculated">setCalculated</a>() -<li><a href="ntqsqlcursor.html#setFilter">setFilter</a>() -<li><a href="ntqsqlquery.html#setForwardOnly">setForwardOnly</a>() -<li><a href="ntqsqlcursor.html#setGenerated">setGenerated</a>() -<li><a href="ntqsqlcursor.html#setMode">setMode</a>() -<li><a href="ntqsqlcursor.html#setName">setName</a>() -<li><a href="ntqsqlrecord.html#setNull">setNull</a>() -<li><a href="ntqsqlcursor.html#setPrimaryIndex">setPrimaryIndex</a>() -<li><a href="ntqsqlcursor.html#setSort">setSort</a>() -<li><a href="ntqsqlcursor.html#setTrimmed">setTrimmed</a>() -<li><a href="ntqsqlrecord.html#setValue">setValue</a>() -<li><a href="ntqsqlquery.html#size">size</a>() -<li><a href="ntqsqlcursor.html#sort">sort</a>() -<li><a href="ntqsqlcursor.html#toString">toString</a>() -<li><a href="ntqsqlrecord.html#toStringList">toStringList</a>() -<li><a href="ntqsqlcursor.html#update">update</a>() -<li><a href="ntqsqlquery.html#value">value</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index 928a1f74c..3920da97e 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -1409,79 +1409,79 @@ <section ref="qcustommenuitem-members.html" title="List of All Member Functions"/> <section ref="qmenudata-h.html" title="Header File"/> </section> -<section ref="ntqdatabrowser.html" title="QDataBrowser Class Reference"> - <keyword ref="ntqdatabrowser.html">QDataBrowser</keyword> - <keyword ref="ntqdatabrowser.html#Boundary">Boundary</keyword> - <keyword ref="ntqdatabrowser.html#autoEdit">autoEdit</keyword> - <keyword ref="ntqdatabrowser.html#autoEdit-prop">autoEdit</keyword> - <keyword ref="ntqdatabrowser.html#beforeDelete">beforeDelete</keyword> - <keyword ref="ntqdatabrowser.html#beforeInsert">beforeInsert</keyword> - <keyword ref="ntqdatabrowser.html#beforeUpdate">beforeUpdate</keyword> - <keyword ref="ntqdatabrowser.html#boundary">boundary</keyword> - <keyword ref="ntqdatabrowser.html#boundaryChecking">boundaryChecking</keyword> - <keyword ref="ntqdatabrowser.html#boundaryChecking-prop">boundaryChecking</keyword> - <keyword ref="ntqdatabrowser.html#clearValues">clearValues</keyword> - <keyword ref="ntqdatabrowser.html#confirmCancel">confirmCancel</keyword> - <keyword ref="ntqdatabrowser.html#confirmCancels">confirmCancels</keyword> - <keyword ref="ntqdatabrowser.html#confirmCancels-prop">confirmCancels</keyword> - <keyword ref="ntqdatabrowser.html#confirmDelete">confirmDelete</keyword> - <keyword ref="ntqdatabrowser.html#confirmDelete-prop">confirmDelete</keyword> - <keyword ref="ntqdatabrowser.html#confirmEdit">confirmEdit</keyword> - <keyword ref="ntqdatabrowser.html#confirmEdits">confirmEdits</keyword> - <keyword ref="ntqdatabrowser.html#confirmEdits-prop">confirmEdits</keyword> - <keyword ref="ntqdatabrowser.html#confirmInsert">confirmInsert</keyword> - <keyword ref="ntqdatabrowser.html#confirmInsert-prop">confirmInsert</keyword> - <keyword ref="ntqdatabrowser.html#confirmUpdate">confirmUpdate</keyword> - <keyword ref="ntqdatabrowser.html#confirmUpdate-prop">confirmUpdate</keyword> - <keyword ref="ntqdatabrowser.html#currentChanged">currentChanged</keyword> - <keyword ref="ntqdatabrowser.html#currentEdited">currentEdited</keyword> - <keyword ref="ntqdatabrowser.html#cursorChanged">cursorChanged</keyword> - <keyword ref="ntqdatabrowser.html#del">del</keyword> - <keyword ref="ntqdatabrowser.html#deleteCurrent">deleteCurrent</keyword> - <keyword ref="ntqdatabrowser.html#filter">filter</keyword> - <keyword ref="ntqdatabrowser.html#filter-prop">filter</keyword> - <keyword ref="ntqdatabrowser.html#first">first</keyword> - <keyword ref="ntqdatabrowser.html#firstRecordAvailable">firstRecordAvailable</keyword> - <keyword ref="ntqdatabrowser.html#form">form</keyword> - <keyword ref="ntqdatabrowser.html#handleError">handleError</keyword> - <keyword ref="ntqdatabrowser.html#insert">insert</keyword> - <keyword ref="ntqdatabrowser.html#insertCurrent">insertCurrent</keyword> - <keyword ref="ntqdatabrowser.html#isReadOnly">isReadOnly</keyword> - <keyword ref="ntqdatabrowser.html#last">last</keyword> - <keyword ref="ntqdatabrowser.html#lastRecordAvailable">lastRecordAvailable</keyword> - <keyword ref="ntqdatabrowser.html#next">next</keyword> - <keyword ref="ntqdatabrowser.html#nextRecordAvailable">nextRecordAvailable</keyword> - <keyword ref="ntqdatabrowser.html#prev">prev</keyword> - <keyword ref="ntqdatabrowser.html#prevRecordAvailable">prevRecordAvailable</keyword> - <keyword ref="ntqdatabrowser.html#primeDelete">primeDelete</keyword> - <keyword ref="ntqdatabrowser.html#primeInsert">primeInsert</keyword> - <keyword ref="ntqdatabrowser.html#primeUpdate">primeUpdate</keyword> - <keyword ref="ntqdatabrowser.html#readFields">readFields</keyword> - <keyword ref="ntqdatabrowser.html#readOnly-prop">readOnly</keyword> - <keyword ref="ntqdatabrowser.html#refresh">refresh</keyword> - <keyword ref="ntqdatabrowser.html#seek">seek</keyword> - <keyword ref="ntqdatabrowser.html#setAutoEdit">setAutoEdit</keyword> - <keyword ref="ntqdatabrowser.html#setBoundaryChecking">setBoundaryChecking</keyword> - <keyword ref="ntqdatabrowser.html#setConfirmCancels">setConfirmCancels</keyword> - <keyword ref="ntqdatabrowser.html#setConfirmDelete">setConfirmDelete</keyword> - <keyword ref="ntqdatabrowser.html#setConfirmEdits">setConfirmEdits</keyword> - <keyword ref="ntqdatabrowser.html#setConfirmInsert">setConfirmInsert</keyword> - <keyword ref="ntqdatabrowser.html#setConfirmUpdate">setConfirmUpdate</keyword> - <keyword ref="ntqdatabrowser.html#setFilter">setFilter</keyword> - <keyword ref="ntqdatabrowser.html#setForm">setForm</keyword> - <keyword ref="ntqdatabrowser.html#setReadOnly">setReadOnly</keyword> - <keyword ref="ntqdatabrowser.html#setSort">setSort</keyword> - <keyword ref="ntqdatabrowser.html#setSqlCursor">setSqlCursor</keyword> - <keyword ref="ntqdatabrowser.html#sort">sort</keyword> - <keyword ref="ntqdatabrowser.html#sort-prop">sort</keyword> - <keyword ref="ntqdatabrowser.html#sqlCursor">sqlCursor</keyword> - <keyword ref="ntqdatabrowser.html#update">update</keyword> - <keyword ref="ntqdatabrowser.html#updateBoundary">updateBoundary</keyword> - <keyword ref="ntqdatabrowser.html#updateCurrent">updateCurrent</keyword> - <keyword ref="ntqdatabrowser.html#writeFields">writeFields</keyword> - <keyword ref="ntqdatabrowser.html#~QDataBrowser">~QDataBrowser</keyword> - <section ref="qdatabrowser-members.html" title="List of All Member Functions"/> - <section ref="qdatabrowser-h.html" title="Header File"/> +<section ref="tqdatabrowser.html" title="TQDataBrowser Class Reference"> + <keyword ref="tqdatabrowser.html">TQDataBrowser</keyword> + <keyword ref="tqdatabrowser.html#Boundary">Boundary</keyword> + <keyword ref="tqdatabrowser.html#autoEdit">autoEdit</keyword> + <keyword ref="tqdatabrowser.html#autoEdit-prop">autoEdit</keyword> + <keyword ref="tqdatabrowser.html#beforeDelete">beforeDelete</keyword> + <keyword ref="tqdatabrowser.html#beforeInsert">beforeInsert</keyword> + <keyword ref="tqdatabrowser.html#beforeUpdate">beforeUpdate</keyword> + <keyword ref="tqdatabrowser.html#boundary">boundary</keyword> + <keyword ref="tqdatabrowser.html#boundaryChecking">boundaryChecking</keyword> + <keyword ref="tqdatabrowser.html#boundaryChecking-prop">boundaryChecking</keyword> + <keyword ref="tqdatabrowser.html#clearValues">clearValues</keyword> + <keyword ref="tqdatabrowser.html#confirmCancel">confirmCancel</keyword> + <keyword ref="tqdatabrowser.html#confirmCancels">confirmCancels</keyword> + <keyword ref="tqdatabrowser.html#confirmCancels-prop">confirmCancels</keyword> + <keyword ref="tqdatabrowser.html#confirmDelete">confirmDelete</keyword> + <keyword ref="tqdatabrowser.html#confirmDelete-prop">confirmDelete</keyword> + <keyword ref="tqdatabrowser.html#confirmEdit">confirmEdit</keyword> + <keyword ref="tqdatabrowser.html#confirmEdits">confirmEdits</keyword> + <keyword ref="tqdatabrowser.html#confirmEdits-prop">confirmEdits</keyword> + <keyword ref="tqdatabrowser.html#confirmInsert">confirmInsert</keyword> + <keyword ref="tqdatabrowser.html#confirmInsert-prop">confirmInsert</keyword> + <keyword ref="tqdatabrowser.html#confirmUpdate">confirmUpdate</keyword> + <keyword ref="tqdatabrowser.html#confirmUpdate-prop">confirmUpdate</keyword> + <keyword ref="tqdatabrowser.html#currentChanged">currentChanged</keyword> + <keyword ref="tqdatabrowser.html#currentEdited">currentEdited</keyword> + <keyword ref="tqdatabrowser.html#cursorChanged">cursorChanged</keyword> + <keyword ref="tqdatabrowser.html#del">del</keyword> + <keyword ref="tqdatabrowser.html#deleteCurrent">deleteCurrent</keyword> + <keyword ref="tqdatabrowser.html#filter">filter</keyword> + <keyword ref="tqdatabrowser.html#filter-prop">filter</keyword> + <keyword ref="tqdatabrowser.html#first">first</keyword> + <keyword ref="tqdatabrowser.html#firstRecordAvailable">firstRecordAvailable</keyword> + <keyword ref="tqdatabrowser.html#form">form</keyword> + <keyword ref="tqdatabrowser.html#handleError">handleError</keyword> + <keyword ref="tqdatabrowser.html#insert">insert</keyword> + <keyword ref="tqdatabrowser.html#insertCurrent">insertCurrent</keyword> + <keyword ref="tqdatabrowser.html#isReadOnly">isReadOnly</keyword> + <keyword ref="tqdatabrowser.html#last">last</keyword> + <keyword ref="tqdatabrowser.html#lastRecordAvailable">lastRecordAvailable</keyword> + <keyword ref="tqdatabrowser.html#next">next</keyword> + <keyword ref="tqdatabrowser.html#nextRecordAvailable">nextRecordAvailable</keyword> + <keyword ref="tqdatabrowser.html#prev">prev</keyword> + <keyword ref="tqdatabrowser.html#prevRecordAvailable">prevRecordAvailable</keyword> + <keyword ref="tqdatabrowser.html#primeDelete">primeDelete</keyword> + <keyword ref="tqdatabrowser.html#primeInsert">primeInsert</keyword> + <keyword ref="tqdatabrowser.html#primeUpdate">primeUpdate</keyword> + <keyword ref="tqdatabrowser.html#readFields">readFields</keyword> + <keyword ref="tqdatabrowser.html#readOnly-prop">readOnly</keyword> + <keyword ref="tqdatabrowser.html#refresh">refresh</keyword> + <keyword ref="tqdatabrowser.html#seek">seek</keyword> + <keyword ref="tqdatabrowser.html#setAutoEdit">setAutoEdit</keyword> + <keyword ref="tqdatabrowser.html#setBoundaryChecking">setBoundaryChecking</keyword> + <keyword ref="tqdatabrowser.html#setConfirmCancels">setConfirmCancels</keyword> + <keyword ref="tqdatabrowser.html#setConfirmDelete">setConfirmDelete</keyword> + <keyword ref="tqdatabrowser.html#setConfirmEdits">setConfirmEdits</keyword> + <keyword ref="tqdatabrowser.html#setConfirmInsert">setConfirmInsert</keyword> + <keyword ref="tqdatabrowser.html#setConfirmUpdate">setConfirmUpdate</keyword> + <keyword ref="tqdatabrowser.html#setFilter">setFilter</keyword> + <keyword ref="tqdatabrowser.html#setForm">setForm</keyword> + <keyword ref="tqdatabrowser.html#setReadOnly">setReadOnly</keyword> + <keyword ref="tqdatabrowser.html#setSort">setSort</keyword> + <keyword ref="tqdatabrowser.html#setSqlCursor">setSqlCursor</keyword> + <keyword ref="tqdatabrowser.html#sort">sort</keyword> + <keyword ref="tqdatabrowser.html#sort-prop">sort</keyword> + <keyword ref="tqdatabrowser.html#sqlCursor">sqlCursor</keyword> + <keyword ref="tqdatabrowser.html#update">update</keyword> + <keyword ref="tqdatabrowser.html#updateBoundary">updateBoundary</keyword> + <keyword ref="tqdatabrowser.html#updateCurrent">updateCurrent</keyword> + <keyword ref="tqdatabrowser.html#writeFields">writeFields</keyword> + <keyword ref="tqdatabrowser.html#~TQDataBrowser">~TQDataBrowser</keyword> + <section ref="tqdatabrowser-members.html" title="List of All Member Functions"/> + <section ref="tqdatabrowser-h.html" title="Header File"/> </section> <section ref="qdatapump.html" title="QDataPump Class Reference"> <section ref="qdatapump-members.html" title="List of All Member Functions"/> @@ -1528,106 +1528,106 @@ <section ref="qdatastream-members.html" title="List of All Member Functions"/> <section ref="qdatastream-h.html" title="Header File"/> </section> -<section ref="ntqdatatable.html" title="QDataTable Class Reference"> - <keyword ref="ntqdatatable.html">QDataTable</keyword> - <keyword ref="ntqdatatable.html#Refresh">Refresh</keyword> - <keyword ref="ntqdatatable.html#addColumn">addColumn</keyword> - <keyword ref="ntqdatatable.html#adjustColumn">adjustColumn</keyword> - <keyword ref="ntqdatatable.html#autoDelete">autoDelete</keyword> - <keyword ref="ntqdatatable.html#autoEdit">autoEdit</keyword> - <keyword ref="ntqdatatable.html#autoEdit-prop">autoEdit</keyword> - <keyword ref="ntqdatatable.html#beforeDelete">beforeDelete</keyword> - <keyword ref="ntqdatatable.html#beforeInsert">beforeInsert</keyword> - <keyword ref="ntqdatatable.html#beforeUpdate">beforeUpdate</keyword> - <keyword ref="ntqdatatable.html#beginInsert">beginInsert</keyword> - <keyword ref="ntqdatatable.html#beginUpdate">beginUpdate</keyword> - <keyword ref="ntqdatatable.html#confirmCancel">confirmCancel</keyword> - <keyword ref="ntqdatatable.html#confirmCancels">confirmCancels</keyword> - <keyword ref="ntqdatatable.html#confirmCancels-prop">confirmCancels</keyword> - <keyword ref="ntqdatatable.html#confirmDelete">confirmDelete</keyword> - <keyword ref="ntqdatatable.html#confirmDelete-prop">confirmDelete</keyword> - <keyword ref="ntqdatatable.html#confirmEdit">confirmEdit</keyword> - <keyword ref="ntqdatatable.html#confirmEdits">confirmEdits</keyword> - <keyword ref="ntqdatatable.html#confirmEdits-prop">confirmEdits</keyword> - <keyword ref="ntqdatatable.html#confirmInsert">confirmInsert</keyword> - <keyword ref="ntqdatatable.html#confirmInsert-prop">confirmInsert</keyword> - <keyword ref="ntqdatatable.html#confirmUpdate">confirmUpdate</keyword> - <keyword ref="ntqdatatable.html#confirmUpdate-prop">confirmUpdate</keyword> - <keyword ref="ntqdatatable.html#currentChanged">currentChanged</keyword> - <keyword ref="ntqdatatable.html#currentRecord">currentRecord</keyword> - <keyword ref="ntqdatatable.html#cursorChanged">cursorChanged</keyword> - <keyword ref="ntqdatatable.html#dateFormat">dateFormat</keyword> - <keyword ref="ntqdatatable.html#dateFormat-prop">dateFormat</keyword> - <keyword ref="ntqdatatable.html#deleteCurrent">deleteCurrent</keyword> - <keyword ref="ntqdatatable.html#falseText">falseText</keyword> - <keyword ref="ntqdatatable.html#falseText-prop">falseText</keyword> - <keyword ref="ntqdatatable.html#fieldAlignment">fieldAlignment</keyword> - <keyword ref="ntqdatatable.html#filter">filter</keyword> - <keyword ref="ntqdatatable.html#filter-prop">filter</keyword> - <keyword ref="ntqdatatable.html#find">find</keyword> - <keyword ref="ntqdatatable.html#handleError">handleError</keyword> - <keyword ref="ntqdatatable.html#indexOf">indexOf</keyword> - <keyword ref="ntqdatatable.html#insertCurrent">insertCurrent</keyword> - <keyword ref="ntqdatatable.html#installEditorFactory">installEditorFactory</keyword> - <keyword ref="ntqdatatable.html#installPropertyMap">installPropertyMap</keyword> - <keyword ref="ntqdatatable.html#nullText">nullText</keyword> - <keyword ref="ntqdatatable.html#nullText-prop">nullText</keyword> - <keyword ref="ntqdatatable.html#numCols">numCols</keyword> - <keyword ref="ntqdatatable.html#numCols-prop">numCols</keyword> - <keyword ref="ntqdatatable.html#numRows">numRows</keyword> - <keyword ref="ntqdatatable.html#numRows-prop">numRows</keyword> - <keyword ref="ntqdatatable.html#paintField">paintField</keyword> - <keyword ref="ntqdatatable.html#primeDelete">primeDelete</keyword> - <keyword ref="ntqdatatable.html#primeInsert">primeInsert</keyword> - <keyword ref="ntqdatatable.html#primeUpdate">primeUpdate</keyword> - <keyword ref="ntqdatatable.html#refresh">refresh</keyword> - <keyword ref="ntqdatatable.html#removeColumn">removeColumn</keyword> - <keyword ref="ntqdatatable.html#reset">reset</keyword> - <keyword ref="ntqdatatable.html#setAutoDelete">setAutoDelete</keyword> - <keyword ref="ntqdatatable.html#setAutoEdit">setAutoEdit</keyword> - <keyword ref="ntqdatatable.html#setColumn">setColumn</keyword> - <keyword ref="ntqdatatable.html#setColumnWidth">setColumnWidth</keyword> - <keyword ref="ntqdatatable.html#setConfirmCancels">setConfirmCancels</keyword> - <keyword ref="ntqdatatable.html#setConfirmDelete">setConfirmDelete</keyword> - <keyword ref="ntqdatatable.html#setConfirmEdits">setConfirmEdits</keyword> - <keyword ref="ntqdatatable.html#setConfirmInsert">setConfirmInsert</keyword> - <keyword ref="ntqdatatable.html#setConfirmUpdate">setConfirmUpdate</keyword> - <keyword ref="ntqdatatable.html#setDateFormat">setDateFormat</keyword> - <keyword ref="ntqdatatable.html#setFalseText">setFalseText</keyword> - <keyword ref="ntqdatatable.html#setFilter">setFilter</keyword> - <keyword ref="ntqdatatable.html#setNullText">setNullText</keyword> - <keyword ref="ntqdatatable.html#setSize">setSize</keyword> - <keyword ref="ntqdatatable.html#setSort">setSort</keyword> - <keyword ref="ntqdatatable.html#setSqlCursor">setSqlCursor</keyword> - <keyword ref="ntqdatatable.html#setTrueText">setTrueText</keyword> - <keyword ref="ntqdatatable.html#sort">sort</keyword> - <keyword ref="ntqdatatable.html#sort-prop">sort</keyword> - <keyword ref="ntqdatatable.html#sortAscending">sortAscending</keyword> - <keyword ref="ntqdatatable.html#sortColumn">sortColumn</keyword> - <keyword ref="ntqdatatable.html#sortDescending">sortDescending</keyword> - <keyword ref="ntqdatatable.html#sqlCursor">sqlCursor</keyword> - <keyword ref="ntqdatatable.html#text">text</keyword> - <keyword ref="ntqdatatable.html#trueText">trueText</keyword> - <keyword ref="ntqdatatable.html#trueText-prop">trueText</keyword> - <keyword ref="ntqdatatable.html#updateCurrent">updateCurrent</keyword> - <keyword ref="ntqdatatable.html#value">value</keyword> - <keyword ref="ntqdatatable.html#~QDataTable">~QDataTable</keyword> - <section ref="qdatatable-members.html" title="List of All Member Functions"/> - <section ref="qdatatable-h.html" title="Header File"/> -</section> -<section ref="ntqdataview.html" title="QDataView Class Reference"> - <keyword ref="ntqdataview.html">QDataView</keyword> - <keyword ref="ntqdataview.html#clearValues">clearValues</keyword> - <keyword ref="ntqdataview.html#form">form</keyword> - <keyword ref="ntqdataview.html#readFields">readFields</keyword> - <keyword ref="ntqdataview.html#record">record</keyword> - <keyword ref="ntqdataview.html#refresh">refresh</keyword> - <keyword ref="ntqdataview.html#setForm">setForm</keyword> - <keyword ref="ntqdataview.html#setRecord">setRecord</keyword> - <keyword ref="ntqdataview.html#writeFields">writeFields</keyword> - <keyword ref="ntqdataview.html#~QDataView">~QDataView</keyword> - <section ref="qdataview-members.html" title="List of All Member Functions"/> - <section ref="qdataview-h.html" title="Header File"/> +<section ref="tqdatatable.html" title="TQDataTable Class Reference"> + <keyword ref="tqdatatable.html">TQDataTable</keyword> + <keyword ref="tqdatatable.html#Refresh">Refresh</keyword> + <keyword ref="tqdatatable.html#addColumn">addColumn</keyword> + <keyword ref="tqdatatable.html#adjustColumn">adjustColumn</keyword> + <keyword ref="tqdatatable.html#autoDelete">autoDelete</keyword> + <keyword ref="tqdatatable.html#autoEdit">autoEdit</keyword> + <keyword ref="tqdatatable.html#autoEdit-prop">autoEdit</keyword> + <keyword ref="tqdatatable.html#beforeDelete">beforeDelete</keyword> + <keyword ref="tqdatatable.html#beforeInsert">beforeInsert</keyword> + <keyword ref="tqdatatable.html#beforeUpdate">beforeUpdate</keyword> + <keyword ref="tqdatatable.html#beginInsert">beginInsert</keyword> + <keyword ref="tqdatatable.html#beginUpdate">beginUpdate</keyword> + <keyword ref="tqdatatable.html#confirmCancel">confirmCancel</keyword> + <keyword ref="tqdatatable.html#confirmCancels">confirmCancels</keyword> + <keyword ref="tqdatatable.html#confirmCancels-prop">confirmCancels</keyword> + <keyword ref="tqdatatable.html#confirmDelete">confirmDelete</keyword> + <keyword ref="tqdatatable.html#confirmDelete-prop">confirmDelete</keyword> + <keyword ref="tqdatatable.html#confirmEdit">confirmEdit</keyword> + <keyword ref="tqdatatable.html#confirmEdits">confirmEdits</keyword> + <keyword ref="tqdatatable.html#confirmEdits-prop">confirmEdits</keyword> + <keyword ref="tqdatatable.html#confirmInsert">confirmInsert</keyword> + <keyword ref="tqdatatable.html#confirmInsert-prop">confirmInsert</keyword> + <keyword ref="tqdatatable.html#confirmUpdate">confirmUpdate</keyword> + <keyword ref="tqdatatable.html#confirmUpdate-prop">confirmUpdate</keyword> + <keyword ref="tqdatatable.html#currentChanged">currentChanged</keyword> + <keyword ref="tqdatatable.html#currentRecord">currentRecord</keyword> + <keyword ref="tqdatatable.html#cursorChanged">cursorChanged</keyword> + <keyword ref="tqdatatable.html#dateFormat">dateFormat</keyword> + <keyword ref="tqdatatable.html#dateFormat-prop">dateFormat</keyword> + <keyword ref="tqdatatable.html#deleteCurrent">deleteCurrent</keyword> + <keyword ref="tqdatatable.html#falseText">falseText</keyword> + <keyword ref="tqdatatable.html#falseText-prop">falseText</keyword> + <keyword ref="tqdatatable.html#fieldAlignment">fieldAlignment</keyword> + <keyword ref="tqdatatable.html#filter">filter</keyword> + <keyword ref="tqdatatable.html#filter-prop">filter</keyword> + <keyword ref="tqdatatable.html#find">find</keyword> + <keyword ref="tqdatatable.html#handleError">handleError</keyword> + <keyword ref="tqdatatable.html#indexOf">indexOf</keyword> + <keyword ref="tqdatatable.html#insertCurrent">insertCurrent</keyword> + <keyword ref="tqdatatable.html#installEditorFactory">installEditorFactory</keyword> + <keyword ref="tqdatatable.html#installPropertyMap">installPropertyMap</keyword> + <keyword ref="tqdatatable.html#nullText">nullText</keyword> + <keyword ref="tqdatatable.html#nullText-prop">nullText</keyword> + <keyword ref="tqdatatable.html#numCols">numCols</keyword> + <keyword ref="tqdatatable.html#numCols-prop">numCols</keyword> + <keyword ref="tqdatatable.html#numRows">numRows</keyword> + <keyword ref="tqdatatable.html#numRows-prop">numRows</keyword> + <keyword ref="tqdatatable.html#paintField">paintField</keyword> + <keyword ref="tqdatatable.html#primeDelete">primeDelete</keyword> + <keyword ref="tqdatatable.html#primeInsert">primeInsert</keyword> + <keyword ref="tqdatatable.html#primeUpdate">primeUpdate</keyword> + <keyword ref="tqdatatable.html#refresh">refresh</keyword> + <keyword ref="tqdatatable.html#removeColumn">removeColumn</keyword> + <keyword ref="tqdatatable.html#reset">reset</keyword> + <keyword ref="tqdatatable.html#setAutoDelete">setAutoDelete</keyword> + <keyword ref="tqdatatable.html#setAutoEdit">setAutoEdit</keyword> + <keyword ref="tqdatatable.html#setColumn">setColumn</keyword> + <keyword ref="tqdatatable.html#setColumnWidth">setColumnWidth</keyword> + <keyword ref="tqdatatable.html#setConfirmCancels">setConfirmCancels</keyword> + <keyword ref="tqdatatable.html#setConfirmDelete">setConfirmDelete</keyword> + <keyword ref="tqdatatable.html#setConfirmEdits">setConfirmEdits</keyword> + <keyword ref="tqdatatable.html#setConfirmInsert">setConfirmInsert</keyword> + <keyword ref="tqdatatable.html#setConfirmUpdate">setConfirmUpdate</keyword> + <keyword ref="tqdatatable.html#setDateFormat">setDateFormat</keyword> + <keyword ref="tqdatatable.html#setFalseText">setFalseText</keyword> + <keyword ref="tqdatatable.html#setFilter">setFilter</keyword> + <keyword ref="tqdatatable.html#setNullText">setNullText</keyword> + <keyword ref="tqdatatable.html#setSize">setSize</keyword> + <keyword ref="tqdatatable.html#setSort">setSort</keyword> + <keyword ref="tqdatatable.html#setSqlCursor">setSqlCursor</keyword> + <keyword ref="tqdatatable.html#setTrueText">setTrueText</keyword> + <keyword ref="tqdatatable.html#sort">sort</keyword> + <keyword ref="tqdatatable.html#sort-prop">sort</keyword> + <keyword ref="tqdatatable.html#sortAscending">sortAscending</keyword> + <keyword ref="tqdatatable.html#sortColumn">sortColumn</keyword> + <keyword ref="tqdatatable.html#sortDescending">sortDescending</keyword> + <keyword ref="tqdatatable.html#sqlCursor">sqlCursor</keyword> + <keyword ref="tqdatatable.html#text">text</keyword> + <keyword ref="tqdatatable.html#trueText">trueText</keyword> + <keyword ref="tqdatatable.html#trueText-prop">trueText</keyword> + <keyword ref="tqdatatable.html#updateCurrent">updateCurrent</keyword> + <keyword ref="tqdatatable.html#value">value</keyword> + <keyword ref="tqdatatable.html#~TQDataTable">~TQDataTable</keyword> + <section ref="tqdatatable-members.html" title="List of All Member Functions"/> + <section ref="tqdatatable-h.html" title="Header File"/> +</section> +<section ref="tqdataview.html" title="TQDataView Class Reference"> + <keyword ref="tqdataview.html">TQDataView</keyword> + <keyword ref="tqdataview.html#clearValues">clearValues</keyword> + <keyword ref="tqdataview.html#form">form</keyword> + <keyword ref="tqdataview.html#readFields">readFields</keyword> + <keyword ref="tqdataview.html#record">record</keyword> + <keyword ref="tqdataview.html#refresh">refresh</keyword> + <keyword ref="tqdataview.html#setForm">setForm</keyword> + <keyword ref="tqdataview.html#setRecord">setRecord</keyword> + <keyword ref="tqdataview.html#writeFields">writeFields</keyword> + <keyword ref="tqdataview.html#~TQDataView">~TQDataView</keyword> + <section ref="tqdataview-members.html" title="List of All Member Functions"/> + <section ref="tqdataview-h.html" title="Header File"/> </section> <section ref="qdate.html" title="QDate Class Reference"> <keyword ref="qdate.html">QDate</keyword> @@ -2414,14 +2414,14 @@ <section ref="qdropsite-members.html" title="List of All Member Functions"/> <section ref="qdropsite-h.html" title="Header File"/> </section> -<section ref="ntqeditorfactory.html" title="QEditorFactory Class Reference"> - <keyword ref="ntqeditorfactory.html">QEditorFactory</keyword> - <keyword ref="ntqeditorfactory.html#createEditor">createEditor</keyword> - <keyword ref="ntqeditorfactory.html#defaultFactory">defaultFactory</keyword> - <keyword ref="ntqeditorfactory.html#installDefaultFactory">installDefaultFactory</keyword> - <keyword ref="ntqeditorfactory.html#~QEditorFactory">~QEditorFactory</keyword> - <section ref="qeditorfactory-members.html" title="List of All Member Functions"/> - <section ref="qeditorfactory-h.html" title="Header File"/> +<section ref="tqeditorfactory.html" title="TQEditorFactory Class Reference"> + <keyword ref="tqeditorfactory.html">TQEditorFactory</keyword> + <keyword ref="tqeditorfactory.html#createEditor">createEditor</keyword> + <keyword ref="tqeditorfactory.html#defaultFactory">defaultFactory</keyword> + <keyword ref="tqeditorfactory.html#installDefaultFactory">installDefaultFactory</keyword> + <keyword ref="tqeditorfactory.html#~TQEditorFactory">~TQEditorFactory</keyword> + <section ref="tqeditorfactory-members.html" title="List of All Member Functions"/> + <section ref="tqeditorfactory-h.html" title="Header File"/> </section> <section ref="ntqerrormessage.html" title="QErrorMessage Class Reference"> <keyword ref="ntqerrormessage.html">QErrorMessage</keyword> @@ -6848,355 +6848,355 @@ <section ref="qsplitter-members.html" title="List of All Member Functions"/> <section ref="qsplitter-h.html" title="Header File"/> </section> -<section ref="ntqsql.html" title="QSql Class Reference"> - <keyword ref="ntqsql.html">QSql</keyword> - <keyword ref="ntqsql.html#Confirm">Confirm</keyword> - <keyword ref="ntqsql.html#Location">Location</keyword> - <keyword ref="ntqsql.html#Op">Op</keyword> - <keyword ref="ntqsql.html#ParameterType">ParameterType</keyword> - <keyword ref="ntqsql.html#TableType">TableType</keyword> - <section ref="qsql-members.html" title="List of All Member Functions"/> - <section ref="qsql-h.html" title="Header File"/> -</section> -<section ref="ntqsqlcursor.html" title="QSqlCursor Class Reference"> - <keyword ref="ntqsqlcursor.html">QSqlCursor</keyword> - <keyword ref="ntqsqlcursor.html#Mode">Mode</keyword> - <keyword ref="ntqsqlcursor.html#append">append</keyword> - <keyword ref="ntqsqlcursor.html#calculateField">calculateField</keyword> - <keyword ref="ntqsqlcursor.html#canDelete">canDelete</keyword> - <keyword ref="ntqsqlcursor.html#canInsert">canInsert</keyword> - <keyword ref="ntqsqlcursor.html#canUpdate">canUpdate</keyword> - <keyword ref="ntqsqlcursor.html#clear">clear</keyword> - <keyword ref="ntqsqlcursor.html#del">del</keyword> - <keyword ref="ntqsqlcursor.html#editBuffer">editBuffer</keyword> - <keyword ref="ntqsqlcursor.html#filter">filter</keyword> - <keyword ref="ntqsqlcursor.html#index">index</keyword> - <keyword ref="ntqsqlcursor.html#insert">insert</keyword> - <keyword ref="ntqsqlcursor.html#isCalculated">isCalculated</keyword> - <keyword ref="ntqsqlcursor.html#isNull">isNull</keyword> - <keyword ref="ntqsqlcursor.html#isReadOnly">isReadOnly</keyword> - <keyword ref="ntqsqlcursor.html#isTrimmed">isTrimmed</keyword> - <keyword ref="ntqsqlcursor.html#mode">mode</keyword> - <keyword ref="ntqsqlcursor.html#name">name</keyword> - <keyword ref="ntqsqlcursor.html#operator-eq">operator=</keyword> - <keyword ref="ntqsqlcursor.html#primaryIndex">primaryIndex</keyword> - <keyword ref="ntqsqlcursor.html#primeDelete">primeDelete</keyword> - <keyword ref="ntqsqlcursor.html#primeInsert">primeInsert</keyword> - <keyword ref="ntqsqlcursor.html#primeUpdate">primeUpdate</keyword> - <keyword ref="ntqsqlcursor.html#remove">remove</keyword> - <keyword ref="ntqsqlcursor.html#select">select</keyword> - <keyword ref="ntqsqlcursor.html#setCalculated">setCalculated</keyword> - <keyword ref="ntqsqlcursor.html#setFilter">setFilter</keyword> - <keyword ref="ntqsqlcursor.html#setGenerated">setGenerated</keyword> - <keyword ref="ntqsqlcursor.html#setMode">setMode</keyword> - <keyword ref="ntqsqlcursor.html#setName">setName</keyword> - <keyword ref="ntqsqlcursor.html#setPrimaryIndex">setPrimaryIndex</keyword> - <keyword ref="ntqsqlcursor.html#setSort">setSort</keyword> - <keyword ref="ntqsqlcursor.html#setTrimmed">setTrimmed</keyword> - <keyword ref="ntqsqlcursor.html#sort">sort</keyword> - <keyword ref="ntqsqlcursor.html#toString">toString</keyword> - <keyword ref="ntqsqlcursor.html#update">update</keyword> - <keyword ref="ntqsqlcursor.html#~QSqlCursor">~QSqlCursor</keyword> - <section ref="qsqlcursor-members.html" title="List of All Member Functions"/> - <section ref="qsqlcursor-h.html" title="Header File"/> -</section> -<section ref="ntqsqldatabase.html" title="QSqlDatabase Class Reference"> - <keyword ref="ntqsqldatabase.html">QSqlDatabase</keyword> - <keyword ref="ntqsqldatabase.html#addDatabase">addDatabase</keyword> - <keyword ref="ntqsqldatabase.html#close">close</keyword> - <keyword ref="ntqsqldatabase.html#commit">commit</keyword> - <keyword ref="ntqsqldatabase.html#connectOptions">connectOptions</keyword> - <keyword ref="ntqsqldatabase.html#connectOptions-prop">connectOptions</keyword> - <keyword ref="ntqsqldatabase.html#contains">contains</keyword> - <keyword ref="ntqsqldatabase.html#database">database</keyword> - <keyword ref="ntqsqldatabase.html#databaseName">databaseName</keyword> - <keyword ref="ntqsqldatabase.html#databaseName-prop">databaseName</keyword> - <keyword ref="ntqsqldatabase.html#driver">driver</keyword> - <keyword ref="ntqsqldatabase.html#driverName">driverName</keyword> - <keyword ref="ntqsqldatabase.html#drivers">drivers</keyword> - <keyword ref="ntqsqldatabase.html#exec">exec</keyword> - <keyword ref="ntqsqldatabase.html#hostName">hostName</keyword> - <keyword ref="ntqsqldatabase.html#hostName-prop">hostName</keyword> - <keyword ref="ntqsqldatabase.html#isDriverAvailable">isDriverAvailable</keyword> - <keyword ref="ntqsqldatabase.html#isOpen">isOpen</keyword> - <keyword ref="ntqsqldatabase.html#isOpenError">isOpenError</keyword> - <keyword ref="ntqsqldatabase.html#lastError">lastError</keyword> - <keyword ref="ntqsqldatabase.html#open">open</keyword> - <keyword ref="ntqsqldatabase.html#password">password</keyword> - <keyword ref="ntqsqldatabase.html#password-prop">password</keyword> - <keyword ref="ntqsqldatabase.html#port">port</keyword> - <keyword ref="ntqsqldatabase.html#port-prop">port</keyword> - <keyword ref="ntqsqldatabase.html#primaryIndex">primaryIndex</keyword> - <keyword ref="ntqsqldatabase.html#record">record</keyword> - <keyword ref="ntqsqldatabase.html#recordInfo">recordInfo</keyword> - <keyword ref="ntqsqldatabase.html#registerSqlDriver">registerSqlDriver</keyword> - <keyword ref="ntqsqldatabase.html#removeDatabase">removeDatabase</keyword> - <keyword ref="ntqsqldatabase.html#rollback">rollback</keyword> - <keyword ref="ntqsqldatabase.html#setConnectOptions">setConnectOptions</keyword> - <keyword ref="ntqsqldatabase.html#setDatabaseName">setDatabaseName</keyword> - <keyword ref="ntqsqldatabase.html#setHostName">setHostName</keyword> - <keyword ref="ntqsqldatabase.html#setPassword">setPassword</keyword> - <keyword ref="ntqsqldatabase.html#setPort">setPort</keyword> - <keyword ref="ntqsqldatabase.html#setUserName">setUserName</keyword> - <keyword ref="ntqsqldatabase.html#tables">tables</keyword> - <keyword ref="ntqsqldatabase.html#transaction">transaction</keyword> - <keyword ref="ntqsqldatabase.html#userName">userName</keyword> - <keyword ref="ntqsqldatabase.html#userName-prop">userName</keyword> - <keyword ref="ntqsqldatabase.html#~QSqlDatabase">~QSqlDatabase</keyword> - <section ref="qsqldatabase-members.html" title="List of All Member Functions"/> - <section ref="qsqldatabase-h.html" title="Header File"/> -</section> -<section ref="ntqsqldriver.html" title="QSqlDriver Class Reference"> - <keyword ref="ntqsqldriver.html">QSqlDriver</keyword> - <keyword ref="ntqsqldriver.html#DriverFeature">DriverFeature</keyword> - <keyword ref="ntqsqldriver.html#beginTransaction">beginTransaction</keyword> - <keyword ref="ntqsqldriver.html#close">close</keyword> - <keyword ref="ntqsqldriver.html#commitTransaction">commitTransaction</keyword> - <keyword ref="ntqsqldriver.html#createQuery">createQuery</keyword> - <keyword ref="ntqsqldriver.html#formatValue">formatValue</keyword> - <keyword ref="ntqsqldriver.html#hasFeature">hasFeature</keyword> - <keyword ref="ntqsqldriver.html#isOpen">isOpen</keyword> - <keyword ref="ntqsqldriver.html#isOpenError">isOpenError</keyword> - <keyword ref="ntqsqldriver.html#lastError">lastError</keyword> - <keyword ref="ntqsqldriver.html#nullText">nullText</keyword> - <keyword ref="ntqsqldriver.html#open">open</keyword> - <keyword ref="ntqsqldriver.html#primaryIndex">primaryIndex</keyword> - <keyword ref="ntqsqldriver.html#record">record</keyword> - <keyword ref="ntqsqldriver.html#recordInfo">recordInfo</keyword> - <keyword ref="ntqsqldriver.html#rollbackTransaction">rollbackTransaction</keyword> - <keyword ref="ntqsqldriver.html#setLastError">setLastError</keyword> - <keyword ref="ntqsqldriver.html#setOpen">setOpen</keyword> - <keyword ref="ntqsqldriver.html#setOpenError">setOpenError</keyword> - <keyword ref="ntqsqldriver.html#tables">tables</keyword> - <keyword ref="ntqsqldriver.html#~QSqlDriver">~QSqlDriver</keyword> - <section ref="qsqldriver-members.html" title="List of All Member Functions"/> - <section ref="qsqldriver-h.html" title="Header File"/> -</section> -<section ref="ntqsqldriverplugin.html" title="QSqlDriverPlugin Class Reference"> - <keyword ref="ntqsqldriverplugin.html">QSqlDriverPlugin</keyword> - <keyword ref="ntqsqldriverplugin.html#create">create</keyword> - <keyword ref="ntqsqldriverplugin.html#keys">keys</keyword> - <keyword ref="ntqsqldriverplugin.html#~QSqlDriverPlugin">~QSqlDriverPlugin</keyword> - <section ref="qsqldriverplugin-members.html" title="List of All Member Functions"/> - <section ref="qsqldriverplugin-h.html" title="Header File"/> -</section> -<section ref="ntqsqleditorfactory.html" title="QSqlEditorFactory Class Reference"> - <keyword ref="ntqsqleditorfactory.html">QSqlEditorFactory</keyword> - <keyword ref="ntqsqleditorfactory.html#createEditor">createEditor</keyword> - <keyword ref="ntqsqleditorfactory.html#defaultFactory">defaultFactory</keyword> - <keyword ref="ntqsqleditorfactory.html#installDefaultFactory">installDefaultFactory</keyword> - <keyword ref="ntqsqleditorfactory.html#~QSqlEditorFactory">~QSqlEditorFactory</keyword> - <section ref="qsqleditorfactory-members.html" title="List of All Member Functions"/> - <section ref="qsqleditorfactory-h.html" title="Header File"/> -</section> -<section ref="ntqsqlerror.html" title="QSqlError Class Reference"> - <keyword ref="ntqsqlerror.html">QSqlError</keyword> - <keyword ref="ntqsqlerror.html#Type">Type</keyword> - <keyword ref="ntqsqlerror.html#databaseText">databaseText</keyword> - <keyword ref="ntqsqlerror.html#driverText">driverText</keyword> - <keyword ref="ntqsqlerror.html#number">number</keyword> - <keyword ref="ntqsqlerror.html#operator-eq">operator=</keyword> - <keyword ref="ntqsqlerror.html#setDatabaseText">setDatabaseText</keyword> - <keyword ref="ntqsqlerror.html#setDriverText">setDriverText</keyword> - <keyword ref="ntqsqlerror.html#setNumber">setNumber</keyword> - <keyword ref="ntqsqlerror.html#setType">setType</keyword> - <keyword ref="ntqsqlerror.html#text">text</keyword> - <keyword ref="ntqsqlerror.html#type">type</keyword> - <keyword ref="ntqsqlerror.html#~QSqlError">~QSqlError</keyword> - <section ref="qsqlerror-members.html" title="List of All Member Functions"/> - <section ref="qsqlerror-h.html" title="Header File"/> -</section> -<section ref="ntqsqlfield.html" title="QSqlField Class Reference"> - <keyword ref="ntqsqlfield.html">QSqlField</keyword> - <keyword ref="ntqsqlfield.html#clear">clear</keyword> - <keyword ref="ntqsqlfield.html#isNull">isNull</keyword> - <keyword ref="ntqsqlfield.html#isReadOnly">isReadOnly</keyword> - <keyword ref="ntqsqlfield.html#name">name</keyword> - <keyword ref="ntqsqlfield.html#operator-eq">operator=</keyword> - <keyword ref="ntqsqlfield.html#operator-eq-eq">operator==</keyword> - <keyword ref="ntqsqlfield.html#setName">setName</keyword> - <keyword ref="ntqsqlfield.html#setNull">setNull</keyword> - <keyword ref="ntqsqlfield.html#setReadOnly">setReadOnly</keyword> - <keyword ref="ntqsqlfield.html#setValue">setValue</keyword> - <keyword ref="ntqsqlfield.html#type">type</keyword> - <keyword ref="ntqsqlfield.html#value">value</keyword> - <keyword ref="ntqsqlfield.html#~QSqlField">~QSqlField</keyword> - <section ref="qsqlfield-members.html" title="List of All Member Functions"/> - <section ref="qsqlfield-h.html" title="Header File"/> -</section> -<section ref="qsqlfieldinfo.html" title="QSqlFieldInfo Class Reference"> - <keyword ref="qsqlfieldinfo.html">QSqlFieldInfo</keyword> - <keyword ref="qsqlfieldinfo.html#defaultValue">defaultValue</keyword> - <keyword ref="qsqlfieldinfo.html#isCalculated">isCalculated</keyword> - <keyword ref="qsqlfieldinfo.html#isGenerated">isGenerated</keyword> - <keyword ref="qsqlfieldinfo.html#isRequired">isRequired</keyword> - <keyword ref="qsqlfieldinfo.html#isTrim">isTrim</keyword> - <keyword ref="qsqlfieldinfo.html#length">length</keyword> - <keyword ref="qsqlfieldinfo.html#name">name</keyword> - <keyword ref="qsqlfieldinfo.html#operator-eq">operator=</keyword> - <keyword ref="qsqlfieldinfo.html#operator-eq-eq">operator==</keyword> - <keyword ref="qsqlfieldinfo.html#precision">precision</keyword> - <keyword ref="qsqlfieldinfo.html#setCalculated">setCalculated</keyword> - <keyword ref="qsqlfieldinfo.html#setGenerated">setGenerated</keyword> - <keyword ref="qsqlfieldinfo.html#setTrim">setTrim</keyword> - <keyword ref="qsqlfieldinfo.html#toField">toField</keyword> - <keyword ref="qsqlfieldinfo.html#type">type</keyword> - <keyword ref="qsqlfieldinfo.html#typeID">typeID</keyword> - <keyword ref="qsqlfieldinfo.html#~QSqlFieldInfo">~QSqlFieldInfo</keyword> - <section ref="qsqlfieldinfo-members.html" title="List of All Member Functions"/> - <section ref="qsqlfield-h.html" title="Header File"/> -</section> -<section ref="ntqsqlform.html" title="QSqlForm Class Reference"> - <keyword ref="ntqsqlform.html">QSqlForm</keyword> - <keyword ref="ntqsqlform.html#clear">clear</keyword> - <keyword ref="ntqsqlform.html#clearValues">clearValues</keyword> - <keyword ref="ntqsqlform.html#count">count</keyword> - <keyword ref="ntqsqlform.html#fieldToWidget">fieldToWidget</keyword> - <keyword ref="ntqsqlform.html#insert">insert</keyword> - <keyword ref="ntqsqlform.html#installPropertyMap">installPropertyMap</keyword> - <keyword ref="ntqsqlform.html#readField">readField</keyword> - <keyword ref="ntqsqlform.html#readFields">readFields</keyword> - <keyword ref="ntqsqlform.html#remove">remove</keyword> - <keyword ref="ntqsqlform.html#setRecord">setRecord</keyword> - <keyword ref="ntqsqlform.html#widget">widget</keyword> - <keyword ref="ntqsqlform.html#widgetToField">widgetToField</keyword> - <keyword ref="ntqsqlform.html#writeField">writeField</keyword> - <keyword ref="ntqsqlform.html#writeFields">writeFields</keyword> - <keyword ref="ntqsqlform.html#~QSqlForm">~QSqlForm</keyword> - <section ref="qsqlform-members.html" title="List of All Member Functions"/> - <section ref="qsqlform-h.html" title="Header File"/> -</section> -<section ref="ntqsqlindex.html" title="QSqlIndex Class Reference"> - <keyword ref="ntqsqlindex.html">QSqlIndex</keyword> - <keyword ref="ntqsqlindex.html#append">append</keyword> - <keyword ref="ntqsqlindex.html#cursorName">cursorName</keyword> - <keyword ref="ntqsqlindex.html#fromStringList">fromStringList</keyword> - <keyword ref="ntqsqlindex.html#isDescending">isDescending</keyword> - <keyword ref="ntqsqlindex.html#name">name</keyword> - <keyword ref="ntqsqlindex.html#operator-eq">operator=</keyword> - <keyword ref="ntqsqlindex.html#setCursorName">setCursorName</keyword> - <keyword ref="ntqsqlindex.html#setDescending">setDescending</keyword> - <keyword ref="ntqsqlindex.html#setName">setName</keyword> - <keyword ref="ntqsqlindex.html#~QSqlIndex">~QSqlIndex</keyword> - <section ref="qsqlindex-members.html" title="List of All Member Functions"/> - <section ref="qsqlindex-h.html" title="Header File"/> -</section> -<section ref="ntqsqlpropertymap.html" title="QSqlPropertyMap Class Reference"> - <keyword ref="ntqsqlpropertymap.html">QSqlPropertyMap</keyword> - <keyword ref="ntqsqlpropertymap.html#defaultMap">defaultMap</keyword> - <keyword ref="ntqsqlpropertymap.html#insert">insert</keyword> - <keyword ref="ntqsqlpropertymap.html#installDefaultMap">installDefaultMap</keyword> - <keyword ref="ntqsqlpropertymap.html#property">property</keyword> - <keyword ref="ntqsqlpropertymap.html#remove">remove</keyword> - <keyword ref="ntqsqlpropertymap.html#setProperty">setProperty</keyword> - <keyword ref="ntqsqlpropertymap.html#~QSqlPropertyMap">~QSqlPropertyMap</keyword> - <section ref="qsqlpropertymap-members.html" title="List of All Member Functions"/> - <section ref="qsqlpropertymap-h.html" title="Header File"/> -</section> -<section ref="ntqsqlquery.html" title="QSqlQuery Class Reference"> - <keyword ref="ntqsqlquery.html">QSqlQuery</keyword> - <keyword ref="ntqsqlquery.html#addBindValue">addBindValue</keyword> - <keyword ref="ntqsqlquery.html#afterSeek">afterSeek</keyword> - <keyword ref="ntqsqlquery.html#at">at</keyword> - <keyword ref="ntqsqlquery.html#beforeSeek">beforeSeek</keyword> - <keyword ref="ntqsqlquery.html#bindValue">bindValue</keyword> - <keyword ref="ntqsqlquery.html#boundValue">boundValue</keyword> - <keyword ref="ntqsqlquery.html#boundValues">boundValues</keyword> - <keyword ref="ntqsqlquery.html#driver">driver</keyword> - <keyword ref="ntqsqlquery.html#exec">exec</keyword> - <keyword ref="ntqsqlquery.html#executedQuery">executedQuery</keyword> - <keyword ref="ntqsqlquery.html#first">first</keyword> - <keyword ref="ntqsqlquery.html#isActive">isActive</keyword> - <keyword ref="ntqsqlquery.html#isForwardOnly">isForwardOnly</keyword> - <keyword ref="ntqsqlquery.html#isNull">isNull</keyword> - <keyword ref="ntqsqlquery.html#isSelect">isSelect</keyword> - <keyword ref="ntqsqlquery.html#isValid">isValid</keyword> - <keyword ref="ntqsqlquery.html#last">last</keyword> - <keyword ref="ntqsqlquery.html#lastError">lastError</keyword> - <keyword ref="ntqsqlquery.html#lastQuery">lastQuery</keyword> - <keyword ref="ntqsqlquery.html#next">next</keyword> - <keyword ref="ntqsqlquery.html#numRowsAffected">numRowsAffected</keyword> - <keyword ref="ntqsqlquery.html#operator-eq">operator=</keyword> - <keyword ref="ntqsqlquery.html#prepare">prepare</keyword> - <keyword ref="ntqsqlquery.html#prev">prev</keyword> - <keyword ref="ntqsqlquery.html#result">result</keyword> - <keyword ref="ntqsqlquery.html#seek">seek</keyword> - <keyword ref="ntqsqlquery.html#setForwardOnly">setForwardOnly</keyword> - <keyword ref="ntqsqlquery.html#size">size</keyword> - <keyword ref="ntqsqlquery.html#value">value</keyword> - <keyword ref="ntqsqlquery.html#~QSqlQuery">~QSqlQuery</keyword> - <section ref="qsqlquery-members.html" title="List of All Member Functions"/> - <section ref="qsqlquery-h.html" title="Header File"/> -</section> -<section ref="ntqsqlrecord.html" title="QSqlRecord Class Reference"> - <keyword ref="ntqsqlrecord.html">QSqlRecord</keyword> - <keyword ref="ntqsqlrecord.html#append">append</keyword> - <keyword ref="ntqsqlrecord.html#clear">clear</keyword> - <keyword ref="ntqsqlrecord.html#clearValues">clearValues</keyword> - <keyword ref="ntqsqlrecord.html#contains">contains</keyword> - <keyword ref="ntqsqlrecord.html#count">count</keyword> - <keyword ref="ntqsqlrecord.html#field">field</keyword> - <keyword ref="ntqsqlrecord.html#fieldName">fieldName</keyword> - <keyword ref="ntqsqlrecord.html#insert">insert</keyword> - <keyword ref="ntqsqlrecord.html#isEmpty">isEmpty</keyword> - <keyword ref="ntqsqlrecord.html#isGenerated">isGenerated</keyword> - <keyword ref="ntqsqlrecord.html#isNull">isNull</keyword> - <keyword ref="ntqsqlrecord.html#operator-eq">operator=</keyword> - <keyword ref="ntqsqlrecord.html#position">position</keyword> - <keyword ref="ntqsqlrecord.html#remove">remove</keyword> - <keyword ref="ntqsqlrecord.html#setGenerated">setGenerated</keyword> - <keyword ref="ntqsqlrecord.html#setNull">setNull</keyword> - <keyword ref="ntqsqlrecord.html#setValue">setValue</keyword> - <keyword ref="ntqsqlrecord.html#toString">toString</keyword> - <keyword ref="ntqsqlrecord.html#toStringList">toStringList</keyword> - <keyword ref="ntqsqlrecord.html#value">value</keyword> - <keyword ref="ntqsqlrecord.html#~QSqlRecord">~QSqlRecord</keyword> - <section ref="qsqlrecord-members.html" title="List of All Member Functions"/> - <section ref="qsqlrecord-h.html" title="Header File"/> -</section> -<section ref="qsqlrecordinfo.html" title="QSqlRecordInfo Class Reference"> - <keyword ref="qsqlrecordinfo.html">QSqlRecordInfo</keyword> - <keyword ref="qsqlrecordinfo.html#contains">contains</keyword> - <keyword ref="qsqlrecordinfo.html#find">find</keyword> - <keyword ref="qsqlrecordinfo.html#toRecord">toRecord</keyword> - <section ref="qsqlrecordinfo-members.html" title="List of All Member Functions"/> - <section ref="qsqlrecord-h.html" title="Header File"/> -</section> -<section ref="ntqsqlresult.html" title="QSqlResult Class Reference"> - <keyword ref="ntqsqlresult.html">QSqlResult</keyword> - <keyword ref="ntqsqlresult.html#at">at</keyword> - <keyword ref="ntqsqlresult.html#data">data</keyword> - <keyword ref="ntqsqlresult.html#driver">driver</keyword> - <keyword ref="ntqsqlresult.html#fetch">fetch</keyword> - <keyword ref="ntqsqlresult.html#fetchFirst">fetchFirst</keyword> - <keyword ref="ntqsqlresult.html#fetchLast">fetchLast</keyword> - <keyword ref="ntqsqlresult.html#fetchNext">fetchNext</keyword> - <keyword ref="ntqsqlresult.html#fetchPrev">fetchPrev</keyword> - <keyword ref="ntqsqlresult.html#isActive">isActive</keyword> - <keyword ref="ntqsqlresult.html#isForwardOnly">isForwardOnly</keyword> - <keyword ref="ntqsqlresult.html#isNull">isNull</keyword> - <keyword ref="ntqsqlresult.html#isSelect">isSelect</keyword> - <keyword ref="ntqsqlresult.html#isValid">isValid</keyword> - <keyword ref="ntqsqlresult.html#lastError">lastError</keyword> - <keyword ref="ntqsqlresult.html#lastQuery">lastQuery</keyword> - <keyword ref="ntqsqlresult.html#numRowsAffected">numRowsAffected</keyword> - <keyword ref="ntqsqlresult.html#reset">reset</keyword> - <keyword ref="ntqsqlresult.html#setActive">setActive</keyword> - <keyword ref="ntqsqlresult.html#setAt">setAt</keyword> - <keyword ref="ntqsqlresult.html#setForwardOnly">setForwardOnly</keyword> - <keyword ref="ntqsqlresult.html#setLastError">setLastError</keyword> - <keyword ref="ntqsqlresult.html#setQuery">setQuery</keyword> - <keyword ref="ntqsqlresult.html#setSelect">setSelect</keyword> - <keyword ref="ntqsqlresult.html#size">size</keyword> - <keyword ref="ntqsqlresult.html#~QSqlResult">~QSqlResult</keyword> - <section ref="qsqlresult-members.html" title="List of All Member Functions"/> - <section ref="qsqlresult-h.html" title="Header File"/> -</section> -<section ref="ntqsqlselectcursor.html" title="QSqlSelectCursor Class Reference"> - <keyword ref="ntqsqlselectcursor.html">QSqlSelectCursor</keyword> - <keyword ref="ntqsqlselectcursor.html#~QSqlSelectCursor">~QSqlSelectCursor</keyword> - <section ref="qsqlselectcursor-members.html" title="List of All Member Functions"/> - <section ref="qsqlselectcursor-h.html" title="Header File"/> +<section ref="tqsql.html" title="TQSql Class Reference"> + <keyword ref="tqsql.html">TQSql</keyword> + <keyword ref="tqsql.html#Confirm">Confirm</keyword> + <keyword ref="tqsql.html#Location">Location</keyword> + <keyword ref="tqsql.html#Op">Op</keyword> + <keyword ref="tqsql.html#ParameterType">ParameterType</keyword> + <keyword ref="tqsql.html#TableType">TableType</keyword> + <section ref="tqsql-members.html" title="List of All Member Functions"/> + <section ref="tqsql-h.html" title="Header File"/> +</section> +<section ref="tqsqlcursor.html" title="TQSqlCursor Class Reference"> + <keyword ref="tqsqlcursor.html">TQSqlCursor</keyword> + <keyword ref="tqsqlcursor.html#Mode">Mode</keyword> + <keyword ref="tqsqlcursor.html#append">append</keyword> + <keyword ref="tqsqlcursor.html#calculateField">calculateField</keyword> + <keyword ref="tqsqlcursor.html#canDelete">canDelete</keyword> + <keyword ref="tqsqlcursor.html#canInsert">canInsert</keyword> + <keyword ref="tqsqlcursor.html#canUpdate">canUpdate</keyword> + <keyword ref="tqsqlcursor.html#clear">clear</keyword> + <keyword ref="tqsqlcursor.html#del">del</keyword> + <keyword ref="tqsqlcursor.html#editBuffer">editBuffer</keyword> + <keyword ref="tqsqlcursor.html#filter">filter</keyword> + <keyword ref="tqsqlcursor.html#index">index</keyword> + <keyword ref="tqsqlcursor.html#insert">insert</keyword> + <keyword ref="tqsqlcursor.html#isCalculated">isCalculated</keyword> + <keyword ref="tqsqlcursor.html#isNull">isNull</keyword> + <keyword ref="tqsqlcursor.html#isReadOnly">isReadOnly</keyword> + <keyword ref="tqsqlcursor.html#isTrimmed">isTrimmed</keyword> + <keyword ref="tqsqlcursor.html#mode">mode</keyword> + <keyword ref="tqsqlcursor.html#name">name</keyword> + <keyword ref="tqsqlcursor.html#operator-eq">operator=</keyword> + <keyword ref="tqsqlcursor.html#primaryIndex">primaryIndex</keyword> + <keyword ref="tqsqlcursor.html#primeDelete">primeDelete</keyword> + <keyword ref="tqsqlcursor.html#primeInsert">primeInsert</keyword> + <keyword ref="tqsqlcursor.html#primeUpdate">primeUpdate</keyword> + <keyword ref="tqsqlcursor.html#remove">remove</keyword> + <keyword ref="tqsqlcursor.html#select">select</keyword> + <keyword ref="tqsqlcursor.html#setCalculated">setCalculated</keyword> + <keyword ref="tqsqlcursor.html#setFilter">setFilter</keyword> + <keyword ref="tqsqlcursor.html#setGenerated">setGenerated</keyword> + <keyword ref="tqsqlcursor.html#setMode">setMode</keyword> + <keyword ref="tqsqlcursor.html#setName">setName</keyword> + <keyword ref="tqsqlcursor.html#setPrimaryIndex">setPrimaryIndex</keyword> + <keyword ref="tqsqlcursor.html#setSort">setSort</keyword> + <keyword ref="tqsqlcursor.html#setTrimmed">setTrimmed</keyword> + <keyword ref="tqsqlcursor.html#sort">sort</keyword> + <keyword ref="tqsqlcursor.html#toString">toString</keyword> + <keyword ref="tqsqlcursor.html#update">update</keyword> + <keyword ref="tqsqlcursor.html#~TQSqlCursor">~TQSqlCursor</keyword> + <section ref="tqsqlcursor-members.html" title="List of All Member Functions"/> + <section ref="tqsqlcursor-h.html" title="Header File"/> +</section> +<section ref="tqsqldatabase.html" title="TQSqlDatabase Class Reference"> + <keyword ref="tqsqldatabase.html">TQSqlDatabase</keyword> + <keyword ref="tqsqldatabase.html#addDatabase">addDatabase</keyword> + <keyword ref="tqsqldatabase.html#close">close</keyword> + <keyword ref="tqsqldatabase.html#commit">commit</keyword> + <keyword ref="tqsqldatabase.html#connectOptions">connectOptions</keyword> + <keyword ref="tqsqldatabase.html#connectOptions-prop">connectOptions</keyword> + <keyword ref="tqsqldatabase.html#contains">contains</keyword> + <keyword ref="tqsqldatabase.html#database">database</keyword> + <keyword ref="tqsqldatabase.html#databaseName">databaseName</keyword> + <keyword ref="tqsqldatabase.html#databaseName-prop">databaseName</keyword> + <keyword ref="tqsqldatabase.html#driver">driver</keyword> + <keyword ref="tqsqldatabase.html#driverName">driverName</keyword> + <keyword ref="tqsqldatabase.html#drivers">drivers</keyword> + <keyword ref="tqsqldatabase.html#exec">exec</keyword> + <keyword ref="tqsqldatabase.html#hostName">hostName</keyword> + <keyword ref="tqsqldatabase.html#hostName-prop">hostName</keyword> + <keyword ref="tqsqldatabase.html#isDriverAvailable">isDriverAvailable</keyword> + <keyword ref="tqsqldatabase.html#isOpen">isOpen</keyword> + <keyword ref="tqsqldatabase.html#isOpenError">isOpenError</keyword> + <keyword ref="tqsqldatabase.html#lastError">lastError</keyword> + <keyword ref="tqsqldatabase.html#open">open</keyword> + <keyword ref="tqsqldatabase.html#password">password</keyword> + <keyword ref="tqsqldatabase.html#password-prop">password</keyword> + <keyword ref="tqsqldatabase.html#port">port</keyword> + <keyword ref="tqsqldatabase.html#port-prop">port</keyword> + <keyword ref="tqsqldatabase.html#primaryIndex">primaryIndex</keyword> + <keyword ref="tqsqldatabase.html#record">record</keyword> + <keyword ref="tqsqldatabase.html#recordInfo">recordInfo</keyword> + <keyword ref="tqsqldatabase.html#registerSqlDriver">registerSqlDriver</keyword> + <keyword ref="tqsqldatabase.html#removeDatabase">removeDatabase</keyword> + <keyword ref="tqsqldatabase.html#rollback">rollback</keyword> + <keyword ref="tqsqldatabase.html#setConnectOptions">setConnectOptions</keyword> + <keyword ref="tqsqldatabase.html#setDatabaseName">setDatabaseName</keyword> + <keyword ref="tqsqldatabase.html#setHostName">setHostName</keyword> + <keyword ref="tqsqldatabase.html#setPassword">setPassword</keyword> + <keyword ref="tqsqldatabase.html#setPort">setPort</keyword> + <keyword ref="tqsqldatabase.html#setUserName">setUserName</keyword> + <keyword ref="tqsqldatabase.html#tables">tables</keyword> + <keyword ref="tqsqldatabase.html#transaction">transaction</keyword> + <keyword ref="tqsqldatabase.html#userName">userName</keyword> + <keyword ref="tqsqldatabase.html#userName-prop">userName</keyword> + <keyword ref="tqsqldatabase.html#~TQSqlDatabase">~TQSqlDatabase</keyword> + <section ref="tqsqldatabase-members.html" title="List of All Member Functions"/> + <section ref="tqsqldatabase-h.html" title="Header File"/> +</section> +<section ref="tqsqldriver.html" title="TQSqlDriver Class Reference"> + <keyword ref="tqsqldriver.html">TQSqlDriver</keyword> + <keyword ref="tqsqldriver.html#DriverFeature">DriverFeature</keyword> + <keyword ref="tqsqldriver.html#beginTransaction">beginTransaction</keyword> + <keyword ref="tqsqldriver.html#close">close</keyword> + <keyword ref="tqsqldriver.html#commitTransaction">commitTransaction</keyword> + <keyword ref="tqsqldriver.html#createQuery">createQuery</keyword> + <keyword ref="tqsqldriver.html#formatValue">formatValue</keyword> + <keyword ref="tqsqldriver.html#hasFeature">hasFeature</keyword> + <keyword ref="tqsqldriver.html#isOpen">isOpen</keyword> + <keyword ref="tqsqldriver.html#isOpenError">isOpenError</keyword> + <keyword ref="tqsqldriver.html#lastError">lastError</keyword> + <keyword ref="tqsqldriver.html#nullText">nullText</keyword> + <keyword ref="tqsqldriver.html#open">open</keyword> + <keyword ref="tqsqldriver.html#primaryIndex">primaryIndex</keyword> + <keyword ref="tqsqldriver.html#record">record</keyword> + <keyword ref="tqsqldriver.html#recordInfo">recordInfo</keyword> + <keyword ref="tqsqldriver.html#rollbackTransaction">rollbackTransaction</keyword> + <keyword ref="tqsqldriver.html#setLastError">setLastError</keyword> + <keyword ref="tqsqldriver.html#setOpen">setOpen</keyword> + <keyword ref="tqsqldriver.html#setOpenError">setOpenError</keyword> + <keyword ref="tqsqldriver.html#tables">tables</keyword> + <keyword ref="tqsqldriver.html#~TQSqlDriver">~TQSqlDriver</keyword> + <section ref="tqsqldriver-members.html" title="List of All Member Functions"/> + <section ref="tqsqldriver-h.html" title="Header File"/> +</section> +<section ref="tqsqldriverplugin.html" title="TQSqlDriverPlugin Class Reference"> + <keyword ref="tqsqldriverplugin.html">TQSqlDriverPlugin</keyword> + <keyword ref="tqsqldriverplugin.html#create">create</keyword> + <keyword ref="tqsqldriverplugin.html#keys">keys</keyword> + <keyword ref="tqsqldriverplugin.html#~TQSqlDriverPlugin">~TQSqlDriverPlugin</keyword> + <section ref="tqsqldriverplugin-members.html" title="List of All Member Functions"/> + <section ref="tqsqldriverplugin-h.html" title="Header File"/> +</section> +<section ref="tqsqleditorfactory.html" title="TQSqlEditorFactory Class Reference"> + <keyword ref="tqsqleditorfactory.html">TQSqlEditorFactory</keyword> + <keyword ref="tqsqleditorfactory.html#createEditor">createEditor</keyword> + <keyword ref="tqsqleditorfactory.html#defaultFactory">defaultFactory</keyword> + <keyword ref="tqsqleditorfactory.html#installDefaultFactory">installDefaultFactory</keyword> + <keyword ref="tqsqleditorfactory.html#~TQSqlEditorFactory">~TQSqlEditorFactory</keyword> + <section ref="tqsqleditorfactory-members.html" title="List of All Member Functions"/> + <section ref="tqsqleditorfactory-h.html" title="Header File"/> +</section> +<section ref="tqsqlerror.html" title="TQSqlError Class Reference"> + <keyword ref="tqsqlerror.html">TQSqlError</keyword> + <keyword ref="tqsqlerror.html#Type">Type</keyword> + <keyword ref="tqsqlerror.html#databaseText">databaseText</keyword> + <keyword ref="tqsqlerror.html#driverText">driverText</keyword> + <keyword ref="tqsqlerror.html#number">number</keyword> + <keyword ref="tqsqlerror.html#operator-eq">operator=</keyword> + <keyword ref="tqsqlerror.html#setDatabaseText">setDatabaseText</keyword> + <keyword ref="tqsqlerror.html#setDriverText">setDriverText</keyword> + <keyword ref="tqsqlerror.html#setNumber">setNumber</keyword> + <keyword ref="tqsqlerror.html#setType">setType</keyword> + <keyword ref="tqsqlerror.html#text">text</keyword> + <keyword ref="tqsqlerror.html#type">type</keyword> + <keyword ref="tqsqlerror.html#~TQSqlError">~TQSqlError</keyword> + <section ref="tqsqlerror-members.html" title="List of All Member Functions"/> + <section ref="tqsqlerror-h.html" title="Header File"/> +</section> +<section ref="tqsqlfield.html" title="TQSqlField Class Reference"> + <keyword ref="tqsqlfield.html">TQSqlField</keyword> + <keyword ref="tqsqlfield.html#clear">clear</keyword> + <keyword ref="tqsqlfield.html#isNull">isNull</keyword> + <keyword ref="tqsqlfield.html#isReadOnly">isReadOnly</keyword> + <keyword ref="tqsqlfield.html#name">name</keyword> + <keyword ref="tqsqlfield.html#operator-eq">operator=</keyword> + <keyword ref="tqsqlfield.html#operator-eq-eq">operator==</keyword> + <keyword ref="tqsqlfield.html#setName">setName</keyword> + <keyword ref="tqsqlfield.html#setNull">setNull</keyword> + <keyword ref="tqsqlfield.html#setReadOnly">setReadOnly</keyword> + <keyword ref="tqsqlfield.html#setValue">setValue</keyword> + <keyword ref="tqsqlfield.html#type">type</keyword> + <keyword ref="tqsqlfield.html#value">value</keyword> + <keyword ref="tqsqlfield.html#~TQSqlField">~TQSqlField</keyword> + <section ref="tqsqlfield-members.html" title="List of All Member Functions"/> + <section ref="tqsqlfield-h.html" title="Header File"/> +</section> +<section ref="tqsqlfieldinfo.html" title="TQSqlFieldInfo Class Reference"> + <keyword ref="tqsqlfieldinfo.html">TQSqlFieldInfo</keyword> + <keyword ref="tqsqlfieldinfo.html#defaultValue">defaultValue</keyword> + <keyword ref="tqsqlfieldinfo.html#isCalculated">isCalculated</keyword> + <keyword ref="tqsqlfieldinfo.html#isGenerated">isGenerated</keyword> + <keyword ref="tqsqlfieldinfo.html#isRequired">isRequired</keyword> + <keyword ref="tqsqlfieldinfo.html#isTrim">isTrim</keyword> + <keyword ref="tqsqlfieldinfo.html#length">length</keyword> + <keyword ref="tqsqlfieldinfo.html#name">name</keyword> + <keyword ref="tqsqlfieldinfo.html#operator-eq">operator=</keyword> + <keyword ref="tqsqlfieldinfo.html#operator-eq-eq">operator==</keyword> + <keyword ref="tqsqlfieldinfo.html#precision">precision</keyword> + <keyword ref="tqsqlfieldinfo.html#setCalculated">setCalculated</keyword> + <keyword ref="tqsqlfieldinfo.html#setGenerated">setGenerated</keyword> + <keyword ref="tqsqlfieldinfo.html#setTrim">setTrim</keyword> + <keyword ref="tqsqlfieldinfo.html#toField">toField</keyword> + <keyword ref="tqsqlfieldinfo.html#type">type</keyword> + <keyword ref="tqsqlfieldinfo.html#typeID">typeID</keyword> + <keyword ref="tqsqlfieldinfo.html#~TQSqlFieldInfo">~TQSqlFieldInfo</keyword> + <section ref="tqsqlfieldinfo-members.html" title="List of All Member Functions"/> + <section ref="tqsqlfield-h.html" title="Header File"/> +</section> +<section ref="tqsqlform.html" title="TQSqlForm Class Reference"> + <keyword ref="tqsqlform.html">TQSqlForm</keyword> + <keyword ref="tqsqlform.html#clear">clear</keyword> + <keyword ref="tqsqlform.html#clearValues">clearValues</keyword> + <keyword ref="tqsqlform.html#count">count</keyword> + <keyword ref="tqsqlform.html#fieldToWidget">fieldToWidget</keyword> + <keyword ref="tqsqlform.html#insert">insert</keyword> + <keyword ref="tqsqlform.html#installPropertyMap">installPropertyMap</keyword> + <keyword ref="tqsqlform.html#readField">readField</keyword> + <keyword ref="tqsqlform.html#readFields">readFields</keyword> + <keyword ref="tqsqlform.html#remove">remove</keyword> + <keyword ref="tqsqlform.html#setRecord">setRecord</keyword> + <keyword ref="tqsqlform.html#widget">widget</keyword> + <keyword ref="tqsqlform.html#widgetToField">widgetToField</keyword> + <keyword ref="tqsqlform.html#writeField">writeField</keyword> + <keyword ref="tqsqlform.html#writeFields">writeFields</keyword> + <keyword ref="tqsqlform.html#~TQSqlForm">~TQSqlForm</keyword> + <section ref="tqsqlform-members.html" title="List of All Member Functions"/> + <section ref="tqsqlform-h.html" title="Header File"/> +</section> +<section ref="tqsqlindex.html" title="TQSqlIndex Class Reference"> + <keyword ref="tqsqlindex.html">TQSqlIndex</keyword> + <keyword ref="tqsqlindex.html#append">append</keyword> + <keyword ref="tqsqlindex.html#cursorName">cursorName</keyword> + <keyword ref="tqsqlindex.html#fromStringList">fromStringList</keyword> + <keyword ref="tqsqlindex.html#isDescending">isDescending</keyword> + <keyword ref="tqsqlindex.html#name">name</keyword> + <keyword ref="tqsqlindex.html#operator-eq">operator=</keyword> + <keyword ref="tqsqlindex.html#setCursorName">setCursorName</keyword> + <keyword ref="tqsqlindex.html#setDescending">setDescending</keyword> + <keyword ref="tqsqlindex.html#setName">setName</keyword> + <keyword ref="tqsqlindex.html#~TQSqlIndex">~TQSqlIndex</keyword> + <section ref="tqsqlindex-members.html" title="List of All Member Functions"/> + <section ref="tqsqlindex-h.html" title="Header File"/> +</section> +<section ref="tqsqlpropertymap.html" title="TQSqlPropertyMap Class Reference"> + <keyword ref="tqsqlpropertymap.html">TQSqlPropertyMap</keyword> + <keyword ref="tqsqlpropertymap.html#defaultMap">defaultMap</keyword> + <keyword ref="tqsqlpropertymap.html#insert">insert</keyword> + <keyword ref="tqsqlpropertymap.html#installDefaultMap">installDefaultMap</keyword> + <keyword ref="tqsqlpropertymap.html#property">property</keyword> + <keyword ref="tqsqlpropertymap.html#remove">remove</keyword> + <keyword ref="tqsqlpropertymap.html#setProperty">setProperty</keyword> + <keyword ref="tqsqlpropertymap.html#~TQSqlPropertyMap">~TQSqlPropertyMap</keyword> + <section ref="tqsqlpropertymap-members.html" title="List of All Member Functions"/> + <section ref="tqsqlpropertymap-h.html" title="Header File"/> +</section> +<section ref="tqsqlquery.html" title="TQSqlQuery Class Reference"> + <keyword ref="tqsqlquery.html">TQSqlQuery</keyword> + <keyword ref="tqsqlquery.html#addBindValue">addBindValue</keyword> + <keyword ref="tqsqlquery.html#afterSeek">afterSeek</keyword> + <keyword ref="tqsqlquery.html#at">at</keyword> + <keyword ref="tqsqlquery.html#beforeSeek">beforeSeek</keyword> + <keyword ref="tqsqlquery.html#bindValue">bindValue</keyword> + <keyword ref="tqsqlquery.html#boundValue">boundValue</keyword> + <keyword ref="tqsqlquery.html#boundValues">boundValues</keyword> + <keyword ref="tqsqlquery.html#driver">driver</keyword> + <keyword ref="tqsqlquery.html#exec">exec</keyword> + <keyword ref="tqsqlquery.html#executedQuery">executedQuery</keyword> + <keyword ref="tqsqlquery.html#first">first</keyword> + <keyword ref="tqsqlquery.html#isActive">isActive</keyword> + <keyword ref="tqsqlquery.html#isForwardOnly">isForwardOnly</keyword> + <keyword ref="tqsqlquery.html#isNull">isNull</keyword> + <keyword ref="tqsqlquery.html#isSelect">isSelect</keyword> + <keyword ref="tqsqlquery.html#isValid">isValid</keyword> + <keyword ref="tqsqlquery.html#last">last</keyword> + <keyword ref="tqsqlquery.html#lastError">lastError</keyword> + <keyword ref="tqsqlquery.html#lastQuery">lastQuery</keyword> + <keyword ref="tqsqlquery.html#next">next</keyword> + <keyword ref="tqsqlquery.html#numRowsAffected">numRowsAffected</keyword> + <keyword ref="tqsqlquery.html#operator-eq">operator=</keyword> + <keyword ref="tqsqlquery.html#prepare">prepare</keyword> + <keyword ref="tqsqlquery.html#prev">prev</keyword> + <keyword ref="tqsqlquery.html#result">result</keyword> + <keyword ref="tqsqlquery.html#seek">seek</keyword> + <keyword ref="tqsqlquery.html#setForwardOnly">setForwardOnly</keyword> + <keyword ref="tqsqlquery.html#size">size</keyword> + <keyword ref="tqsqlquery.html#value">value</keyword> + <keyword ref="tqsqlquery.html#~TQSqlQuery">~TQSqlQuery</keyword> + <section ref="tqsqlquery-members.html" title="List of All Member Functions"/> + <section ref="tqsqlquery-h.html" title="Header File"/> +</section> +<section ref="tqsqlrecord.html" title="TQSqlRecord Class Reference"> + <keyword ref="tqsqlrecord.html">TQSqlRecord</keyword> + <keyword ref="tqsqlrecord.html#append">append</keyword> + <keyword ref="tqsqlrecord.html#clear">clear</keyword> + <keyword ref="tqsqlrecord.html#clearValues">clearValues</keyword> + <keyword ref="tqsqlrecord.html#contains">contains</keyword> + <keyword ref="tqsqlrecord.html#count">count</keyword> + <keyword ref="tqsqlrecord.html#field">field</keyword> + <keyword ref="tqsqlrecord.html#fieldName">fieldName</keyword> + <keyword ref="tqsqlrecord.html#insert">insert</keyword> + <keyword ref="tqsqlrecord.html#isEmpty">isEmpty</keyword> + <keyword ref="tqsqlrecord.html#isGenerated">isGenerated</keyword> + <keyword ref="tqsqlrecord.html#isNull">isNull</keyword> + <keyword ref="tqsqlrecord.html#operator-eq">operator=</keyword> + <keyword ref="tqsqlrecord.html#position">position</keyword> + <keyword ref="tqsqlrecord.html#remove">remove</keyword> + <keyword ref="tqsqlrecord.html#setGenerated">setGenerated</keyword> + <keyword ref="tqsqlrecord.html#setNull">setNull</keyword> + <keyword ref="tqsqlrecord.html#setValue">setValue</keyword> + <keyword ref="tqsqlrecord.html#toString">toString</keyword> + <keyword ref="tqsqlrecord.html#toStringList">toStringList</keyword> + <keyword ref="tqsqlrecord.html#value">value</keyword> + <keyword ref="tqsqlrecord.html#~TQSqlRecord">~TQSqlRecord</keyword> + <section ref="tqsqlrecord-members.html" title="List of All Member Functions"/> + <section ref="tqsqlrecord-h.html" title="Header File"/> +</section> +<section ref="tqsqlrecordinfo.html" title="TQSqlRecordInfo Class Reference"> + <keyword ref="tqsqlrecordinfo.html">TQSqlRecordInfo</keyword> + <keyword ref="tqsqlrecordinfo.html#contains">contains</keyword> + <keyword ref="tqsqlrecordinfo.html#find">find</keyword> + <keyword ref="tqsqlrecordinfo.html#toRecord">toRecord</keyword> + <section ref="tqsqlrecordinfo-members.html" title="List of All Member Functions"/> + <section ref="tqsqlrecord-h.html" title="Header File"/> +</section> +<section ref="tqsqlresult.html" title="TQSqlResult Class Reference"> + <keyword ref="tqsqlresult.html">TQSqlResult</keyword> + <keyword ref="tqsqlresult.html#at">at</keyword> + <keyword ref="tqsqlresult.html#data">data</keyword> + <keyword ref="tqsqlresult.html#driver">driver</keyword> + <keyword ref="tqsqlresult.html#fetch">fetch</keyword> + <keyword ref="tqsqlresult.html#fetchFirst">fetchFirst</keyword> + <keyword ref="tqsqlresult.html#fetchLast">fetchLast</keyword> + <keyword ref="tqsqlresult.html#fetchNext">fetchNext</keyword> + <keyword ref="tqsqlresult.html#fetchPrev">fetchPrev</keyword> + <keyword ref="tqsqlresult.html#isActive">isActive</keyword> + <keyword ref="tqsqlresult.html#isForwardOnly">isForwardOnly</keyword> + <keyword ref="tqsqlresult.html#isNull">isNull</keyword> + <keyword ref="tqsqlresult.html#isSelect">isSelect</keyword> + <keyword ref="tqsqlresult.html#isValid">isValid</keyword> + <keyword ref="tqsqlresult.html#lastError">lastError</keyword> + <keyword ref="tqsqlresult.html#lastQuery">lastQuery</keyword> + <keyword ref="tqsqlresult.html#numRowsAffected">numRowsAffected</keyword> + <keyword ref="tqsqlresult.html#reset">reset</keyword> + <keyword ref="tqsqlresult.html#setActive">setActive</keyword> + <keyword ref="tqsqlresult.html#setAt">setAt</keyword> + <keyword ref="tqsqlresult.html#setForwardOnly">setForwardOnly</keyword> + <keyword ref="tqsqlresult.html#setLastError">setLastError</keyword> + <keyword ref="tqsqlresult.html#setQuery">setQuery</keyword> + <keyword ref="tqsqlresult.html#setSelect">setSelect</keyword> + <keyword ref="tqsqlresult.html#size">size</keyword> + <keyword ref="tqsqlresult.html#~TQSqlResult">~TQSqlResult</keyword> + <section ref="tqsqlresult-members.html" title="List of All Member Functions"/> + <section ref="tqsqlresult-h.html" title="Header File"/> +</section> +<section ref="tqsqlselectcursor.html" title="TQSqlSelectCursor Class Reference"> + <keyword ref="tqsqlselectcursor.html">TQSqlSelectCursor</keyword> + <keyword ref="tqsqlselectcursor.html#~TQSqlSelectCursor">~TQSqlSelectCursor</keyword> + <section ref="tqsqlselectcursor-members.html" title="List of All Member Functions"/> + <section ref="tqsqlselectcursor-h.html" title="Header File"/> </section> <section ref="ntqstatusbar.html" title="QStatusBar Class Reference"> <keyword ref="ntqstatusbar.html">QStatusBar</keyword> diff --git a/doc/html/sql-driver.html b/doc/html/sql-driver.html index 1145f5048..f678bc9ee 100644 --- a/doc/html/sql-driver.html +++ b/doc/html/sql-driver.html @@ -121,7 +121,7 @@ client libraries (>3.23.34) allow you to use transactions on those modified servers. <p> If you have a recent client library and connect to a transaction-enabled MySQL server, a call to the -<a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>( TQSqlDriver::Transactions ) function returns +<a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>( TQSqlDriver::Transactions ) function returns TRUE and SQL transactions can be used. <p> If the plugin is compiled against MySQL 4.x client libraries, transactions are enabled by default. @@ -172,15 +172,15 @@ encoding to communicate with the server. that this process may require a lot of memory. <p> Note that Oracle 9 doesn't support scrollable result sets with LOB columns, you have to use a forward only query to select LOB fields -(see <a href="ntqsqlquery.html#setForwardOnly">TQSqlQuery::setForwardOnly</a>()). +(see <a href="tqsqlquery.html#setForwardOnly">TQSqlQuery::setForwardOnly</a>()). <p> Inserting BLOBs should be done using either a prepared query where the -BLOBs are bound to placeholders, or <a href="ntqsqlcursor.html">TQSqlCursor</a> which uses a prepared +BLOBs are bound to placeholders, or <a href="tqsqlcursor.html">TQSqlCursor</a> which uses a prepared query to do this internally (see $TQTDIR/examples/sql/blob). <p> <h4> Know problems </h4> -<a name="3-2-4"></a><p> When a query is in forward only mode a call to <a href="ntqsqlquery.html#last">TQSqlQuery::last</a>() will +<a name="3-2-4"></a><p> When a query is in forward only mode a call to <a href="tqsqlquery.html#last">TQSqlQuery::last</a>() will position the query on the last record and return TRUE, but subsequent -calls to <a href="ntqsqlquery.html#value">TQSqlQuery::value</a>() will only return NULLs. +calls to <a href="tqsqlquery.html#value">TQSqlQuery::value</a>() will only return NULLs. <p> <h4> How to build the plugin on Unix/Linux </h4> <a name="3-2-5"></a><p> All files required to build driver should ship with the standard Oracle @@ -260,14 +260,14 @@ be installed first. Note that every client that uses your application is required to have an ODBC driver manager installed, otherwise the TQODBC3 plugin will not work. <p> Be aware that when connecting to an ODBC datasource you must pass in -the name of the ODBC datasource to the <a href="ntqsqldatabase.html#setDatabaseName">TQSqlDatabase::setDatabaseName</a>() +the name of the ODBC datasource to the <a href="tqsqldatabase.html#setDatabaseName">TQSqlDatabase::setDatabaseName</a>() function: not the actual database name. <p> The TQODBC3 Plugin needs an ODBC compliant driver manager version 2.0 or later to work. Some ODBC drivers claim to be version 2.0 compliant, but do not offer all the necessary functionality. The TQODBC3 plugin therefore checks whether the data source can be used after a connection has been established and refuses to work if the check -fails. If you don't like this behaviour, you can remove the <tt>#define ODBC_CHECK_DRIVER</tt> line from the file <tt>qsql_odbc.cpp</tt>. Do this at +fails. If you don't like this behaviour, you can remove the <tt>#define ODBC_CHECK_DRIVER</tt> line from the file <tt>tqsql_odbc.cpp</tt>. Do this at your own risk! <p> If you experience very slow access of the ODBC datasource, make sure that ODBC call tracing is turned off in the ODBC datasource manager. @@ -408,7 +408,7 @@ nmake <p> By default the Microsoft library is used on Windows, if you want to force the use of the Sybase Open Client, you must define -<tt>Q_USE_SYBASE</tt> in <tt>%TQTDIR%\src\sql\drivers\tds\qsql_tds.cpp</tt>. +<tt>Q_USE_SYBASE</tt> in <tt>%TQTDIR%\src\sql\drivers\tds\tqsql_tds.cpp</tt>. <p> <a name="TQDB2"></a> <h3> TQDB2 - IBM DB2 Driver (v7.1 or higher) </h3> @@ -422,7 +422,7 @@ files necessary for compiling the TQDB2 plugin. <p> The TQDB2 driver supports prepared queries, reading/writing of Unicode strings and reading/writing of BLOBs. <p> We suggest using a forward-only query when calling stored procedures -in DB2 (see <a href="ntqsqlquery.html#setForwardOnly">TQSqlQuery::setForwardOnly</a>()). +in DB2 (see <a href="tqsqlquery.html#setForwardOnly">TQSqlQuery::setForwardOnly</a>()). <p> <h4> How to build the plugin on Unix/Linux </h4> <a name="3-6-2"></a><p> <pre> @@ -559,16 +559,16 @@ error message. <p> <a name="development"></a> <h2> How to write your own database driver </h2> -<a name="5"></a><p> <a href="ntqsqldatabase.html">TQSqlDatabase</a> is responsible for loading and managing database driver -plugins. When a database is added (see <a href="ntqsqldatabase.html#addDatabase">TQSqlDatabase::addDatabase</a>()), -the appropriate driver plugin is loaded (using <a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a>). +<a name="5"></a><p> <a href="tqsqldatabase.html">TQSqlDatabase</a> is responsible for loading and managing database driver +plugins. When a database is added (see <a href="tqsqldatabase.html#addDatabase">TQSqlDatabase::addDatabase</a>()), +the appropriate driver plugin is loaded (using <a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a>). TQSqlDatabase relies on the driver plugin to provide interfaces for -<a href="ntqsqldriver.html">TQSqlDriver</a> and <a href="ntqsqlresult.html">TQSqlResult</a>. +<a href="tqsqldriver.html">TQSqlDriver</a> and <a href="tqsqlresult.html">TQSqlResult</a>. <p> TQSqlDriver is an abstract base class which defines the functionality of a SQL database driver. This includes functions such as -<a href="ntqsqldriver.html#open">TQSqlDriver::open</a>() and <a href="ntqsqldriver.html#close">TQSqlDriver::close</a>(). TQSqlDriver is responsible +<a href="tqsqldriver.html#open">TQSqlDriver::open</a>() and <a href="tqsqldriver.html#close">TQSqlDriver::close</a>(). TQSqlDriver is responsible for connecting to a database, establish the proper environment, etc. -In addition, TQSqlDriver can create <a href="ntqsqlquery.html">TQSqlQuery</a> objects appropriate for +In addition, TQSqlDriver can create <a href="tqsqlquery.html">TQSqlQuery</a> objects appropriate for the particular database API. TQSqlDatabase forwards many of its function calls directly to TQSqlDriver which provides the concrete implementation. @@ -577,9 +577,9 @@ of a SQL database query. This includes statements such as <tt>SELECT</tt>, <tt>UPDATE</tt>, and <tt>ALTER TABLE</tt>. TQSqlResult contains functions such as TQSqlResult::next() and TQSqlResult::value(). TQSqlResult is responsible for sending queries to the database, returning result data, etc. -TQSqlQuery forwards many of its function calls directly to <a href="ntqsqlresult.html">TQSqlResult</a> +TQSqlQuery forwards many of its function calls directly to <a href="tqsqlresult.html">TQSqlResult</a> which provides the concrete implementation. -<p> <a href="ntqsqldriver.html">TQSqlDriver</a> and TQSqlResult are closely connected. When implementing a +<p> <a href="tqsqldriver.html">TQSqlDriver</a> and TQSqlResult are closely connected. When implementing a TQt SQL driver, both of these classes must to be subclassed and the abstract virtual methods in each class must be implemented. <p> To implement a TQt SQL driver as a plugin (so that it is recognized and @@ -591,10 +591,10 @@ with TQt in <tt>TQTDIR/plugins/src/sqldrivers</tt> and <tt>TQTDIR/src/sql/drivers</tt>. <p> The following code can be used as a skeleton for a SQL driver: <p> <pre> -class TQNullResult : public <a href="ntqsqlresult.html">TQSqlResult</a> +class TQNullResult : public <a href="tqsqlresult.html">TQSqlResult</a> { public: - TQNullResult( const <a href="ntqsqldriver.html">TQSqlDriver</a>* d ): <a href="ntqsqlresult.html">TQSqlResult</a>( d ) {} + TQNullResult( const <a href="tqsqldriver.html">TQSqlDriver</a>* d ): <a href="tqsqlresult.html">TQSqlResult</a>( d ) {} ~TQNullResult() {} protected: <a href="ntqvariant.html">TQVariant</a> data( int ) { return TQVariant(); } @@ -603,15 +603,15 @@ protected: bool fetchFirst() { return FALSE; } bool fetchLast() { return FALSE; } bool isNull( int ) { return FALSE; } - <a href="ntqsqlrecord.html">TQSqlRecord</a> record() { return TQSqlRecord(); } + <a href="tqsqlrecord.html">TQSqlRecord</a> record() { return TQSqlRecord(); } int size() { return 0; } int numRowsAffected() { return 0; } }; -class TQNullDriver : public <a href="ntqsqldriver.html">TQSqlDriver</a> +class TQNullDriver : public <a href="tqsqldriver.html">TQSqlDriver</a> { public: - TQNullDriver(): <a href="ntqsqldriver.html">TQSqlDriver</a>() {} + TQNullDriver(): <a href="tqsqldriver.html">TQSqlDriver</a>() {} ~TQNullDriver() {} bool hasFeature( DriverFeature ) const { return FALSE; } bool open( const <a href="ntqstring.html">TQString</a>&, @@ -620,7 +620,7 @@ public: const <a href="ntqstring.html">TQString</a>&, int ) { return FALSE; } void close() {} - <a href="ntqsqlquery.html">TQSqlQuery</a> createQuery() const { return TQSqlQuery( new TQNullResult( this ) ); } + <a href="tqsqlquery.html">TQSqlQuery</a> createQuery() const { return TQSqlQuery( new TQNullResult( this ) ); } }; </pre> diff --git a/doc/html/sql-overview-basicbrowsing-main-cpp.html b/doc/html/sql-overview-basicbrowsing-main-cpp.html index 7ec94e8c1..35b8e488f 100644 --- a/doc/html/sql-overview-basicbrowsing-main-cpp.html +++ b/doc/html/sql-overview-basicbrowsing-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,16 +52,16 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="ntqsqldatabase.html#database">database</a>( "ORACLE" ); + <a href="tqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="tqsqldatabase.html#database">database</a>( "ORACLE" ); // Copy data from the oracle database to the ODBC (default) // database - <a href="ntqsqlquery.html">TQSqlQuery</a> target; - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb ); - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { - while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - target.<a href="ntqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + - query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + - ", '" + query.<a href="ntqsqlquery.html#value">value</a>(1).toString() + "' )" ); + <a href="tqsqlquery.html">TQSqlQuery</a> target; + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb ); + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) { + while ( query.<a href="tqsqlquery.html#next">next</a>() ) { + target.<a href="tqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + + query.<a href="tqsqlquery.html#value">value</a>(0).toString() + + ", '" + query.<a href="tqsqlquery.html#value">value</a>(1).toString() + "' )" ); } } } diff --git a/doc/html/sql-overview-basicbrowsing2-main-cpp.html b/doc/html/sql-overview-basicbrowsing2-main-cpp.html index 62d8d5d2c..1c14d58aa 100644 --- a/doc/html/sql-overview-basicbrowsing2-main-cpp.html +++ b/doc/html/sql-overview-basicbrowsing2-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,19 +52,19 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="ntqsqldatabase.html#database">database</a>( "ORACLE" ); + <a href="tqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="tqsqldatabase.html#database">database</a>( "ORACLE" ); // Copy data from the oracle database to the ODBC (default) // database - <a href="ntqsqlquery.html">TQSqlQuery</a> target; - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb ); + <a href="tqsqlquery.html">TQSqlQuery</a> target; + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb ); int count = 0; - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { - while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - target.<a href="ntqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + - query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + - ", '" + query.<a href="ntqsqlquery.html#value">value</a>(1).toString() + "' )" ); - if ( target.<a href="ntqsqlquery.html#isActive">isActive</a>() ) - count += target.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>(); + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) { + while ( query.<a href="tqsqlquery.html#next">next</a>() ) { + target.<a href="tqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + + query.<a href="tqsqlquery.html#value">value</a>(0).toString() + + ", '" + query.<a href="tqsqlquery.html#value">value</a>(1).toString() + "' )" ); + if ( target.<a href="tqsqlquery.html#isActive">isActive</a>() ) + count += target.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>(); } } } diff --git a/doc/html/sql-overview-basicdatamanip-main-cpp.html b/doc/html/sql-overview-basicdatamanip-main-cpp.html index 48cb4574a..6cfd77bff 100644 --- a/doc/html/sql-overview-basicdatamanip-main-cpp.html +++ b/doc/html/sql-overview-basicdatamanip-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>> #include "../connection.h" bool createConnections(); @@ -57,15 +57,15 @@ int main( int argc, char *argv[] ) int rows = 0; if ( createConnections() ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "INSERT INTO staff ( id, forename, surname, salary ) " + <a href="tqsqlquery.html">TQSqlQuery</a> query( "INSERT INTO staff ( id, forename, surname, salary ) " "VALUES ( 1155, 'Ginger', 'Davis', 50000 )" ); - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; - query.<a href="ntqsqlquery.html#exec">exec</a>( "UPDATE staff SET salary=60000 WHERE id=1155" ); - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; + query.<a href="tqsqlquery.html#exec">exec</a>( "UPDATE staff SET salary=60000 WHERE id=1155" ); + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; - query.<a href="ntqsqlquery.html#exec">exec</a>( "DELETE FROM staff WHERE id=1155" ); - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; + query.<a href="tqsqlquery.html#exec">exec</a>( "DELETE FROM staff WHERE id=1155" ); + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; } return ( rows == 3 ) ? 0 : 1; diff --git a/doc/html/sql-overview-connect1-main-cpp.html b/doc/html/sql-overview-connect1-main-cpp.html index 7eaf1ef0b..9428a4bcd 100644 --- a/doc/html/sql-overview-connect1-main-cpp.html +++ b/doc/html/sql-overview-connect1-main-cpp.html @@ -43,7 +43,7 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> #include "../connection.h" @@ -51,13 +51,13 @@ int main( int argc, char *argv[] ) { <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); - <a href="ntqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER ); - defaultDB-><a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); - defaultDB-><a href="ntqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); - defaultDB-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); - defaultDB-><a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); + <a href="tqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="tqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER ); + defaultDB-><a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); + defaultDB-><a href="tqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); + defaultDB-><a href="tqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); + defaultDB-><a href="tqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); - if ( defaultDB-><a href="ntqsqldatabase.html#open">open</a>() ) { + if ( defaultDB-><a href="tqsqldatabase.html#open">open</a>() ) { // Database successfully opened; we can now issue SQL commands. } diff --git a/doc/html/sql-overview-create_connections-main-cpp.html b/doc/html/sql-overview-create_connections-main-cpp.html index ed917270c..5f54c2084 100644 --- a/doc/html/sql-overview-create_connections-main-cpp.html +++ b/doc/html/sql-overview-create_connections-main-cpp.html @@ -43,7 +43,7 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,7 +52,7 @@ int main( int argc, char *argv[] ) if ( createConnections() ) { // Databases successfully opened; get pointers to them: - <a href="ntqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="ntqsqldatabase.html#database">database</a>( "ORACLE" ); + <a href="tqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="tqsqldatabase.html#database">database</a>( "ORACLE" ); // Now we can now issue SQL commands to the oracle connection // or to the default connection } diff --git a/doc/html/sql-overview-custom1-main-cpp.html b/doc/html/sql-overview-custom1-main-cpp.html index 0912a8927..f09eb7acd 100644 --- a/doc/html/sql-overview-custom1-main-cpp.html +++ b/doc/html/sql-overview-custom1-main-cpp.html @@ -94,23 +94,23 @@ TQString <a name="f19"></a>CustomEdit::upperLine() const grid-><a href="qgridlayout.html#addWidget">addWidget</a>( saveButton, 3, 0 ); grid-><a href="ntqlayout.html#activate">activate</a>(); - staffCursor = new <a href="ntqsqlcursor.html">TQSqlCursor</a>( "staff" ); - staffCursor-><a href="ntqsqlcursor.html#setTrimmed">setTrimmed</a>( "forename", TRUE ); - staffCursor-><a href="ntqsqlcursor.html#setTrimmed">setTrimmed</a>( "surname", TRUE ); - idIndex = staffCursor-><a href="ntqsqlcursor.html#index">index</a>( "id" ); - staffCursor-><a href="ntqsqlcursor.html#select">select</a>( idIndex ); - staffCursor-><a href="ntqsqlquery.html#first">first</a>(); - - propMap = new <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>; - propMap-><a href="ntqsqlpropertymap.html#insert">insert</a>( forenameEdit-><a href="tqobject.html#className">className</a>(), "upperLine" ); - - sqlForm = new <a href="ntqsqlform.html">TQSqlForm</a>( this ); - sqlForm-><a href="ntqsqlform.html#setRecord">setRecord</a>( staffCursor-><a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() ); - sqlForm-><a href="ntqsqlform.html#installPropertyMap">installPropertyMap</a>( propMap ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( forenameEdit, "forename" ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( surnameEdit, "surname" ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); - sqlForm-><a href="ntqsqlform.html#readFields">readFields</a>(); + staffCursor = new <a href="tqsqlcursor.html">TQSqlCursor</a>( "staff" ); + staffCursor-><a href="tqsqlcursor.html#setTrimmed">setTrimmed</a>( "forename", TRUE ); + staffCursor-><a href="tqsqlcursor.html#setTrimmed">setTrimmed</a>( "surname", TRUE ); + idIndex = staffCursor-><a href="tqsqlcursor.html#index">index</a>( "id" ); + staffCursor-><a href="tqsqlcursor.html#select">select</a>( idIndex ); + staffCursor-><a href="tqsqlquery.html#first">first</a>(); + + propMap = new <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>; + propMap-><a href="tqsqlpropertymap.html#insert">insert</a>( forenameEdit-><a href="tqobject.html#className">className</a>(), "upperLine" ); + + sqlForm = new <a href="tqsqlform.html">TQSqlForm</a>( this ); + sqlForm-><a href="tqsqlform.html#setRecord">setRecord</a>( staffCursor-><a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() ); + sqlForm-><a href="tqsqlform.html#installPropertyMap">installPropertyMap</a>( propMap ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( forenameEdit, "forename" ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( surnameEdit, "surname" ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); + sqlForm-><a href="tqsqlform.html#readFields">readFields</a>(); } @@ -122,10 +122,10 @@ FormDialog::~FormDialog() void <a name="f21"></a>FormDialog::save() { - sqlForm-><a href="ntqsqlform.html#writeFields">writeFields</a>(); - staffCursor-><a href="ntqsqlcursor.html#update">update</a>(); - staffCursor-><a href="ntqsqlcursor.html#select">select</a>( idIndex ); - staffCursor-><a href="ntqsqlquery.html#first">first</a>(); + sqlForm-><a href="tqsqlform.html#writeFields">writeFields</a>(); + staffCursor-><a href="tqsqlcursor.html#update">update</a>(); + staffCursor-><a href="tqsqlcursor.html#select">select</a>( idIndex ); + staffCursor-><a href="tqsqlquery.html#first">first</a>(); } diff --git a/doc/html/sql-overview-custom1-main-h.html b/doc/html/sql-overview-custom1-main-h.html index 7815c5fda..9f2531b06 100644 --- a/doc/html/sql-overview-custom1-main-h.html +++ b/doc/html/sql-overview-custom1-main-h.html @@ -48,10 +48,10 @@ body { background: #ffffff; color: black; } #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="qlineedit-h.html">ntqlineedit.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qsqlform-h.html">ntqsqlform.h</a>> -#include <<a href="qsqlpropertymap-h.html">ntqsqlpropertymap.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqsqlform-h.html">tqsqlform.h</a>> +#include <<a href="tqsqlpropertymap-h.html">tqsqlpropertymap.h</a>> #include "../connection.h" class CustomEdit : public <a href="ntqlineedit.html">TQLineEdit</a> @@ -78,10 +78,10 @@ class FormDialog : public <a href="ntqdialog.html">TQDialog</a> public slots: void save(); private: - <a href="ntqsqlcursor.html">TQSqlCursor</a> *staffCursor; - <a href="ntqsqlform.html">TQSqlForm</a> *sqlForm; - <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap; - <a href="ntqsqlindex.html">TQSqlIndex</a> idIndex; + <a href="tqsqlcursor.html">TQSqlCursor</a> *staffCursor; + <a href="tqsqlform.html">TQSqlForm</a> *sqlForm; + <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap; + <a href="tqsqlindex.html">TQSqlIndex</a> idIndex; }; diff --git a/doc/html/sql-overview-delete-main-cpp.html b/doc/html/sql-overview-delete-main-cpp.html index 82c184624..06ba124c5 100644 --- a/doc/html/sql-overview-delete-main-cpp.html +++ b/doc/html/sql-overview-delete-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,11 +52,11 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); - cur.<a href="ntqsqlcursor.html#select">select</a>( "id=999" ); - if ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - cur.<a href="ntqsqlcursor.html#primeDelete">primeDelete</a>(); - cur.<a href="ntqsqlcursor.html#del">del</a>(); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); + cur.<a href="tqsqlcursor.html#select">select</a>( "id=999" ); + if ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + cur.<a href="tqsqlcursor.html#primeDelete">primeDelete</a>(); + cur.<a href="tqsqlcursor.html#del">del</a>(); } } diff --git a/doc/html/sql-overview-extract-main-cpp.html b/doc/html/sql-overview-extract-main-cpp.html index 142a427c1..bf555d29f 100644 --- a/doc/html/sql-overview-extract-main-cpp.html +++ b/doc/html/sql-overview-extract-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,22 +52,22 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "creditors" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "creditors" ); <a href="ntqstringlist.html">TQStringList</a> orderFields = TQStringList() << "surname" << "forename"; - <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( orderFields ); + <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( orderFields ); <a href="ntqstringlist.html">TQStringList</a> filterFields = TQStringList() << "surname" << "city"; - <a href="ntqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="ntqsqlcursor.html#index">index</a>( filterFields ); - cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "surname", "Chirac" ); - cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "city", "Paris" ); + <a href="tqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="tqsqlcursor.html#index">index</a>( filterFields ); + cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "surname", "Chirac" ); + cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "city", "Paris" ); - cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order ); + cur.<a href="tqsqlcursor.html#select">select</a>( filter, order ); - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - int id = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt(); - <a href="ntqstring.html">TQString</a> name = cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() + " " + - cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString(); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + int id = cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toInt(); + <a href="ntqstring.html">TQString</a> name = cur.<a href="tqsqlquery.html#value">value</a>( "forename" ).toString() + " " + + cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString(); <a href="ntqapplication.html#qDebug">tqDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name ); } } diff --git a/doc/html/sql-overview-form1-main-cpp.html b/doc/html/sql-overview-form1-main-cpp.html index 000dbd068..891f07b52 100644 --- a/doc/html/sql-overview-form1-main-cpp.html +++ b/doc/html/sql-overview-form1-main-cpp.html @@ -47,9 +47,9 @@ body { background: #ffffff; color: black; } #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="qlineedit-h.html">ntqlineedit.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qsqlform-h.html">ntqsqlform.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqsqlform-h.html">tqsqlform.h</a>> #include "../connection.h" class FormDialog : public <a href="ntqdialog.html">TQDialog</a> @@ -77,16 +77,16 @@ class FormDialog : public <a href="ntqdialog.html">TQDialog</a> grid-><a href="qgridlayout.html#addWidget">addWidget</a>( salaryEdit, 2, 1 ); grid-><a href="ntqlayout.html#activate">activate</a>(); - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - staffCursor.<a href="ntqsqlcursor.html#select">select</a>(); - staffCursor.<a href="ntqsqlquery.html#next">next</a>(); + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + staffCursor.<a href="tqsqlcursor.html#select">select</a>(); + staffCursor.<a href="tqsqlquery.html#next">next</a>(); - <a href="ntqsqlform.html">TQSqlForm</a> sqlForm( this ); - sqlForm.<a href="ntqsqlform.html#setRecord">setRecord</a>( staffCursor.<a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() ); - sqlForm.<a href="ntqsqlform.html#insert">insert</a>( forenameDisplay, "forename" ); - sqlForm.<a href="ntqsqlform.html#insert">insert</a>( surnameDisplay, "surname" ); - sqlForm.<a href="ntqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); - sqlForm.<a href="ntqsqlform.html#readFields">readFields</a>(); + <a href="tqsqlform.html">TQSqlForm</a> sqlForm( this ); + sqlForm.<a href="tqsqlform.html#setRecord">setRecord</a>( staffCursor.<a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() ); + sqlForm.<a href="tqsqlform.html#insert">insert</a>( forenameDisplay, "forename" ); + sqlForm.<a href="tqsqlform.html#insert">insert</a>( surnameDisplay, "surname" ); + sqlForm.<a href="tqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); + sqlForm.<a href="tqsqlform.html#readFields">readFields</a>(); } diff --git a/doc/html/sql-overview-form2-main-h.html b/doc/html/sql-overview-form2-main-h.html index a1eead4a8..15dcdfb64 100644 --- a/doc/html/sql-overview-form2-main-h.html +++ b/doc/html/sql-overview-form2-main-h.html @@ -48,9 +48,9 @@ body { background: #ffffff; color: black; } #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="qlineedit-h.html">ntqlineedit.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qsqlform-h.html">ntqsqlform.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqsqlform-h.html">tqsqlform.h</a>> #include "../connection.h" class FormDialog : public <a href="ntqdialog.html">TQDialog</a> @@ -62,9 +62,9 @@ class FormDialog : public <a href="ntqdialog.html">TQDialog</a> public slots: void save(); private: - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor; - <a href="ntqsqlform.html">TQSqlForm</a> *sqlForm; - <a href="ntqsqlindex.html">TQSqlIndex</a> idIndex; + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor; + <a href="tqsqlform.html">TQSqlForm</a> *sqlForm; + <a href="tqsqlindex.html">TQSqlIndex</a> idIndex; }; </pre><!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/sql-overview-insert-main-cpp.html b/doc/html/sql-overview-insert-main-cpp.html index a56d669af..42ddf63a7 100644 --- a/doc/html/sql-overview-insert-main-cpp.html +++ b/doc/html/sql-overview-insert-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -53,17 +53,17 @@ int main( int argc, char *argv[] ) if ( createConnections() ) { int count = 0; - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); <a href="ntqstringlist.html">TQStringList</a> names = TQStringList() << "Screwdriver" << "Hammer" << "Wrench" << "Saw"; int id = 20; for ( TQStringList::Iterator name = names.<a href="ntqvaluelist.html#begin">begin</a>(); name != names.<a href="ntqvaluelist.html#end">end</a>(); ++name ) { - <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="ntqsqlcursor.html#primeInsert">primeInsert</a>(); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", id ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "name", *name ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "price", 100.0 + (double)id ); - count += cur.<a href="ntqsqlcursor.html#insert">insert</a>(); + <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="tqsqlcursor.html#primeInsert">primeInsert</a>(); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", id ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "name", *name ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "price", 100.0 + (double)id ); + count += cur.<a href="tqsqlcursor.html#insert">insert</a>(); id++; } } diff --git a/doc/html/sql-overview-navigating-main-cpp.html b/doc/html/sql-overview-navigating-main-cpp.html index 51171b5e0..de1c8b1eb 100644 --- a/doc/html/sql-overview-navigating-main-cpp.html +++ b/doc/html/sql-overview-navigating-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,16 +52,16 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people ORDER BY name" ); - if ( ! query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) return 1; // Query failed + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people ORDER BY name" ); + if ( ! query.<a href="tqsqlquery.html#isActive">isActive</a>() ) return 1; // Query failed int i; - i = query.<a href="ntqsqlquery.html#size">size</a>(); // In this example we have 9 records; i == 9. - query.<a href="ntqsqlquery.html#first">first</a>(); // Moves to the first record. - i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 0 - query.<a href="ntqsqlquery.html#last">last</a>(); // Moves to the last record. - i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 8 - query.<a href="ntqsqlquery.html#seek">seek</a>( query.<a href="ntqsqlquery.html#size">size</a>() / 2 ); // Moves to the middle record. - i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 4 + i = query.<a href="tqsqlquery.html#size">size</a>(); // In this example we have 9 records; i == 9. + query.<a href="tqsqlquery.html#first">first</a>(); // Moves to the first record. + i = query.<a href="tqsqlquery.html#at">at</a>(); // i == 0 + query.<a href="tqsqlquery.html#last">last</a>(); // Moves to the last record. + i = query.<a href="tqsqlquery.html#at">at</a>(); // i == 8 + query.<a href="tqsqlquery.html#seek">seek</a>( query.<a href="tqsqlquery.html#size">size</a>() / 2 ); // Moves to the middle record. + i = query.<a href="tqsqlquery.html#at">at</a>(); // i == 4 } return 0; diff --git a/doc/html/sql-overview-order1-main-cpp.html b/doc/html/sql-overview-order1-main-cpp.html index 2c6fcb2e2..16347340d 100644 --- a/doc/html/sql-overview-order1-main-cpp.html +++ b/doc/html/sql-overview-order1-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,14 +52,14 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); <a href="ntqstringlist.html">TQStringList</a> fields = TQStringList() << "surname" << "forename"; - <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( fields ); - cur.<a href="ntqsqlcursor.html#select">select</a>( order ); - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + - cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + - cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() ); + <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( fields ); + cur.<a href="tqsqlcursor.html#select">select</a>( order ); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString() + " " + + cur.<a href="tqsqlquery.html#value">value</a>( "forename" ).toString() ); } } diff --git a/doc/html/sql-overview-order2-main-cpp.html b/doc/html/sql-overview-order2-main-cpp.html index 374a3728d..44a153d49 100644 --- a/doc/html/sql-overview-order2-main-cpp.html +++ b/doc/html/sql-overview-order2-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,16 +52,16 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); <a href="ntqstringlist.html">TQStringList</a> fields = TQStringList() << "id" << "forename"; - <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( fields ); - <a href="ntqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="ntqsqlcursor.html#index">index</a>( "surname" ); - cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "surname", "Bloggs" ); - cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order ); - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + - cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + - cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() ); + <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( fields ); + <a href="tqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="tqsqlcursor.html#index">index</a>( "surname" ); + cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "surname", "Bloggs" ); + cur.<a href="tqsqlcursor.html#select">select</a>( filter, order ); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString() + " " + + cur.<a href="tqsqlquery.html#value">value</a>( "forename" ).toString() ); } } diff --git a/doc/html/sql-overview-retrieve1-main-cpp.html b/doc/html/sql-overview-retrieve1-main-cpp.html index 98d7ca283..6b4ee40c0 100644 --- a/doc/html/sql-overview-retrieve1-main-cpp.html +++ b/doc/html/sql-overview-retrieve1-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,11 +52,11 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { - while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">tqDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " + - query.<a href="ntqsqlquery.html#value">value</a>(1).toString() ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) { + while ( query.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="ntqapplication.html#qDebug">tqDebug</a>( query.<a href="tqsqlquery.html#value">value</a>(0).toString() + ": " + + query.<a href="tqsqlquery.html#value">value</a>(1).toString() ); } } } diff --git a/doc/html/sql-overview-retrieve2-main-cpp.html b/doc/html/sql-overview-retrieve2-main-cpp.html index b1a86764a..ce4389bac 100644 --- a/doc/html/sql-overview-retrieve2-main-cpp.html +++ b/doc/html/sql-overview-retrieve2-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,12 +52,12 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name - cur.<a href="ntqsqlcursor.html#select">select</a>(); // We'll retrieve every record - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + - cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + - cur.<a href="ntqsqlquery.html#value">value</a>( "salary" ).toString() ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name + cur.<a href="tqsqlcursor.html#select">select</a>(); // We'll retrieve every record + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString() + " " + + cur.<a href="tqsqlquery.html#value">value</a>( "salary" ).toString() ); } } diff --git a/doc/html/sql-overview-subclass1-main-cpp.html b/doc/html/sql-overview-subclass1-main-cpp.html index d097dafde..9447e1d8f 100644 --- a/doc/html/sql-overview-subclass1-main-cpp.html +++ b/doc/html/sql-overview-subclass1-main-cpp.html @@ -43,9 +43,9 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -53,17 +53,17 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> invoiceItemCursor( "invoiceitem" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> invoiceItemCursor( "invoiceitem" ); - <a href="ntqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="ntqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); + <a href="tqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="tqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( invoiceItemTable ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "pricesid", "PriceID" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "pricesid", "PriceID" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); - invoiceItemTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + invoiceItemTable-><a href="tqdatatable.html#refresh">refresh</a>(); invoiceItemTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-subclass2-main-cpp.html b/doc/html/sql-overview-subclass2-main-cpp.html index db5c6887b..30d19bc09 100644 --- a/doc/html/sql-overview-subclass2-main-cpp.html +++ b/doc/html/sql-overview-subclass2-main-cpp.html @@ -43,10 +43,10 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include "main.h" -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> <a name="f22"></a>InvoiceItemCursor::InvoiceItemCursor() : - <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) + <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) { // NOOP } @@ -59,15 +59,15 @@ int main( int argc, char *argv[] ) if ( createConnections() ) { InvoiceItemCursor invoiceItemCursor; - <a href="ntqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="ntqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); + <a href="tqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="tqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( invoiceItemTable ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "pricesid", "PriceID" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "pricesid", "PriceID" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); - invoiceItemTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + invoiceItemTable-><a href="tqdatatable.html#refresh">refresh</a>(); invoiceItemTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-subclass2-main-h.html b/doc/html/sql-overview-subclass2-main-h.html index 3d0384d4c..4acff8c63 100644 --- a/doc/html/sql-overview-subclass2-main-h.html +++ b/doc/html/sql-overview-subclass2-main-h.html @@ -43,13 +43,13 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" class TQSqlRecord; -class InvoiceItemCursor : public <a href="ntqsqlcursor.html">TQSqlCursor</a> +class InvoiceItemCursor : public <a href="tqsqlcursor.html">TQSqlCursor</a> { public: InvoiceItemCursor(); diff --git a/doc/html/sql-overview-subclass3-main-cpp.html b/doc/html/sql-overview-subclass3-main-cpp.html index b53d3a68a..f63ae8c20 100644 --- a/doc/html/sql-overview-subclass3-main-cpp.html +++ b/doc/html/sql-overview-subclass3-main-cpp.html @@ -43,24 +43,24 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include "main.h" -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> <a name="f23"></a>InvoiceItemCursor::InvoiceItemCursor() : - <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) + <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) { - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); - <a href="ntqsqlcursor.html#append">append</a>( productName ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); + <a href="tqsqlcursor.html#append">append</a>( productName ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); } -TQVariant InvoiceItemCursor::<a href="ntqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) +TQVariant InvoiceItemCursor::<a href="tqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) { if ( name == "productname" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } return TQVariant( TQString::null ); @@ -74,15 +74,15 @@ int main( int argc, char *argv[] ) if ( createConnections() ) { InvoiceItemCursor invoiceItemCursor; - <a href="ntqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="ntqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); + <a href="tqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="tqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( invoiceItemTable ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); - invoiceItemTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + invoiceItemTable-><a href="tqdatatable.html#refresh">refresh</a>(); invoiceItemTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-subclass3-main-h.html b/doc/html/sql-overview-subclass3-main-h.html index c35b9b30f..bad4000f7 100644 --- a/doc/html/sql-overview-subclass3-main-h.html +++ b/doc/html/sql-overview-subclass3-main-h.html @@ -43,13 +43,13 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" class TQSqlRecord; -class InvoiceItemCursor : public <a href="ntqsqlcursor.html">TQSqlCursor</a> +class InvoiceItemCursor : public <a href="tqsqlcursor.html">TQSqlCursor</a> { public: InvoiceItemCursor(); diff --git a/doc/html/sql-overview-subclass4-main-cpp.html b/doc/html/sql-overview-subclass4-main-cpp.html index b5140d53e..48c6ba49e 100644 --- a/doc/html/sql-overview-subclass4-main-cpp.html +++ b/doc/html/sql-overview-subclass4-main-cpp.html @@ -43,46 +43,46 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include "main.h" -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> <a name="f24"></a>InvoiceItemCursor::InvoiceItemCursor() : - <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) + <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) { - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); - <a href="ntqsqlcursor.html#append">append</a>( productName ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); + <a href="tqsqlcursor.html#append">append</a>( productName ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productPrice( "price", TQVariant::Double ); - <a href="ntqsqlcursor.html#append">append</a>( productPrice ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productPrice.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productPrice( "price", TQVariant::Double ); + <a href="tqsqlcursor.html#append">append</a>( productPrice ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productPrice.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productCost( "cost", TQVariant::Double ); - <a href="ntqsqlcursor.html#append">append</a>( productCost ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productCost.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productCost( "cost", TQVariant::Double ); + <a href="tqsqlcursor.html#append">append</a>( productCost ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productCost.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); } -TQVariant InvoiceItemCursor::<a href="ntqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) +TQVariant InvoiceItemCursor::<a href="tqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) { if ( name == "productname" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } else if ( name == "price" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } else if ( name == "cost" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return TQVariant( query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toDouble() * - <a href="ntqsqlquery.html#value">value</a>( "quantity").toDouble() ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return TQVariant( query.<a href="tqsqlquery.html#value">value</a>( 0 ).toDouble() * + <a href="tqsqlquery.html#value">value</a>( "quantity").toDouble() ); } return TQVariant( TQString::null ); @@ -96,17 +96,17 @@ int main( int argc, char *argv[] ) if ( createConnections() ) { InvoiceItemCursor invoiceItemCursor; - <a href="ntqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="ntqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); + <a href="tqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="tqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( invoiceItemTable ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "price", "Price" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "cost", "Cost" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "price", "Price" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "cost", "Cost" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); - invoiceItemTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + invoiceItemTable-><a href="tqdatatable.html#refresh">refresh</a>(); invoiceItemTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-subclass4-main-h.html b/doc/html/sql-overview-subclass4-main-h.html index dc34c0f9a..2d17c75f0 100644 --- a/doc/html/sql-overview-subclass4-main-h.html +++ b/doc/html/sql-overview-subclass4-main-h.html @@ -43,13 +43,13 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" class TQSqlRecord; -class InvoiceItemCursor : public <a href="ntqsqlcursor.html">TQSqlCursor</a> +class InvoiceItemCursor : public <a href="tqsqlcursor.html">TQSqlCursor</a> { public: InvoiceItemCursor(); diff --git a/doc/html/sql-overview-subclass5-main-cpp.html b/doc/html/sql-overview-subclass5-main-cpp.html index 2740f677a..6a76f303f 100644 --- a/doc/html/sql-overview-subclass5-main-cpp.html +++ b/doc/html/sql-overview-subclass5-main-cpp.html @@ -43,60 +43,60 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include "main.h" -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> <a name="f25"></a>InvoiceItemCursor::InvoiceItemCursor() : - <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) + <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) { - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); - <a href="ntqsqlcursor.html#append">append</a>( productName ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); + <a href="tqsqlcursor.html#append">append</a>( productName ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productPrice( "price", TQVariant::Double ); - <a href="ntqsqlcursor.html#append">append</a>( productPrice ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productPrice.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productPrice( "price", TQVariant::Double ); + <a href="tqsqlcursor.html#append">append</a>( productPrice ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productPrice.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productCost( "cost", TQVariant::Double ); - <a href="ntqsqlcursor.html#append">append</a>( productCost ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productCost.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productCost( "cost", TQVariant::Double ); + <a href="tqsqlcursor.html#append">append</a>( productCost ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productCost.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); } -TQVariant InvoiceItemCursor::<a href="ntqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) +TQVariant InvoiceItemCursor::<a href="tqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) { if ( name == "productname" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } else if ( name == "price" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } else if ( name == "cost" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return TQVariant( query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toDouble() * - <a href="ntqsqlquery.html#value">value</a>( "quantity").toDouble() ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return TQVariant( query.<a href="tqsqlquery.html#value">value</a>( 0 ).toDouble() * + <a href="tqsqlquery.html#value">value</a>( "quantity").toDouble() ); } return TQVariant( TQString::null ); } -TQSqlRecord *InvoiceItemCursor::<a href="ntqsqlcursor.html#primeInsert">primeInsert</a>() +TQSqlRecord *InvoiceItemCursor::<a href="tqsqlcursor.html#primeInsert">primeInsert</a>() { - <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = <a href="ntqsqlcursor.html#editBuffer">editBuffer</a>(); - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT NEXTVAL( 'invoiceitem_seq' )" ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="ntqsqlquery.html#value">value</a>( 0 ) ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "paiddate", TQDate::currentDate() ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "quantity", 1 ); + <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = <a href="tqsqlcursor.html#editBuffer">editBuffer</a>(); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT NEXTVAL( 'invoiceitem_seq' )" ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="tqsqlquery.html#value">value</a>( 0 ) ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "paiddate", TQDate::currentDate() ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "quantity", 1 ); return buffer; } @@ -109,17 +109,17 @@ int main( int argc, char *argv[] ) if ( createConnections() ) { InvoiceItemCursor invoiceItemCursor; - <a href="ntqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="ntqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); + <a href="tqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="tqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( invoiceItemTable ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "price", "Price" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "cost", "Cost" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "price", "Price" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "cost", "Cost" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); - invoiceItemTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + invoiceItemTable-><a href="tqdatatable.html#refresh">refresh</a>(); invoiceItemTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-subclass5-main-h.html b/doc/html/sql-overview-subclass5-main-h.html index c703345fc..ffa4eba23 100644 --- a/doc/html/sql-overview-subclass5-main-h.html +++ b/doc/html/sql-overview-subclass5-main-h.html @@ -44,17 +44,17 @@ body { background: #ffffff; color: black; } #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qdatetime-h.html">ntqdatetime.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" class TQSqlRecord; -class InvoiceItemCursor : public <a href="ntqsqlcursor.html">TQSqlCursor</a> +class InvoiceItemCursor : public <a href="tqsqlcursor.html">TQSqlCursor</a> { public: InvoiceItemCursor(); - <a href="ntqsqlrecord.html">TQSqlRecord</a> *primeInsert(); + <a href="tqsqlrecord.html">TQSqlRecord</a> *primeInsert(); protected: <a href="ntqvariant.html">TQVariant</a> calculateField( const <a href="ntqstring.html">TQString</a> & name ); }; diff --git a/doc/html/sql-overview-table1-main-cpp.html b/doc/html/sql-overview-table1-main-cpp.html index f69f0ac53..ded5c0027 100644 --- a/doc/html/sql-overview-table1-main-cpp.html +++ b/doc/html/sql-overview-table1-main-cpp.html @@ -43,9 +43,9 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -53,10 +53,10 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - <a href="ntqdatatable.html">TQDataTable</a> *staffTable = new <a href="ntqdatatable.html">TQDataTable</a>( &staffCursor, TRUE ); + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + <a href="tqdatatable.html">TQDataTable</a> *staffTable = new <a href="tqdatatable.html">TQDataTable</a>( &staffCursor, TRUE ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( staffTable ); - staffTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); staffTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-table2-main-cpp.html b/doc/html/sql-overview-table2-main-cpp.html index cc6f8a1fa..0e9151e7b 100644 --- a/doc/html/sql-overview-table2-main-cpp.html +++ b/doc/html/sql-overview-table2-main-cpp.html @@ -43,9 +43,9 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -53,20 +53,20 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - <a href="ntqdatatable.html">TQDataTable</a> *staffTable = new <a href="ntqdatatable.html">TQDataTable</a>( &staffCursor ); + <a href="tqdatatable.html">TQDataTable</a> *staffTable = new <a href="tqdatatable.html">TQDataTable</a>( &staffCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( staffTable ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); <a href="ntqstringlist.html">TQStringList</a> order = TQStringList() << "surname" << "forename"; - staffTable-><a href="ntqdatatable.html#setSort">setSort</a>( order ); + staffTable-><a href="tqdatatable.html#setSort">setSort</a>( order ); - staffTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); staffTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-table3-main-cpp.html b/doc/html/sql-overview-table3-main-cpp.html index 7fe78b0e0..0938101ac 100644 --- a/doc/html/sql-overview-table3-main-cpp.html +++ b/doc/html/sql-overview-table3-main-cpp.html @@ -43,18 +43,18 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include "main.h" -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> <a name="f9"></a>StatusPicker::StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqcombobox.html">TQComboBox</a>( parent, name ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "status" ); - cur.<a href="ntqsqlcursor.html#select">select</a>( cur.<a href="ntqsqlcursor.html#index">index</a>( "name" ) ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "status" ); + cur.<a href="tqsqlcursor.html#select">select</a>( cur.<a href="tqsqlcursor.html#index">index</a>( "name" ) ); int i = 0; - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqcombobox.html#insertItem">insertItem</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "name" ).toString(), i ); - index2id[i] = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt(); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="ntqcombobox.html#insertItem">insertItem</a>( cur.<a href="tqsqlquery.html#value">value</a>( "name" ).toString(), i ); + index2id[i] = cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toInt(); i++; } } @@ -79,10 +79,10 @@ void <a name="f11"></a>StatusPicker::setStatusId( int statusid ) -TQWidget *CustomSqlEditorFactory::<a href="ntqsqleditorfactory.html#createEditor">createEditor</a>( - <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field ) +TQWidget *CustomSqlEditorFactory::<a href="tqsqleditorfactory.html#createEditor">createEditor</a>( + <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="tqsqlfield.html">TQSqlField</a> *field ) { - if ( field-><a href="ntqsqlfield.html#name">name</a>() == "statusid" ) { + if ( field-><a href="tqsqlfield.html#name">name</a>() == "statusid" ) { <a href="ntqwidget.html">TQWidget</a> *editor = new StatusPicker( parent ); return editor; } @@ -96,26 +96,26 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - <a href="ntqdatatable.html">TQDataTable</a> *staffTable = new <a href="ntqdatatable.html">TQDataTable</a>( &staffCursor ); - <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap = new <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>(); + <a href="tqdatatable.html">TQDataTable</a> *staffTable = new <a href="tqdatatable.html">TQDataTable</a>( &staffCursor ); + <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap = new <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>(); CustomSqlEditorFactory *editorFactory = new CustomSqlEditorFactory(); - propMap-><a href="ntqsqlpropertymap.html#insert">insert</a>( "StatusPicker", "statusid" ); - staffTable-><a href="ntqdatatable.html#installPropertyMap">installPropertyMap</a>( propMap ); - staffTable-><a href="ntqdatatable.html#installEditorFactory">installEditorFactory</a>( editorFactory ); + propMap-><a href="tqsqlpropertymap.html#insert">insert</a>( "StatusPicker", "statusid" ); + staffTable-><a href="tqdatatable.html#installPropertyMap">installPropertyMap</a>( propMap ); + staffTable-><a href="tqdatatable.html#installEditorFactory">installEditorFactory</a>( editorFactory ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( staffTable ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "statusid", "Status" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "statusid", "Status" ); <a href="ntqstringlist.html">TQStringList</a> order = TQStringList() << "surname" << "forename"; - staffTable-><a href="ntqdatatable.html#setSort">setSort</a>( order ); + staffTable-><a href="tqdatatable.html#setSort">setSort</a>( order ); - staffTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); staffTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-table3-main-h.html b/doc/html/sql-overview-table3-main-h.html index d77aad816..fcd75c362 100644 --- a/doc/html/sql-overview-table3-main-h.html +++ b/doc/html/sql-overview-table3-main-h.html @@ -45,10 +45,10 @@ body { background: #ffffff; color: black; } #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qmap-h.html">ntqmap.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qsqleditorfactory-h.html">ntqsqleditorfactory.h</a>> -#include <<a href="qsqlpropertymap-h.html">ntqsqlpropertymap.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqsqleditorfactory-h.html">tqsqleditorfactory.h</a>> +#include <<a href="tqsqlpropertymap-h.html">tqsqlpropertymap.h</a>> #include "../connection.h" class StatusPicker : public <a href="ntqcombobox.html">TQComboBox</a> @@ -64,11 +64,11 @@ class StatusPicker : public <a href="ntqcombobox.html">TQComboBox</a> }; -class CustomSqlEditorFactory : public <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> +class CustomSqlEditorFactory : public <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> { TQ_OBJECT public: - <a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field ); + <a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="tqsqlfield.html">TQSqlField</a> *field ); }; diff --git a/doc/html/sql-overview-table4-main-cpp.html b/doc/html/sql-overview-table4-main-cpp.html index 2ceb1bd84..4337617d8 100644 --- a/doc/html/sql-overview-table4-main-cpp.html +++ b/doc/html/sql-overview-table4-main-cpp.html @@ -48,13 +48,13 @@ body { background: #ffffff; color: black; } <a name="f12"></a>StatusPicker::StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqcombobox.html">TQComboBox</a>( parent, name ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "status" ); - cur.<a href="ntqsqlcursor.html#select">select</a>( cur.<a href="ntqsqlcursor.html#index">index</a>( "name" ) ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "status" ); + cur.<a href="tqsqlcursor.html#select">select</a>( cur.<a href="tqsqlcursor.html#index">index</a>( "name" ) ); int i = 0; - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqcombobox.html#insertItem">insertItem</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "name" ).toString(), i ); - index2id[i] = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt(); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="ntqcombobox.html#insertItem">insertItem</a>( cur.<a href="tqsqlquery.html#value">value</a>( "name" ).toString(), i ); + index2id[i] = cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toInt(); i++; } } @@ -78,30 +78,30 @@ void <a name="f14"></a>StatusPicker::setStatusId( int statusid ) } -void CustomTable::<a href="ntqdatatable.html#paintField">paintField</a>( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqsqlfield.html">TQSqlField</a>* field, +void CustomTable::<a href="tqdatatable.html#paintField">paintField</a>( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool b) { if ( !field ) return; - if ( field-><a href="ntqsqlfield.html#name">name</a>() == "statusid" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM status WHERE id=" + - field-><a href="ntqsqlfield.html#value">value</a>().toString() ); + if ( field-><a href="tqsqlfield.html#name">name</a>() == "statusid" ) { + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM status WHERE id=" + + field-><a href="tqsqlfield.html#value">value</a>().toString() ); <a href="ntqstring.html">TQString</a> text; - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - text = query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toString(); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) { + text = query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString(); } p-><a href="ntqpainter.html#drawText">drawText</a>( 2,2, cr.<a href="ntqrect.html#width">width</a>()-4, cr.<a href="ntqrect.html#height">height</a>()-4, fieldAlignment( field ), text ); } else { - TQDataTable::<a href="ntqdatatable.html#paintField">paintField</a>( p, field, cr, b) ; + TQDataTable::<a href="tqdatatable.html#paintField">paintField</a>( p, field, cr, b) ; } } -TQWidget *CustomSqlEditorFactory::<a href="ntqsqleditorfactory.html#createEditor">createEditor</a>( - <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field ) +TQWidget *CustomSqlEditorFactory::<a href="tqsqleditorfactory.html#createEditor">createEditor</a>( + <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="tqsqlfield.html">TQSqlField</a> *field ) { - if ( field-><a href="ntqsqlfield.html#name">name</a>() == "statusid" ) { + if ( field-><a href="tqsqlfield.html#name">name</a>() == "statusid" ) { <a href="ntqwidget.html">TQWidget</a> *editor = new StatusPicker( parent ); return editor; } @@ -115,26 +115,26 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); CustomTable *staffTable = new CustomTable( &staffCursor ); - <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap = new <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>(); + <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap = new <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>(); CustomSqlEditorFactory *editorFactory = new CustomSqlEditorFactory(); - propMap-><a href="ntqsqlpropertymap.html#insert">insert</a>( "StatusPicker", "statusid" ); - staffTable-><a href="ntqdatatable.html#installPropertyMap">installPropertyMap</a>( propMap ); - staffTable-><a href="ntqdatatable.html#installEditorFactory">installEditorFactory</a>( editorFactory ); + propMap-><a href="tqsqlpropertymap.html#insert">insert</a>( "StatusPicker", "statusid" ); + staffTable-><a href="tqdatatable.html#installPropertyMap">installPropertyMap</a>( propMap ); + staffTable-><a href="tqdatatable.html#installEditorFactory">installEditorFactory</a>( editorFactory ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( staffTable ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "statusid", "Status" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "statusid", "Status" ); <a href="ntqstringlist.html">TQStringList</a> order = TQStringList() << "surname" << "forename"; - staffTable-><a href="ntqdatatable.html#setSort">setSort</a>( order ); + staffTable-><a href="tqdatatable.html#setSort">setSort</a>( order ); - staffTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); staffTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/sql-overview-table4-main-h.html b/doc/html/sql-overview-table4-main-h.html index cc1825e70..407f40432 100644 --- a/doc/html/sql-overview-table4-main-h.html +++ b/doc/html/sql-overview-table4-main-h.html @@ -46,11 +46,11 @@ body { background: #ffffff; color: black; } #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qmap-h.html">ntqmap.h</a>> #include <<a href="qpainter-h.html">ntqpainter.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> -#include <<a href="qsqleditorfactory-h.html">ntqsqleditorfactory.h</a>> -#include <<a href="qsqlpropertymap-h.html">ntqsqlpropertymap.h</a>> -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> +#include <<a href="tqsqleditorfactory-h.html">tqsqleditorfactory.h</a>> +#include <<a href="tqsqlpropertymap-h.html">tqsqlpropertymap.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> #include "../connection.h" class StatusPicker : public <a href="ntqcombobox.html">TQComboBox</a> @@ -66,25 +66,25 @@ private: }; -class CustomTable : public <a href="ntqdatatable.html">TQDataTable</a> +class CustomTable : public <a href="tqdatatable.html">TQDataTable</a> { TQ_OBJECT public: CustomTable( - <a href="ntqsqlcursor.html">TQSqlCursor</a> *cursor, bool autoPopulate = FALSE, + <a href="tqsqlcursor.html">TQSqlCursor</a> *cursor, bool autoPopulate = FALSE, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) : - <a href="ntqdatatable.html">TQDataTable</a>( cursor, autoPopulate, parent, name ) {} + <a href="tqdatatable.html">TQDataTable</a>( cursor, autoPopulate, parent, name ) {} void paintField( - <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool ); + <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool ); }; -class CustomSqlEditorFactory : public <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> +class CustomSqlEditorFactory : public <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> { TQ_OBJECT public: - <a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field ); + <a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="tqsqlfield.html">TQSqlField</a> *field ); }; </pre><!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/sql-overview-update-main-cpp.html b/doc/html/sql-overview-update-main-cpp.html index c5bf67f0c..b213e4afc 100644 --- a/doc/html/sql-overview-update-main-cpp.html +++ b/doc/html/sql-overview-update-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,14 +52,14 @@ int main( int argc, char *argv[] ) <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); - cur.<a href="ntqsqlcursor.html#select">select</a>( "id=202" ); - if ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>(); - double price = buffer-><a href="ntqsqlrecord.html#value">value</a>( "price" ).toDouble(); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); + cur.<a href="tqsqlcursor.html#select">select</a>( "id=202" ); + if ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>(); + double price = buffer-><a href="tqsqlrecord.html#value">value</a>( "price" ).toDouble(); double newprice = price * 1.05; - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "price", newprice ); - cur.<a href="ntqsqlcursor.html#update">update</a>(); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "price", newprice ); + cur.<a href="tqsqlcursor.html#update">update</a>(); } } diff --git a/doc/html/sql.html b/doc/html/sql.html index 5fda741ff..e0b81f3d4 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -35,26 +35,26 @@ body { background: #ffffff; color: black; } <p> <p> <center><table cellpadding="4" cellspacing="2" border="0"> <tr bgcolor="#f0f0f0"> -<td valign="top"><a href="ntqsql.html">TQSql</a> -<td valign="top"><a href="ntqsqlcursor.html">TQSqlCursor</a> -<td valign="top"><a href="ntqsqldatabase.html">TQSqlDatabase</a> -<td valign="top"><a href="ntqsqldriver.html">TQSqlDriver</a> -<td valign="top"><a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a> +<td valign="top"><a href="tqsql.html">TQSql</a> +<td valign="top"><a href="tqsqlcursor.html">TQSqlCursor</a> +<td valign="top"><a href="tqsqldatabase.html">TQSqlDatabase</a> +<td valign="top"><a href="tqsqldriver.html">TQSqlDriver</a> +<td valign="top"><a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a> <tr bgcolor="#d0d0d0"> -<td valign="top"><a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> -<td valign="top"><a href="ntqsqlerror.html">TQSqlError</a> -<td valign="top"><a href="ntqsqlfield.html">TQSqlField</a> -<td valign="top"><a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> -<td valign="top"><a href="ntqsqlform.html">TQSqlForm</a> +<td valign="top"><a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> +<td valign="top"><a href="tqsqlerror.html">TQSqlError</a> +<td valign="top"><a href="tqsqlfield.html">TQSqlField</a> +<td valign="top"><a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> +<td valign="top"><a href="tqsqlform.html">TQSqlForm</a> <tr bgcolor="#f0f0f0"> -<td valign="top"><a href="ntqsqlindex.html">TQSqlIndex</a> -<td valign="top"><a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> -<td valign="top"><a href="ntqsqlquery.html">TQSqlQuery</a> -<td valign="top"><a href="ntqsqlrecord.html">TQSqlRecord</a> -<td valign="top"><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> +<td valign="top"><a href="tqsqlindex.html">TQSqlIndex</a> +<td valign="top"><a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> +<td valign="top"><a href="tqsqlquery.html">TQSqlQuery</a> +<td valign="top"><a href="tqsqlrecord.html">TQSqlRecord</a> +<td valign="top"><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> <tr bgcolor="#d0d0d0"> -<td valign="top"><a href="ntqsqlresult.html">TQSqlResult</a> -<td valign="top"><a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a> +<td valign="top"><a href="tqsqlresult.html">TQSqlResult</a> +<td valign="top"><a href="tqsqlselectcursor.html">TQSqlSelectCursor</a> <td valign="top" colspan="3" rowspan="1"> See also: <a href="sql-driver.html">Supported Drivers</a> </table></center> <p> <!-- toc --> @@ -144,7 +144,7 @@ your TQt applications. <p> <blockquote> This overview assumes that you have at least a basic knowledge of SQL. You should be able to understand simple <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt> -and <tt>DELETE</tt> commands. Although the <a href="ntqsqlcursor.html">TQSqlCursor</a> class provides an +and <tt>DELETE</tt> commands. Although the <a href="tqsqlcursor.html">TQSqlCursor</a> class provides an interface to database browsing and editing that does not <em>require</em> a knowledge of SQL, a basic understanding of SQL is highly recommended. A standard text covering SQL databases is <em>An Introduction to Database Systems (7th ed.)</em> by C. J. Date, ISBN 0201385902. @@ -159,22 +159,22 @@ handle foreign key lookups. <p> <a href="#Architecture">SQL Module Architecture</a>. This describes how the classes fit together. <p> <a href="#Connecting_to_Databases">Connecting to Databases</a>. -This section explains how to set up database connections using the <a href="ntqsqldatabase.html">TQSqlDatabase</a> class. +This section explains how to set up database connections using the <a href="tqsqldatabase.html">TQSqlDatabase</a> class. <p> <a href="#Executing_SQL_commands">Executing SQL Commands</a>. This section demonstrates how to issue the standard data manipulation commands, <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt> and <tt>DELETE</tt> on tables in the database (although any valid SQL statement can be sent to the -database). The focus is purely on database interaction using <a href="ntqsqlquery.html">TQSqlQuery</a>. +database). The focus is purely on database interaction using <a href="tqsqlquery.html">TQSqlQuery</a>. <p> <a href="#Using_QSqlCursor">Using Cursors</a>. This section explains -how to use the <a href="ntqsqlcursor.html">TQSqlCursor</a> class which provides a simpler API than the -raw SQL used with <a href="ntqsqlquery.html">TQSqlQuery</a>. +how to use the <a href="tqsqlcursor.html">TQSqlCursor</a> class which provides a simpler API than the +raw SQL used with <a href="tqsqlquery.html">TQSqlQuery</a>. <p> <a href="#Data-Aware_Widgets">Data-Aware Widgets</a>. This section shows how to programmatically link your database to the user interface. In -this section we introduce the <a href="ntqdatatable.html">TQDataTable</a>, <a href="ntqsqlform.html">TQSqlForm</a>, <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> and <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> classes and demonstrate how to +this section we introduce the <a href="tqdatatable.html">TQDataTable</a>, <a href="tqsqlform.html">TQSqlForm</a>, <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> and <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> classes and demonstrate how to use custom data-aware widgets. <a href="designer-manual.html">TQt Designer</a> provides an easy visual way of achieving the same thing. See the <a href="designer-manual.html">TQt Designer</a> manual, -<a href="ntqdatabrowser.html">TQDataBrowser</a> and <a href="ntqdataview.html">TQDataView</a> for more information. +<a href="tqdatabrowser.html">TQDataBrowser</a> and <a href="tqdataview.html">TQDataView</a> for more information. <p> <a href="#Subclassing_QSqlCursor">Subclassing TQSqlCursor</a>. This section gives examples of subclassing TQSqlCursor. Subclassing can be used to provide default and calculated values for fields (such as @@ -188,20 +188,20 @@ e.g. showing names rather than ids of foreign keys. <a name="2"></a><p> The SQL classes are divided into three layers: <p> <em>User Interface Layer.</em> These classes provide data-aware widgets that can be connected to tables or views in the database (by using a -<a href="ntqsqlcursor.html">TQSqlCursor</a> as a data source). End users can interact directly with +<a href="tqsqlcursor.html">TQSqlCursor</a> as a data source). End users can interact directly with these widgets to browse or edit data. <a href="designer-manual.html">TQt Designer</a> is fully integrated with the SQL classes and can be used to create data-aware forms. The data-aware widgets can also be programmed directly with your own C++ code. The classes that support -this layer include <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>, <a href="ntqsqlform.html">TQSqlForm</a>, <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>, <a href="ntqdatatable.html">TQDataTable</a>, <a href="ntqdatabrowser.html">TQDataBrowser</a> and <a href="ntqdataview.html">TQDataView</a>. +this layer include <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a>, <a href="tqsqlform.html">TQSqlForm</a>, <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>, <a href="tqdatatable.html">TQDataTable</a>, <a href="tqdatabrowser.html">TQDataBrowser</a> and <a href="tqdataview.html">TQDataView</a>. <p> <em>SQL API Layer.</em> These classes provide access to databases. -Connections are made using the <a href="ntqsqldatabase.html">TQSqlDatabase</a> class. Database -interaction is achieved either by using the <a href="ntqsqlquery.html">TQSqlQuery</a> class and -executing SQL commands directly or by using the higher level <a href="ntqsqlcursor.html">TQSqlCursor</a> class which composes SQL commands automatically. In -addition to <a href="ntqsqldatabase.html">TQSqlDatabase</a>, <a href="ntqsqlcursor.html">TQSqlCursor</a> and <a href="ntqsqlquery.html">TQSqlQuery</a>, the SQL -API layer is supported by <a href="ntqsqlerror.html">TQSqlError</a>, <a href="ntqsqlfield.html">TQSqlField</a>, <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a>, -<a href="ntqsqlindex.html">TQSqlIndex</a>, <a href="ntqsqlrecord.html">TQSqlRecord</a> and <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a>. -<p> <em>Driver Layer.</em> This comprises three classes, <a href="ntqsqlresult.html">TQSqlResult</a>, <a href="ntqsqldriver.html">TQSqlDriver</a> and TQSqlDriverFactoryInterface. This layer provides the +Connections are made using the <a href="tqsqldatabase.html">TQSqlDatabase</a> class. Database +interaction is achieved either by using the <a href="tqsqlquery.html">TQSqlQuery</a> class and +executing SQL commands directly or by using the higher level <a href="tqsqlcursor.html">TQSqlCursor</a> class which composes SQL commands automatically. In +addition to <a href="tqsqldatabase.html">TQSqlDatabase</a>, <a href="tqsqlcursor.html">TQSqlCursor</a> and <a href="tqsqlquery.html">TQSqlQuery</a>, the SQL +API layer is supported by <a href="tqsqlerror.html">TQSqlError</a>, <a href="tqsqlfield.html">TQSqlField</a>, <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a>, +<a href="tqsqlindex.html">TQSqlIndex</a>, <a href="tqsqlrecord.html">TQSqlRecord</a> and <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a>. +<p> <em>Driver Layer.</em> This comprises three classes, <a href="tqsqlresult.html">TQSqlResult</a>, <a href="tqsqldriver.html">TQSqlDriver</a> and TQSqlDriverFactoryInterface. This layer provides the low level bridge between the database and the SQL classes. This layer is <a href="sql-driver.html">documented separately</a> since it is only relevant to driver writers, and is rarely used in standard @@ -214,17 +214,17 @@ the <a href="plugins-howto.html">Plugins</a>. <p> The <a href="sql-driver.html">SQL driver documentation</a> describes how to build plugins for specific database management systems. <p> Once a plugin is built, TQt will automatically load it, and the driver -will be available for use by <a href="ntqsqldatabase.html">TQSqlDatabase</a> (see <a href="ntqsqldatabase.html#drivers">TQSqlDatabase::drivers</a>() +will be available for use by <a href="tqsqldatabase.html">TQSqlDatabase</a> (see <a href="tqsqldatabase.html#drivers">TQSqlDatabase::drivers</a>() for more information). <p> <a name="Connecting_to_Databases"></a> <h2> Connecting to Databases </h2> <a name="4"></a><p> At least one database connection must be created and opened before the -<a href="ntqsqlquery.html">TQSqlQuery</a> or <a href="ntqsqlcursor.html">TQSqlCursor</a> classes can be used. -<p> If the application only needs a single database connection, the <a href="ntqsqldatabase.html">TQSqlDatabase</a> class can create a connection which is used by default +<a href="tqsqlquery.html">TQSqlQuery</a> or <a href="tqsqlcursor.html">TQSqlCursor</a> classes can be used. +<p> If the application only needs a single database connection, the <a href="tqsqldatabase.html">TQSqlDatabase</a> class can create a connection which is used by default for all SQL operations. If multiple database connections are required these can easily be set up. -<p> <a href="ntqsqldatabase.html">TQSqlDatabase</a> requires the <a href="qsqldatabase-h.html">ntqsqldatabase.h</a> header file. +<p> <a href="tqsqldatabase.html">TQSqlDatabase</a> requires the <a href="tqsqldatabase-h.html">tqsqldatabase.h</a> header file. <p> <a name="Connecting_to_a_Single_Database"></a> <h2> Connecting to a Single Database </h2> @@ -234,20 +234,20 @@ connection. <p> <pre> #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) { <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); - <a name="x2141"></a> <a href="ntqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER ); - <a name="x2143"></a> defaultDB-><a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); - <a name="x2146"></a> defaultDB-><a href="ntqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); - <a name="x2145"></a> defaultDB-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); - <a name="x2144"></a> defaultDB-><a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); + <a name="x2141"></a> <a href="tqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="tqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER ); + <a name="x2143"></a> defaultDB-><a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); + <a name="x2146"></a> defaultDB-><a href="tqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); + <a name="x2145"></a> defaultDB-><a href="tqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); + <a name="x2144"></a> defaultDB-><a href="tqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); - <a name="x2142"></a> if ( defaultDB-><a href="ntqsqldatabase.html#open">open</a>() ) { + <a name="x2142"></a> if ( defaultDB-><a href="tqsqldatabase.html#open">open</a>() ) { // Database successfully opened; we can now issue SQL commands. } @@ -255,7 +255,7 @@ connection. } </pre><blockquote><p align="center"><em> From <a href="sql-overview-connect1-main-cpp.html">sql/overview/connect1/main.cpp</a> </em></p> -</blockquote><p> First we activate the driver by calling <a href="ntqsqldatabase.html#addDatabase">TQSqlDatabase::addDatabase</a>(), +</blockquote><p> First we activate the driver by calling <a href="tqsqldatabase.html#addDatabase">TQSqlDatabase::addDatabase</a>(), passing the name of the driver we wish to use for this connection. At the time of writing the available drivers are: <a href="sql-driver.html#TQODBC3">TQODBC3</a> (Open Database Connectivity, includes Microsoft SQL Server support), <a href="sql-driver.html#TQOCI8">TQOCI8</a> (Oracle 8 and 9), @@ -273,12 +273,12 @@ to setDatbaseName(). When connecting to ODBC data sources the Data Source Name (DSN) should be used in the setDatabaseName() call. <p> Third we call open() to open the database and give us access to the data. If this call fails it will return FALSE; error information can -be obtained from <a href="ntqsqldatabase.html#lastError">TQSqlDatabase::lastError</a>(). +be obtained from <a href="tqsqldatabase.html#lastError">TQSqlDatabase::lastError</a>(). <p> <a name="Connecting_to_Multiple_Databases"></a> <h3> Connecting to Multiple Databases </h3> <a name="5-1"></a><p> Connecting to multiple databases is achieved using the two argument form -of <a href="ntqsqldatabase.html#addDatabase">TQSqlDatabase::addDatabase</a>() where the second argument is a unique +of <a href="tqsqldatabase.html#addDatabase">TQSqlDatabase::addDatabase</a>() where the second argument is a unique identifier distinguishing the connection. <p> In the example below we have moved the connections into their own function, <tt>createConnections()</tt>, and added some basic error handling. @@ -302,45 +302,45 @@ bool createConnections(); function in <tt>connection.h</tt>. <p> -<pre> #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> +<pre> #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> #include "connection.h" bool createConnections() { - <a name="x2147"></a> <a href="ntqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER ); - <a name="x2150"></a> defaultDB-><a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); - <a name="x2153"></a> defaultDB-><a href="ntqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); - <a name="x2152"></a> defaultDB-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); - <a name="x2151"></a> defaultDB-><a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); - <a name="x2149"></a> if ( ! defaultDB-><a href="ntqsqldatabase.html#open">open</a>() ) { - <a name="x2148"></a> <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open sales database: " + defaultDB-><a href="ntqsqldatabase.html#lastError">lastError</a>().text() ); + <a name="x2147"></a> <a href="tqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="tqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER ); + <a name="x2150"></a> defaultDB-><a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); + <a name="x2153"></a> defaultDB-><a href="tqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); + <a name="x2152"></a> defaultDB-><a href="tqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); + <a name="x2151"></a> defaultDB-><a href="tqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); + <a name="x2149"></a> if ( ! defaultDB-><a href="tqsqldatabase.html#open">open</a>() ) { + <a name="x2148"></a> <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open sales database: " + defaultDB-><a href="tqsqldatabase.html#lastError">lastError</a>().text() ); return FALSE; } - <a href="ntqsqldatabase.html">TQSqlDatabase</a> *oracle = TQSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( DB_ORDERS_DRIVER, "ORACLE" ); - oracle-><a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_ORDERS_DBNAME ); - oracle-><a href="ntqsqldatabase.html#setUserName">setUserName</a>( DB_ORDERS_USER ); - oracle-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_ORDERS_PASSWD ); - oracle-><a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_ORDERS_HOST ); - if ( ! oracle-><a href="ntqsqldatabase.html#open">open</a>() ) { - <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open orders database: " + oracle-><a href="ntqsqldatabase.html#lastError">lastError</a>().text() ); + <a href="tqsqldatabase.html">TQSqlDatabase</a> *oracle = TQSqlDatabase::<a href="tqsqldatabase.html#addDatabase">addDatabase</a>( DB_ORDERS_DRIVER, "ORACLE" ); + oracle-><a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_ORDERS_DBNAME ); + oracle-><a href="tqsqldatabase.html#setUserName">setUserName</a>( DB_ORDERS_USER ); + oracle-><a href="tqsqldatabase.html#setPassword">setPassword</a>( DB_ORDERS_PASSWD ); + oracle-><a href="tqsqldatabase.html#setHostName">setHostName</a>( DB_ORDERS_HOST ); + if ( ! oracle-><a href="tqsqldatabase.html#open">open</a>() ) { + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open orders database: " + oracle-><a href="tqsqldatabase.html#lastError">lastError</a>().text() ); return FALSE; } - <a href="ntqsqlquery.html">TQSqlQuery</a> q(TQString::null, defaultDB); - <a name="x2154"></a> q.<a href="ntqsqlquery.html#exec">exec</a>("create table people (id integer primary key, name char(40))"); - q.<a href="ntqsqlquery.html#exec">exec</a>("create table staff (id integer primary key, forename char(40), " + <a href="tqsqlquery.html">TQSqlQuery</a> q(TQString::null, defaultDB); + <a name="x2154"></a> q.<a href="tqsqlquery.html#exec">exec</a>("create table people (id integer primary key, name char(40))"); + q.<a href="tqsqlquery.html#exec">exec</a>("create table staff (id integer primary key, forename char(40), " "surname char(40), salary float, statusid integer)"); - q.<a href="ntqsqlquery.html#exec">exec</a>("create table status (id integer primary key, name char(30))"); - q.<a href="ntqsqlquery.html#exec">exec</a>("create table creditors (id integer primary key, forename char(40), " + q.<a href="tqsqlquery.html#exec">exec</a>("create table status (id integer primary key, name char(30))"); + q.<a href="tqsqlquery.html#exec">exec</a>("create table creditors (id integer primary key, forename char(40), " "surname char(40), city char(30))"); - q.<a href="ntqsqlquery.html#exec">exec</a>("create table prices (id integer primary key, name char(40), price float)"); - q.<a href="ntqsqlquery.html#exec">exec</a>("create table invoiceitem (id integer primary key, " + q.<a href="tqsqlquery.html#exec">exec</a>("create table prices (id integer primary key, name char(40), price float)"); + q.<a href="tqsqlquery.html#exec">exec</a>("create table invoiceitem (id integer primary key, " "pricesid integer, quantity integer, paiddate date)"); - <a href="ntqsqlquery.html">TQSqlQuery</a> q2(TQString::null, oracle); - q2.<a href="ntqsqlquery.html#exec">exec</a>("create table people (id integer primary key, name char(40))"); + <a href="tqsqlquery.html">TQSqlQuery</a> q2(TQString::null, oracle); + q2.<a href="tqsqlquery.html#exec">exec</a>("create table people (id integer primary key, name char(40))"); return TRUE; } @@ -351,7 +351,7 @@ function in <tt>connection.h</tt>. <pre> #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -360,7 +360,7 @@ function in <tt>connection.h</tt>. if ( createConnections() ) { // Databases successfully opened; get pointers to them: - <a name="x2155"></a> <a href="ntqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="ntqsqldatabase.html#database">database</a>( "ORACLE" ); + <a name="x2155"></a> <a href="tqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="tqsqldatabase.html#database">database</a>( "ORACLE" ); // Now we can now issue SQL commands to the oracle connection // or to the default connection } @@ -369,7 +369,7 @@ function in <tt>connection.h</tt>. } </pre><blockquote><p align="center"><em> From <a href="sql-overview-create_connections-main-cpp.html">sql/overview/create_connections/main.cpp</a> </em></p> -</blockquote><p> The static function <a href="ntqsqldatabase.html#database">TQSqlDatabase::database</a>() can be called from +</blockquote><p> The static function <a href="tqsqldatabase.html#database">TQSqlDatabase::database</a>() can be called from anywhere to provide a pointer to a database connection. If we call it without a parameter it will return the default connection. If called with the identifier we've used for a connection, e.g. "ORACLE", in the @@ -381,40 +381,40 @@ preview correctly in <a href="designer-manual.html">TQt Designer</a> will not run unless you implement your own database connections function. <p> Note that in the code above the ODBC connection was not named and is -therefore used as the default connection. <a href="ntqsqldatabase.html">TQSqlDatabase</a> maintains +therefore used as the default connection. <a href="tqsqldatabase.html">TQSqlDatabase</a> maintains ownership of the pointers returned by the addDatabase() static function. To remove a database from the list of maintained -connections, first close the database with <a href="ntqsqldatabase.html#close">TQSqlDatabase::close</a>(), and +connections, first close the database with <a href="tqsqldatabase.html#close">TQSqlDatabase::close</a>(), and then remove it using the static function -<a href="ntqsqldatabase.html#removeDatabase">TQSqlDatabase::removeDatabase</a>(). +<a href="tqsqldatabase.html#removeDatabase">TQSqlDatabase::removeDatabase</a>(). <p> <a name="Executing_SQL_commands"></a> -<h2> Executing SQL Commands Using <a href="ntqsqlquery.html">TQSqlQuery</a> +<h2> Executing SQL Commands Using <a href="tqsqlquery.html">TQSqlQuery</a> </h2> -<a name="6"></a><p> The <a href="ntqsqlquery.html">TQSqlQuery</a> class provides an interface for executing SQL commands. +<a name="6"></a><p> The <a href="tqsqlquery.html">TQSqlQuery</a> class provides an interface for executing SQL commands. It also has functions for navigating through the result sets of <tt>SELECT</tt> queries and for retrieving individual records and field values. -<p> The <a href="ntqsqlcursor.html">TQSqlCursor</a> class described in the next section inherits from <a href="ntqsqlquery.html">TQSqlQuery</a> and provides a higher level interface that composes SQL -commands for us. <a href="ntqsqlcursor.html">TQSqlCursor</a> is particularly easy to integrate with +<p> The <a href="tqsqlcursor.html">TQSqlCursor</a> class described in the next section inherits from <a href="tqsqlquery.html">TQSqlQuery</a> and provides a higher level interface that composes SQL +commands for us. <a href="tqsqlcursor.html">TQSqlCursor</a> is particularly easy to integrate with on-screen widgets. Programmers unfamiliar with SQL can safely skip this -section and use the <a href="ntqsqlcursor.html">TQSqlCursor</a> class covered in +section and use the <a href="tqsqlcursor.html">TQSqlCursor</a> class covered in <a href="#Using_QSqlCursor">"Using TQSqlCursor"</a>. <p> <a name="Transactions"></a> <h3> Transactions </h3> <a name="6-1"></a><p> If the underlying database engine supports transactions -<a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>( TQSqlDriver::Transactions ) will return TRUE. -You can use <a href="ntqsqldatabase.html#transaction">TQSqlDatabase::transaction</a>() to initiate a transaction, +<a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>( TQSqlDriver::Transactions ) will return TRUE. +You can use <a href="tqsqldatabase.html#transaction">TQSqlDatabase::transaction</a>() to initiate a transaction, followed by the SQL commands you want to execute within the context of -the transaction, and then either <a href="ntqsqldatabase.html#commit">TQSqlDatabase::commit</a>() or -<a href="ntqsqldatabase.html#rollback">TQSqlDatabase::rollback</a>(). +the transaction, and then either <a href="tqsqldatabase.html#commit">TQSqlDatabase::commit</a>() or +<a href="tqsqldatabase.html#rollback">TQSqlDatabase::rollback</a>(). <p> <a name="Basic_Browsing"></a> <h3> Basic Browsing </h3> <a name="6-2"></a><p> <pre> #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> - #include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> + #include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -422,16 +422,16 @@ the transaction, and then either <a href="ntqsqldatabase.html#commit">TQSqlDatab <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE ); if ( createConnections() ) { - <a name="x2156"></a> <a href="ntqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="ntqsqldatabase.html#database">database</a>( "ORACLE" ); + <a name="x2156"></a> <a href="tqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="tqsqldatabase.html#database">database</a>( "ORACLE" ); // Copy data from the oracle database to the ODBC (default) // database - <a href="ntqsqlquery.html">TQSqlQuery</a> target; - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb ); - <a name="x2158"></a> if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { - <a name="x2159"></a> while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2157"></a> target.<a href="ntqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + - <a name="x2160"></a> query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + - ", '" + query.<a href="ntqsqlquery.html#value">value</a>(1).toString() + "' )" ); + <a href="tqsqlquery.html">TQSqlQuery</a> target; + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb ); + <a name="x2158"></a> if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) { + <a name="x2159"></a> while ( query.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2157"></a> target.<a href="tqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + + <a name="x2160"></a> query.<a href="tqsqlquery.html#value">value</a>(0).toString() + + ", '" + query.<a href="tqsqlquery.html#value">value</a>(1).toString() + "' )" ); } } } @@ -441,7 +441,7 @@ the transaction, and then either <a href="ntqsqldatabase.html#commit">TQSqlDatab </pre><blockquote><p align="center"><em> From <a href="sql-overview-basicbrowsing-main-cpp.html">sql/overview/basicbrowsing/main.cpp</a> </em></p> </blockquote><p> In the example above we've added an additional header file, -<a href="qsqlquery-h.html">ntqsqlquery.h</a>. The first query we create, <tt>target</tt>, uses the default +<a href="tqsqlquery-h.html">tqsqlquery.h</a>. The first query we create, <tt>target</tt>, uses the default database and is initially empty. For the second query, <tt>q</tt>, we specify the "ORACLE" database that we want to retrieve records from. Both the database connections were set up in the createConnections() function we @@ -451,20 +451,20 @@ to see if the query executed successfully. The next() function is used to iterate through the query results. The value() function returns the contents of fields as TQVariants. The insertions are achieved by creating and executing queries against the default -database using the <tt>target</tt> <a href="ntqsqlquery.html">TQSqlQuery</a>. +database using the <tt>target</tt> <a href="tqsqlquery.html">TQSqlQuery</a>. <p> Note that this example and all the other examples in this document use the tables defined in the <a href="#Example_Tables">Example Tables</a> section. <p> <pre> int count = 0; - <a name="x2162"></a> if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { - <a name="x2163"></a> while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2161"></a> target.<a href="ntqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + - <a name="x2165"></a> query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + - ", '" + query.<a href="ntqsqlquery.html#value">value</a>(1).toString() + "' )" ); - if ( target.<a href="ntqsqlquery.html#isActive">isActive</a>() ) - <a name="x2164"></a> count += target.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>(); + <a name="x2162"></a> if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) { + <a name="x2163"></a> while ( query.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2161"></a> target.<a href="tqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " + + <a name="x2165"></a> query.<a href="tqsqlquery.html#value">value</a>(0).toString() + + ", '" + query.<a href="tqsqlquery.html#value">value</a>(1).toString() + "' )" ); + if ( target.<a href="tqsqlquery.html#isActive">isActive</a>() ) + <a name="x2164"></a> count += target.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>(); } } </pre><blockquote><p align="center"><em> From <a href="sql-overview-basicbrowsing2-main-cpp.html">sql/overview/basicbrowsing2/main.cpp</a> @@ -488,8 +488,8 @@ cannot be determined, e.g. if the query fails. *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> - #include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> + #include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>> #include "../connection.h" bool createConnections(); @@ -501,15 +501,15 @@ cannot be determined, e.g. if the query fails. int rows = 0; if ( createConnections() ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "INSERT INTO staff ( id, forename, surname, salary ) " + <a href="tqsqlquery.html">TQSqlQuery</a> query( "INSERT INTO staff ( id, forename, surname, salary ) " "VALUES ( 1155, 'Ginger', 'Davis', 50000 )" ); - <a name="x2168"></a><a name="x2167"></a> if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; + <a name="x2168"></a><a name="x2167"></a> if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; - <a name="x2166"></a> query.<a href="ntqsqlquery.html#exec">exec</a>( "UPDATE staff SET salary=60000 WHERE id=1155" ); - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; + <a name="x2166"></a> query.<a href="tqsqlquery.html#exec">exec</a>( "UPDATE staff SET salary=60000 WHERE id=1155" ); + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; - query.<a href="ntqsqlquery.html#exec">exec</a>( "DELETE FROM staff WHERE id=1155" ); - if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="ntqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; + query.<a href="tqsqlquery.html#exec">exec</a>( "DELETE FROM staff WHERE id=1155" ); + if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) rows += query.<a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() ; } return ( rows == 3 ) ? 0 : 1; @@ -517,7 +517,7 @@ cannot be determined, e.g. if the query fails. </pre><blockquote><p align="center"><em> From <a href="sql-overview-basicdatamanip-main-cpp.html">sql/overview/basicdatamanip/main.cpp</a> </em></p> </blockquote><p> This example demonstrates straightforward SQL DML (data manipulation -language) commands. Since we did not specify a database in the <a href="ntqsqlquery.html">TQSqlQuery</a> constructor the default database is used. <a href="ntqsqlquery.html">TQSqlQuery</a> objects +language) commands. Since we did not specify a database in the <a href="tqsqlquery.html">TQSqlQuery</a> constructor the default database is used. <a href="tqsqlquery.html">TQSqlQuery</a> objects can also be used to execute SQL DDL (data definition language) commands such as <tt>CREATE TABLE</tt> and <tt>CREATE INDEX</tt>. <p> <a name="Navigating_Result_Sets"></a> @@ -526,7 +526,7 @@ such as <tt>CREATE TABLE</tt> and <tt>CREATE INDEX</tt>. <a name="6-4"></a><p> Once a <tt>SELECT</tt> query has been executed successfully we have access to the result set of records that matched the query criteria. We have already used one of the navigation functions, next(), which can be -used alone to step sequentially through the records. <a href="ntqsqlquery.html">TQSqlQuery</a> also +used alone to step sequentially through the records. <a href="tqsqlquery.html">TQSqlQuery</a> also provides first(), last() and prev(). After any of these commands we can check that we are on a valid record by calling isValid(). <p> We can also navigate to any arbitrary record using seek(). The @@ -536,16 +536,16 @@ size() - 1. Note that not all databases provide the size of a <p> <pre> if ( createConnections() ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people ORDER BY name" ); - <a name="x2171"></a> if ( ! query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) return 1; // Query failed + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people ORDER BY name" ); + <a name="x2171"></a> if ( ! query.<a href="tqsqlquery.html#isActive">isActive</a>() ) return 1; // Query failed int i; - <a name="x2174"></a> i = query.<a href="ntqsqlquery.html#size">size</a>(); // In this example we have 9 records; i == 9. - <a name="x2170"></a> query.<a href="ntqsqlquery.html#first">first</a>(); // Moves to the first record. - <a name="x2169"></a> i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 0 - <a name="x2172"></a> query.<a href="ntqsqlquery.html#last">last</a>(); // Moves to the last record. - i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 8 - <a name="x2173"></a> query.<a href="ntqsqlquery.html#seek">seek</a>( query.<a href="ntqsqlquery.html#size">size</a>() / 2 ); // Moves to the middle record. - i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 4 + <a name="x2174"></a> i = query.<a href="tqsqlquery.html#size">size</a>(); // In this example we have 9 records; i == 9. + <a name="x2170"></a> query.<a href="tqsqlquery.html#first">first</a>(); // Moves to the first record. + <a name="x2169"></a> i = query.<a href="tqsqlquery.html#at">at</a>(); // i == 0 + <a name="x2172"></a> query.<a href="tqsqlquery.html#last">last</a>(); // Moves to the last record. + i = query.<a href="tqsqlquery.html#at">at</a>(); // i == 8 + <a name="x2173"></a> query.<a href="tqsqlquery.html#seek">seek</a>( query.<a href="tqsqlquery.html#size">size</a>() / 2 ); // Moves to the middle record. + i = query.<a href="tqsqlquery.html#at">at</a>(); // i == 4 } </pre><blockquote><p align="center"><em> From <a href="sql-overview-navigating-main-cpp.html">sql/overview/navigating/main.cpp</a> </em></p> @@ -553,8 +553,8 @@ size() - 1. Note that not all databases provide the size of a <p> Not all drivers support size(), but we can interrogate the driver to find out: <p> <pre> - <a href="ntqsqldatabase.html">TQSqlDatabase</a>* defaultDB = TQSqlDatabase::<a href="ntqsqldatabase.html#database">database</a>(); - if ( defaultDB-><a href="ntqsqldatabase.html#driver">driver</a>()->hasFeature( TQSqlDriver::QuerySize ) ) { + <a href="tqsqldatabase.html">TQSqlDatabase</a>* defaultDB = TQSqlDatabase::<a href="tqsqldatabase.html#database">database</a>(); + if ( defaultDB-><a href="tqsqldatabase.html#driver">driver</a>()->hasFeature( TQSqlDriver::QuerySize ) ) { // TQSqlQuery::size() supported } else { @@ -567,11 +567,11 @@ retrieve data from it. <p> <pre> if ( createConnections() ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); - <a name="x2175"></a> if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { - <a name="x2176"></a> while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">tqDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " + - <a name="x2177"></a> query.<a href="ntqsqlquery.html#value">value</a>(1).toString() ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); + <a name="x2175"></a> if ( query.<a href="tqsqlquery.html#isActive">isActive</a>() ) { + <a name="x2176"></a> while ( query.<a href="tqsqlquery.html#next">next</a>() ) { + <a href="ntqapplication.html#qDebug">tqDebug</a>( query.<a href="tqsqlquery.html#value">value</a>(0).toString() + ": " + + <a name="x2177"></a> query.<a href="tqsqlquery.html#value">value</a>(1).toString() ); } } } @@ -583,27 +583,27 @@ only navigation function you need is next(). executed. This can be useful to check that the query you think is being executed is the one actually being executed. <p> <a name="Using_QSqlCursor"></a> -<h2> Using <a href="ntqsqlcursor.html">TQSqlCursor</a> +<h2> Using <a href="tqsqlcursor.html">TQSqlCursor</a> </h2> -<a name="7"></a><p> The <a href="ntqsqlcursor.html">TQSqlCursor</a> class provides a high level interface to browsing and +<a name="7"></a><p> The <a href="tqsqlcursor.html">TQSqlCursor</a> class provides a high level interface to browsing and editing records in SQL database tables or views without the need to write your own SQL. -<p> TQSqlCursor can do almost everything that <a href="ntqsqlquery.html">TQSqlQuery</a> can, with two +<p> TQSqlCursor can do almost everything that <a href="tqsqlquery.html">TQSqlQuery</a> can, with two exceptions. Since cursors represent tables or views within the -database, by default, <a href="ntqsqlcursor.html">TQSqlCursor</a> objects retrieve all the fields of +database, by default, <a href="tqsqlcursor.html">TQSqlCursor</a> objects retrieve all the fields of each record in the table or view whenever navigating to a new record. If only some fields are relevant simply confine your processing to those and ignore the others. Or, manually disable the -generation of certain fields using <a href="ntqsqlrecord.html#setGenerated">TQSqlRecord::setGenerated</a>(). Another +generation of certain fields using <a href="tqsqlrecord.html#setGenerated">TQSqlRecord::setGenerated</a>(). Another approach is to create a <tt>VIEW</tt> which only presents the fields you're interested in; but note that some databases do not support editable views. So if you really don't want to retrieve all the fields in the -cursor, then you should use a <a href="ntqsqlquery.html">TQSqlQuery</a> instead, and customize the -query to suit your needs. You can edit records using a <a href="ntqsqlcursor.html">TQSqlCursor</a> +cursor, then you should use a <a href="tqsqlquery.html">TQSqlQuery</a> instead, and customize the +query to suit your needs. You can edit records using a <a href="tqsqlcursor.html">TQSqlCursor</a> providing that the table or view has a primary index that uniquely distinguishes each record. If this condition is not met then you'll -need to use a <a href="ntqsqlquery.html">TQSqlQuery</a> for edits. -<p> <a href="ntqsqlcursor.html">TQSqlCursor</a> operates on a single record at a time. Whenever performing +need to use a <a href="tqsqlquery.html">TQSqlQuery</a> for edits. +<p> <a href="tqsqlcursor.html">TQSqlCursor</a> operates on a single record at a time. Whenever performing an insert, update or delete using TQSqlCursor, only a single record in the database is affected. When navigating through records in the cursor, only one record at a time is available in application code. @@ -612,7 +612,7 @@ used to make changes to a single record in the database. The edit buffer is maintained in a separate memory area, and is unnaffected by the 'navigation buffer' which changes as the cursor moves from record to record. -<p> Before we can use <a href="ntqsqlcursor.html">TQSqlCursor</a> objects we must first create and open +<p> Before we can use <a href="tqsqlcursor.html">TQSqlCursor</a> objects we must first create and open a database connection. Connecting is described in the <a href="#Connecting_to_Databases">Connecting to Databases</a> section above. For the examples that follow we will assume that the connections have been created using the createConnections() function @@ -622,15 +622,15 @@ presented earlier. follows this one we show how to link widgets to database cursors. Once we have a knowledge of both cursors and data-aware widgets we can discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>. -<p> The <a href="ntqsqlcursor.html">TQSqlCursor</a> class requires the <a href="qsqlcursor-h.html">ntqsqlcursor.h</a> header file. +<p> The <a href="tqsqlcursor.html">TQSqlCursor</a> class requires the <a href="tqsqlcursor-h.html">tqsqlcursor.h</a> header file. <p> <a name="Retrieving_Records"></a> <h3> Retrieving Records </h3> <a name="7-1"></a><p> <pre> #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> - #include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> + #include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -638,12 +638,12 @@ discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>. <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name - <a name="x2178"></a> cur.<a href="ntqsqlcursor.html#select">select</a>(); // We'll retrieve every record - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2179"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + - cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + - cur.<a href="ntqsqlquery.html#value">value</a>( "salary" ).toString() ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name + <a name="x2178"></a> cur.<a href="tqsqlcursor.html#select">select</a>(); // We'll retrieve every record + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2179"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString() + " " + + cur.<a href="tqsqlquery.html#value">value</a>( "salary" ).toString() ); } } @@ -651,9 +651,9 @@ discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>. } </pre><blockquote><p align="center"><em> From <a href="sql-overview-retrieve2-main-cpp.html">sql/overview/retrieve2/main.cpp</a> </em></p> -</blockquote><p> We create the <a href="ntqsqlcursor.html">TQSqlCursor</a> object, specifying the table or view to use. +</blockquote><p> We create the <a href="tqsqlcursor.html">TQSqlCursor</a> object, specifying the table or view to use. If we need to use a database other than the default we can specify it -in the <a href="ntqsqlcursor.html">TQSqlCursor</a> constructor. +in the <a href="tqsqlcursor.html">TQSqlCursor</a> constructor. <p> The SQL executed by the cur.select() call is <p> <pre> SELECT staff.id, staff.forename, staff.surname, staff.salary, staff.statusid FROM staff @@ -661,7 +661,7 @@ in the <a href="ntqsqlcursor.html">TQSqlCursor</a> constructor. <p> Next, we iterate through the records returned by this select statement using cur.next(). Field values are retrieved in in a similar way to -<a href="ntqsqlquery.html">TQSqlQuery</a>, except that we pass field names rather than numeric indexes +<a href="tqsqlquery.html">TQSqlQuery</a>, except that we pass field names rather than numeric indexes to value() and setValue(). <p> <a name="Sorting_Data"></a> <h4> Sorting and Filtering Records @@ -682,15 +682,15 @@ statement's <tt>WHERE</tt> clause). <p> This will retrieve only those staff whose <tt>id</tt> is greater than 100. <p> In addition to retrieving selected records we often want to specify a -sort order for the returned records. This is achieved by creating a <a href="ntqsqlindex.html">TQSqlIndex</a> object which contains the names of the field(s) we wish to +sort order for the returned records. This is achieved by creating a <a href="tqsqlindex.html">TQSqlIndex</a> object which contains the names of the field(s) we wish to sort by and pass this object to the select() call. <p> <pre> - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); - <a href="ntqsqlindex.html">TQSqlIndex</a> nameIndex = cur.<a href="ntqsqlcursor.html#index">index</a>( "surname" ); - cur.<a href="ntqsqlcursor.html#select">select</a>( nameIndex ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); + <a href="tqsqlindex.html">TQSqlIndex</a> nameIndex = cur.<a href="tqsqlcursor.html#index">index</a>( "surname" ); + cur.<a href="tqsqlcursor.html#select">select</a>( nameIndex ); </pre> -<p> Here we create a <a href="ntqsqlindex.html">TQSqlIndex</a> object with one field, "surname". When +<p> Here we create a <a href="tqsqlindex.html">TQSqlIndex</a> object with one field, "surname". When we call the select() function we pass the index object, which specifies that the records should be returned sorted by staff.surname. Each field in the index object is used in the ORDER BY @@ -706,7 +706,7 @@ is straightforward. cur.select( "staff.surname LIKE 'A%'", nameIndex ); </pre> -<p> We pass in a filter string (the <tt>WHERE</tt> clause), and the <a href="ntqsqlindex.html">TQSqlIndex</a> +<p> We pass in a filter string (the <tt>WHERE</tt> clause), and the <a href="tqsqlindex.html">TQSqlIndex</a> object to sort by (the <tt>ORDER BY</tt> clause). This produces <p> <pre> SELECT staff.id, staff.forename, staff.surname, staff.salary, staff.statusid @@ -715,18 +715,18 @@ object to sort by (the <tt>ORDER BY</tt> clause). This produces <p> To sort by more than one field, an index can be created which contains multiple fields. Ascending and descending order can be set using -<a href="ntqsqlindex.html#setDescending">TQSqlIndex::setDescending</a>(); the default is ascending. +<a href="tqsqlindex.html#setDescending">TQSqlIndex::setDescending</a>(); the default is ascending. <p> -<pre> <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); +<pre> <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); <a href="ntqstringlist.html">TQStringList</a> fields = TQStringList() << "surname" << "forename"; - <a name="x2181"></a> <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( fields ); - <a name="x2182"></a> cur.<a href="ntqsqlcursor.html#select">select</a>( order ); - <a name="x2183"></a> while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { + <a name="x2181"></a> <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( fields ); + <a name="x2182"></a> cur.<a href="tqsqlcursor.html#select">select</a>( order ); + <a name="x2183"></a> while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { </pre><blockquote><p align="center"><em> From <a href="sql-overview-order1-main-cpp.html">sql/overview/order1/main.cpp</a> </em></p> </blockquote><p> Here we create a string list containing the fields we wish to sort by, -in the order they are to be used. Then we create a <a href="ntqsqlindex.html">TQSqlIndex</a> object +in the order they are to be used. Then we create a <a href="tqsqlindex.html">TQSqlIndex</a> object based on these fields, finally executing the select() call using this index. This executes <pre> @@ -738,13 +738,13 @@ index. This executes can create a filter based on an index. <p> -<pre> <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); +<pre> <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); <a href="ntqstringlist.html">TQStringList</a> fields = TQStringList() << "id" << "forename"; - <a name="x2184"></a> <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( fields ); - <a href="ntqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="ntqsqlcursor.html#index">index</a>( "surname" ); - <a name="x2186"></a> cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "surname", "Bloggs" ); - <a name="x2185"></a> cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order ); - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { + <a name="x2184"></a> <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( fields ); + <a href="tqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="tqsqlcursor.html#index">index</a>( "surname" ); + <a name="x2186"></a> cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "surname", "Bloggs" ); + <a name="x2185"></a> cur.<a href="tqsqlcursor.html#select">select</a>( filter, order ); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { </pre><blockquote><p align="center"><em> From <a href="sql-overview-order2-main-cpp.html">sql/overview/order2/main.cpp</a> </em></p> </blockquote><p> This executes @@ -753,8 +753,8 @@ can create a filter based on an index. FROM staff WHERE staff.surname='Bloggs' ORDER BY staff.id ASC, staff.forename ASC </pre> -<p> The "order" <a href="ntqsqlindex.html">TQSqlIndex</a> contains two fields, "id" and "forename" -which are used to order the results. The "filter" <a href="ntqsqlindex.html">TQSqlIndex</a> +<p> The "order" <a href="tqsqlindex.html">TQSqlIndex</a> contains two fields, "id" and "forename" +which are used to order the results. The "filter" <a href="tqsqlindex.html">TQSqlIndex</a> contains a single field, "surname". When an index is passed as a filter to the select() function, for each field in the filter, a <em>fieldname=value</em> subclause is created where the value @@ -765,27 +765,27 @@ setValue() to ensure that the value used is the one we want. </h4> <a name="7-1-2"></a><p> -<pre> <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "creditors" ); +<pre> <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "creditors" ); <a href="ntqstringlist.html">TQStringList</a> orderFields = TQStringList() << "surname" << "forename"; - <a name="x2188"></a> <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( orderFields ); + <a name="x2188"></a> <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( orderFields ); <a href="ntqstringlist.html">TQStringList</a> filterFields = TQStringList() << "surname" << "city"; - <a href="ntqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="ntqsqlcursor.html#index">index</a>( filterFields ); - <a name="x2190"></a> cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "surname", "Chirac" ); - cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "city", "Paris" ); + <a href="tqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="tqsqlcursor.html#index">index</a>( filterFields ); + <a name="x2190"></a> cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "surname", "Chirac" ); + cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "city", "Paris" ); - <a name="x2189"></a> cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order ); + <a name="x2189"></a> cur.<a href="tqsqlcursor.html#select">select</a>( filter, order ); - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2191"></a> int id = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt(); - <a href="ntqstring.html">TQString</a> name = cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() + " " + - cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString(); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2191"></a> int id = cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toInt(); + <a href="ntqstring.html">TQString</a> name = cur.<a href="tqsqlquery.html#value">value</a>( "forename" ).toString() + " " + + cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString(); <a name="x2193"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name ); } </pre><blockquote><p align="center"><em> From <a href="sql-overview-extract-main-cpp.html">sql/overview/extract/main.cpp</a> </em></p> </blockquote><p> In this example we begin by creating a cursor on the creditors table. -We create two <a href="ntqsqlindex.html">TQSqlIndex</a> objects. The first, "order", is created +We create two <a href="tqsqlindex.html">TQSqlIndex</a> objects. The first, "order", is created from the "orderFields" string list. The second, "filter", is created from the "filterFields" string list. We set the values of the two fields used in the filter, "surname" and "city", to the values we're @@ -809,8 +809,8 @@ some processing function, in this example a simple <a href="ntqapplication.html# <h3> Manipulating Records </h3> <a name="7-2"></a><p> Records can be inserted, updated or deleted in a table or view using a -<a href="ntqsqlcursor.html">TQSqlCursor</a> providing that the table or view has a primary index -that uniquely distinguishes each record. If this is not the case a <a href="ntqsqlquery.html">TQSqlQuery</a> must be used instead. (Note that not all databases support +<a href="tqsqlcursor.html">TQSqlCursor</a> providing that the table or view has a primary index +that uniquely distinguishes each record. If this is not the case a <a href="tqsqlquery.html">TQSqlQuery</a> must be used instead. (Note that not all databases support editable views.) <p> Each cursor has an internal 'edit buffer' which is used by all the edit operations (insert, update and delete). The editing process is @@ -831,8 +831,8 @@ quote is a special character in SQL. <p> The primeInsert(), primeUpdate() and primeDelete() methods all return a pointer to the internal edit buffer. Each method can potentially perform different operations on the edit buffer before returning it. -By default, <a href="ntqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() clears all the field values in -the edit buffer (see <a href="ntqsqlrecord.html#clearValues">TQSqlRecord::clearValues</a>()). Both <a href="ntqsqlcursor.html#primeUpdate">TQSqlCursor::primeUpdate</a>() and <a href="ntqsqlcursor.html#primeDelete">TQSqlCursor::primeDelete</a>() initialize the +By default, <a href="tqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() clears all the field values in +the edit buffer (see <a href="tqsqlrecord.html#clearValues">TQSqlRecord::clearValues</a>()). Both <a href="tqsqlcursor.html#primeUpdate">TQSqlCursor::primeUpdate</a>() and <a href="tqsqlcursor.html#primeDelete">TQSqlCursor::primeDelete</a>() initialize the edit buffer with the current contents of the cursor before returning it. All three of these functions are virtual, so you can redefine the behavior (for example, reimplementing primeInsert() to auto-number @@ -853,17 +853,17 @@ changes to the database are accurately reflected in the cursor. </h4> <a name="7-2-1"></a><p> -<pre> <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); +<pre> <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); <a href="ntqstringlist.html">TQStringList</a> names = TQStringList() << "Screwdriver" << "Hammer" << "Wrench" << "Saw"; int id = 20; <a name="x2197"></a> for ( TQStringList::Iterator name = names.<a href="ntqvaluelist.html#begin">begin</a>(); <a name="x2198"></a> name != names.<a href="ntqvaluelist.html#end">end</a>(); ++name ) { - <a name="x2195"></a> <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="ntqsqlcursor.html#primeInsert">primeInsert</a>(); - <a name="x2196"></a> buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", id ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "name", *name ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "price", 100.0 + (double)id ); - <a name="x2194"></a> count += cur.<a href="ntqsqlcursor.html#insert">insert</a>(); + <a name="x2195"></a> <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="tqsqlcursor.html#primeInsert">primeInsert</a>(); + <a name="x2196"></a> buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", id ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "name", *name ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "price", 100.0 + (double)id ); + <a name="x2194"></a> count += cur.<a href="tqsqlcursor.html#insert">insert</a>(); id++; } </pre><blockquote><p align="center"><em> From <a href="sql-overview-insert-main-cpp.html">sql/overview/insert/main.cpp</a> @@ -871,14 +871,14 @@ changes to the database are accurately reflected in the cursor. </blockquote><p> In this example we create a cursor on the "prices" table. Next we create a list of product names which we iterate over. For each iteration we call the cursor's primeInsert() method. This method -returns a pointer to a <a href="ntqsqlrecord.html">TQSqlRecord</a> buffer in which all the fields -are set to <tt>NULL</tt>. (Note that <a href="ntqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() is virtual, -and can be customized by derived classes. See <a href="ntqsqlcursor.html">TQSqlCursor</a>). Next we +returns a pointer to a <a href="tqsqlrecord.html">TQSqlRecord</a> buffer in which all the fields +are set to <tt>NULL</tt>. (Note that <a href="tqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() is virtual, +and can be customized by derived classes. See <a href="tqsqlcursor.html">TQSqlCursor</a>). Next we call setValue() for each field that requires a value. Finally we call insert() to insert the record. The insert() call returns the number of rows inserted. -<p> We obtained a pointer to a <a href="ntqsqlrecord.html">TQSqlRecord</a> object from the primeInsert() -call. <a href="ntqsqlrecord.html">TQSqlRecord</a> objects can hold the data for a single record plus some +<p> We obtained a pointer to a <a href="tqsqlrecord.html">TQSqlRecord</a> object from the primeInsert() +call. <a href="tqsqlrecord.html">TQSqlRecord</a> objects can hold the data for a single record plus some meta-data about the record. In practice most interaction with a TQSqlRecord consists of simple value() and setValue() calls as shown in this and the following example. @@ -887,29 +887,29 @@ this and the following example. </h4> <a name="7-2-2"></a><p> -<pre> <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); - <a name="x2200"></a> cur.<a href="ntqsqlcursor.html#select">select</a>( "id=202" ); - if ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2199"></a> <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>(); - <a name="x2204"></a> double price = buffer-><a href="ntqsqlrecord.html#value">value</a>( "price" ).toDouble(); +<pre> <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); + <a name="x2200"></a> cur.<a href="tqsqlcursor.html#select">select</a>( "id=202" ); + if ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2199"></a> <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>(); + <a name="x2204"></a> double price = buffer-><a href="tqsqlrecord.html#value">value</a>( "price" ).toDouble(); double newprice = price * 1.05; - <a name="x2203"></a> buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "price", newprice ); - <a name="x2201"></a> cur.<a href="ntqsqlcursor.html#update">update</a>(); + <a name="x2203"></a> buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "price", newprice ); + <a name="x2201"></a> cur.<a href="tqsqlcursor.html#update">update</a>(); } </pre><blockquote><p align="center"><em> From <a href="sql-overview-update-main-cpp.html">sql/overview/update/main.cpp</a> </em></p> </blockquote><p> This example begins with the creation of a cursor over the prices table. We select the record we wish to update with the select() call and -move to it with the next() call. We call primeUpdate() to get a <a href="ntqsqlrecord.html">TQSqlRecord</a> pointer to a buffer which is populated with the contents of +move to it with the next() call. We call primeUpdate() to get a <a href="tqsqlrecord.html">TQSqlRecord</a> pointer to a buffer which is populated with the contents of the current record. We retrieve the value of the price field, calculate a new price, and set the the price field to the newly calculated value. Finally we call update() to update the record. The update() call returns the number of rows updated. <p> If many identical updates need to be performed, for example increasing the price of every item in the price list, using a single SQL statement -with <a href="ntqsqlquery.html">TQSqlQuery</a> is more efficient, e.g. +with <a href="tqsqlquery.html">TQSqlQuery</a> is more efficient, e.g. <p> <pre> - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "UPDATE prices SET price = price * 1.05" ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "UPDATE prices SET price = price * 1.05" ); </pre> <p> <a name="Deleting_Records"></a> @@ -917,22 +917,22 @@ with <a href="ntqsqlquery.html">TQSqlQuery</a> is more efficient, e.g. </h4> <a name="7-2-3"></a><p> -<pre> <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); - <a name="x2207"></a> cur.<a href="ntqsqlcursor.html#select">select</a>( "id=999" ); - <a name="x2208"></a> if ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2206"></a> cur.<a href="ntqsqlcursor.html#primeDelete">primeDelete</a>(); - <a name="x2205"></a> cur.<a href="ntqsqlcursor.html#del">del</a>(); +<pre> <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "prices" ); + <a name="x2207"></a> cur.<a href="tqsqlcursor.html#select">select</a>( "id=999" ); + <a name="x2208"></a> if ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2206"></a> cur.<a href="tqsqlcursor.html#primeDelete">primeDelete</a>(); + <a name="x2205"></a> cur.<a href="tqsqlcursor.html#del">del</a>(); </pre><blockquote><p align="center"><em> From <a href="sql-overview-delete-main-cpp.html">sql/overview/delete/main.cpp</a> </em></p> </blockquote><p> To delete records, select the record to be deleted and navigate to it. Then call primeDelete() to populate the cursor with the primary key of the selected record, (in this example, the <tt>prices.id</tt> field), and -then call <a href="ntqsqlcursor.html#del">TQSqlCursor::del</a>() to delete it. +then call <a href="tqsqlcursor.html#del">TQSqlCursor::del</a>() to delete it. <p> As with update(), if multiple deletions need to be made with some common criteria it is more efficient to do so using a single SQL statement, e.g. <p> <pre> - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "DELETE FROM prices WHERE id >= 2450 AND id <= 2500" ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "DELETE FROM prices WHERE id >= 2450 AND id <= 2500" ); </pre> <p> <a name="Data-Aware_Widgets"></a> @@ -951,9 +951,9 @@ examples provides additional information. <a name="8-1"></a><p> <pre> #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> - #include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> - #include <<a href="qdatatable-h.html">ntqdatatable.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> + #include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> + #include <<a href="tqdatatable-h.html">tqdatatable.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -961,10 +961,10 @@ examples provides additional information. <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - <a href="ntqdatatable.html">TQDataTable</a> *staffTable = new <a href="ntqdatatable.html">TQDataTable</a>( &staffCursor, TRUE ); + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + <a href="tqdatatable.html">TQDataTable</a> *staffTable = new <a href="tqdatatable.html">TQDataTable</a>( &staffCursor, TRUE ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( staffTable ); - <a name="x2211"></a> staffTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + <a name="x2211"></a> staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); staffTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); @@ -974,34 +974,34 @@ examples provides additional information. } </pre><blockquote><p align="center"><em> From <a href="sql-overview-table1-main-cpp.html">sql/overview/table1/main.cpp</a> </em></p> -</blockquote><p> Data-Aware tables require the <a href="qdatatable-h.html">ntqdatatable.h</a> and <a href="qsqlcursor-h.html">ntqsqlcursor.h</a> header +</blockquote><p> Data-Aware tables require the <a href="tqdatatable-h.html">tqdatatable.h</a> and <a href="tqsqlcursor-h.html">tqsqlcursor.h</a> header files. We create our application object, call createConnections() and -create the cursor. We create the <a href="ntqdatatable.html">TQDataTable</a> passing it a pointer to -the cursor, and set the autoPopulate flag to TRUE. Next we make our <a href="ntqdatatable.html">TQDataTable</a> the main widget and call refresh() to populate it with data +create the cursor. We create the <a href="tqdatatable.html">TQDataTable</a> passing it a pointer to +the cursor, and set the autoPopulate flag to TRUE. Next we make our <a href="tqdatatable.html">TQDataTable</a> the main widget and call refresh() to populate it with data and call show() to make it visible. -<p> The autoPopulate flag tells the <a href="ntqdatatable.html">TQDataTable</a> whether or nor it should +<p> The autoPopulate flag tells the <a href="tqdatatable.html">TQDataTable</a> whether or nor it should create columns based on the cursor. autoPopulate does not affect the loading of data into the table; that is achieved by the refresh() function. <p> -<pre> <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - <a href="ntqdatatable.html">TQDataTable</a> *staffTable = new <a href="ntqdatatable.html">TQDataTable</a>( &staffCursor ); +<pre> <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + <a href="tqdatatable.html">TQDataTable</a> *staffTable = new <a href="tqdatatable.html">TQDataTable</a>( &staffCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( staffTable ); - <a name="x2214"></a> staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); - staffTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); + <a name="x2214"></a> staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "forename", "Forename" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "surname", "Surname" ); + staffTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "salary", "Annual Salary" ); <a href="ntqstringlist.html">TQStringList</a> order = TQStringList() << "surname" << "forename"; - <a name="x2216"></a> staffTable-><a href="ntqdatatable.html#setSort">setSort</a>( order ); + <a name="x2216"></a> staffTable-><a href="tqdatatable.html#setSort">setSort</a>( order ); - <a name="x2215"></a> staffTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + <a name="x2215"></a> staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); staffTable-><a href="ntqwidget.html#show">show</a>(); </pre><blockquote><p align="center"><em> From <a href="sql-overview-table2-main-cpp.html">sql/overview/table2/main.cpp</a> </em></p> -</blockquote><p> We create an empty <a href="ntqdatatable.html">TQDataTable</a> which we make into our main widget and +</blockquote><p> We create an empty <a href="tqdatatable.html">TQDataTable</a> which we make into our main widget and then we manually add the columns we want in the order we wish them to appear. For each column we specify the field name and optionally a display label. @@ -1028,9 +1028,9 @@ the code below can be automatically generated by <a href="designer-manual.html"> #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="qlineedit-h.html">ntqlineedit.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> - #include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> - #include <<a href="qsqlform-h.html">ntqsqlform.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> + #include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> + #include <<a href="tqsqlform-h.html">tqsqlform.h</a>> #include "../connection.h" class FormDialog : public <a href="ntqdialog.html">TQDialog</a> @@ -1057,16 +1057,16 @@ the code below can be automatically generated by <a href="designer-manual.html"> grid-><a href="qgridlayout.html#addWidget">addWidget</a>( salaryEdit, 2, 1 ); <a name="x2222"></a> grid-><a href="ntqlayout.html#activate">activate</a>(); - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - staffCursor.<a href="ntqsqlcursor.html#select">select</a>(); - staffCursor.<a href="ntqsqlquery.html#next">next</a>(); + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + staffCursor.<a href="tqsqlcursor.html#select">select</a>(); + staffCursor.<a href="tqsqlquery.html#next">next</a>(); - <a href="ntqsqlform.html">TQSqlForm</a> sqlForm( this ); - <a name="x2227"></a><a name="x2223"></a> sqlForm.<a href="ntqsqlform.html#setRecord">setRecord</a>( staffCursor.<a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() ); - <a name="x2225"></a> sqlForm.<a href="ntqsqlform.html#insert">insert</a>( forenameDisplay, "forename" ); - sqlForm.<a href="ntqsqlform.html#insert">insert</a>( surnameDisplay, "surname" ); - sqlForm.<a href="ntqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); - <a name="x2226"></a> sqlForm.<a href="ntqsqlform.html#readFields">readFields</a>(); + <a href="tqsqlform.html">TQSqlForm</a> sqlForm( this ); + <a name="x2227"></a><a name="x2223"></a> sqlForm.<a href="tqsqlform.html#setRecord">setRecord</a>( staffCursor.<a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() ); + <a name="x2225"></a> sqlForm.<a href="tqsqlform.html#insert">insert</a>( forenameDisplay, "forename" ); + sqlForm.<a href="tqsqlform.html#insert">insert</a>( surnameDisplay, "surname" ); + sqlForm.<a href="tqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); + <a name="x2226"></a> sqlForm.<a href="tqsqlform.html#readFields">readFields</a>(); } int main( int argc, char *argv[] ) @@ -1084,28 +1084,28 @@ the code below can be automatically generated by <a href="designer-manual.html"> </pre><blockquote><p align="center"><em> From <a href="sql-overview-form1-main-cpp.html">sql/overview/form1/main.cpp</a> </em></p> </blockquote><p> We include the header files for the widgets that we need. We also -include <a href="qsqldatabase-h.html">ntqsqldatabase.h</a> and <a href="qsqlcursor-h.html">ntqsqlcursor.h</a> as usual, but we now add -<a href="qsqlform-h.html">ntqsqlform.h</a>. +include <a href="tqsqldatabase-h.html">tqsqldatabase.h</a> and <a href="tqsqlcursor-h.html">tqsqlcursor.h</a> as usual, but we now add +<a href="tqsqlform-h.html">tqsqlform.h</a>. <p> The form will be presented as a dialog so we subclass <a href="ntqdialog.html">TQDialog</a> with our own FormDialog class. We use a <a href="ntqlineedit.html">TQLineEdit</a> for the salary so that the user can change it. All the widgets are laid out using a grid. <p> We create a cursor on the staff table, select all records and move to the first record. -<p> Now we create a <a href="ntqsqlform.html">TQSqlForm</a> object and set the <a href="ntqsqlform.html">TQSqlForm</a>'s record buffer +<p> Now we create a <a href="tqsqlform.html">TQSqlForm</a> object and set the <a href="tqsqlform.html">TQSqlForm</a>'s record buffer to the cursor's update buffer. For each widget that we wish to make data-aware we insert a pointer to the widget and the associated field -name into the <a href="ntqsqlform.html">TQSqlForm</a>. Finally we call readFields() to populate the +name into the <a href="tqsqlform.html">TQSqlForm</a>. Finally we call readFields() to populate the widgets with data from the database via the cursor's buffer. <p> <a name="Displaying_a_Record_in_a_DataForm"></a> <h4> Displaying a Record in a Data Form </h4> -<a name="8-2-2"></a><p> <a href="ntqdataview.html">TQDataView</a> is a Widget that can hold a read-only <a href="ntqsqlform.html">TQSqlForm</a>. In -addition to <a href="ntqsqlform.html">TQSqlForm</a> it offers the slot refresh( <a href="ntqsqlrecord.html">TQSqlRecord</a> * ) so it -can easily be linked together with a <a href="ntqdatatable.html">TQDataTable</a> to display a detailed +<a name="8-2-2"></a><p> <a href="tqdataview.html">TQDataView</a> is a Widget that can hold a read-only <a href="tqsqlform.html">TQSqlForm</a>. In +addition to <a href="tqsqlform.html">TQSqlForm</a> it offers the slot refresh( <a href="tqsqlrecord.html">TQSqlRecord</a> * ) so it +can easily be linked together with a <a href="tqdatatable.html">TQDataTable</a> to display a detailed view of a record: <p> <pre> - connect( myDataTable, TQ_SIGNAL( currentChanged( <a href="ntqsqlrecord.html">TQSqlRecord</a>* ) ), - myDataView, TQ_SLOT( refresh( <a href="ntqsqlrecord.html">TQSqlRecord</a>* ) ) ); + connect( myDataTable, TQ_SIGNAL( currentChanged( <a href="tqsqlrecord.html">TQSqlRecord</a>* ) ), + myDataView, TQ_SLOT( refresh( <a href="tqsqlrecord.html">TQSqlRecord</a>* ) ) ); </pre> <p> <a name="Editing_a_Record"></a> @@ -1124,15 +1124,15 @@ differences. public slots: void save(); private: - <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor; - <a href="ntqsqlform.html">TQSqlForm</a> *sqlForm; - <a href="ntqsqlindex.html">TQSqlIndex</a> idIndex; + <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor; + <a href="tqsqlform.html">TQSqlForm</a> *sqlForm; + <a href="tqsqlindex.html">TQSqlIndex</a> idIndex; }; </pre><blockquote><p align="center"><em> From <a href="sql-overview-form2-main-h.html">sql/overview/form2/main.h</a> </em></p> </blockquote><p> The save slot will be used for a button that the user can press to -confirm their update. We also hold pointers to the <a href="ntqsqlcursor.html">TQSqlCursor</a> and the -<a href="ntqsqlform.html">TQSqlForm</a> since they will need to be accessed outside the constructor. +confirm their update. We also hold pointers to the <a href="tqsqlcursor.html">TQSqlCursor</a> and the +<a href="tqsqlform.html">TQSqlForm</a> since they will need to be accessed outside the constructor. <p> <pre> staffCursor.setTrimmed( "forename", TRUE ); @@ -1159,17 +1159,17 @@ the user can click to save their updates. staffCursor.select( idIndex ); staffCursor.first(); </pre> -<p> We create a <a href="ntqsqlindex.html">TQSqlIndex</a> object and then execute a select() using the +<p> We create a <a href="tqsqlindex.html">TQSqlIndex</a> object and then execute a select() using the index. We then move to the first record in the result set. -<p> <pre> sqlForm = new <a href="ntqsqlform.html">TQSqlForm</a>( this ); - <a name="x2233"></a> sqlForm-><a href="ntqsqlform.html#setRecord">setRecord</a>( staffCursor.primeUpdate() ); +<p> <pre> sqlForm = new <a href="tqsqlform.html">TQSqlForm</a>( this ); + <a name="x2233"></a> sqlForm-><a href="tqsqlform.html#setRecord">setRecord</a>( staffCursor.primeUpdate() ); </pre> -<p> We create a new <a href="ntqsqlform.html">TQSqlForm</a> object and set it's record buffer to the +<p> We create a new <a href="tqsqlform.html">TQSqlForm</a> object and set it's record buffer to the cursor's update buffer. -<p> <pre> <a name="x2231"></a> sqlForm-><a href="ntqsqlform.html#insert">insert</a>( forenameEdit, "forename" ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( surnameEdit, "surname" ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); - <a name="x2232"></a> sqlForm-><a href="ntqsqlform.html#readFields">readFields</a>(); +<p> <pre> <a name="x2231"></a> sqlForm-><a href="tqsqlform.html#insert">insert</a>( forenameEdit, "forename" ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( surnameEdit, "surname" ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); + <a name="x2232"></a> sqlForm-><a href="tqsqlform.html#readFields">readFields</a>(); </pre> <p> Now we link the buffer's fields to the <a href="ntqlineedit.html">TQLineEdit</a> controls. (In the previous example we linked the cursor's fields.) The edit controls are @@ -1184,28 +1184,28 @@ since they are children of the form and will be deleted by TQt at the right time. <p> <pre> void FormDialog::save() { - <a name="x2234"></a> sqlForm-><a href="ntqsqlform.html#writeFields">writeFields</a>(); + <a name="x2234"></a> sqlForm-><a href="tqsqlform.html#writeFields">writeFields</a>(); staffCursor.update(); staffCursor.select( idIndex ); staffCursor.first(); } </pre> <p> Finally we add the save functionality for when the user presses the -save button. We write back the data from the widgets to the <a href="ntqsqlrecord.html">TQSqlRecord</a> buffer with the writeFields() call. Then we update the +save button. We write back the data from the widgets to the <a href="tqsqlrecord.html">TQSqlRecord</a> buffer with the writeFields() call. Then we update the database with the updated version of the record with the cursor's update() function. At this point the cursor is no longer positioned at -a valid record so we reissue the select() call using our <a href="ntqsqlindex.html">TQSqlIndex</a> +a valid record so we reissue the select() call using our <a href="tqsqlindex.html">TQSqlIndex</a> and move to the first record. -<p> <a href="ntqdatabrowser.html">TQDataBrowser</a> and <a href="ntqdataview.html">TQDataView</a> are widgets which provide a great deal of -the above functionality. <a href="ntqdatabrowser.html">TQDataBrowser</a> provides a data form which -allows editing of and navigation through a cursor's records. <a href="ntqdataview.html">TQDataView</a> provides a read only form for data in a cursor or database +<p> <a href="tqdatabrowser.html">TQDataBrowser</a> and <a href="tqdataview.html">TQDataView</a> are widgets which provide a great deal of +the above functionality. <a href="tqdatabrowser.html">TQDataBrowser</a> provides a data form which +allows editing of and navigation through a cursor's records. <a href="tqdataview.html">TQDataView</a> provides a read only form for data in a cursor or database record. See the class documentation or the <a href="designer-manual.html">TQt Designer</a> manual for more information on using these widgets. <p> Link to <a href="sql.html">sql/overview/form2/main.cpp</a> <p> <a name="Custom_Editor_Widgets"></a> <h3> Custom Editor Widgets </h3> -<a name="8-3"></a><p> <a href="ntqsqlform.html">TQSqlForm</a> uses <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> to handle the transfer of data between +<a name="8-3"></a><p> <a href="tqsqlform.html">TQSqlForm</a> uses <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> to handle the transfer of data between widgets and database fields. Custom widgets can also be used in a form by installing a property map that contains information about the properties of the custom widget which should be used to transfer the @@ -1231,7 +1231,7 @@ we will only cover the differences here. The full source is in <a href="sql-over <p> We've created a simple subclass of <a href="ntqlineedit.html">TQLineEdit</a> and added a property, upperLineText, which will hold an uppercase version of the text. We also created a slot, changed(). -<p> <pre> <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap; +<p> <pre> <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> *propMap; </pre> <p> We will be using a property map so we add a pointer to a property map to our FormDialog's private data. @@ -1270,16 +1270,16 @@ CustomEdit instances directly to database fields. <p> We use the same FormDialog as we did before, but this time replace two of the <a href="ntqlineedit.html">TQLineEdit</a> widgets with our own CustomEdit widgets. <p> Laying out the grid and setting up the cursor is the same as before. -<p> <pre> propMap = new <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>; - <a name="x2239"></a><a name="x2235"></a> propMap-><a href="ntqsqlpropertymap.html#insert">insert</a>( forenameEdit-><a href="tqobject.html#className">className</a>(), "upperLine" ); +<p> <pre> propMap = new <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>; + <a name="x2239"></a><a name="x2235"></a> propMap-><a href="tqsqlpropertymap.html#insert">insert</a>( forenameEdit-><a href="tqobject.html#className">className</a>(), "upperLine" ); </pre> <p> We create a new property map on the heap and register our CustomEdit class and its upperLine property with the property map. -<p> <pre> sqlForm = new <a href="ntqsqlform.html">TQSqlForm</a>( this ); - <a name="x2238"></a><a name="x2236"></a> sqlForm-><a href="ntqsqlform.html#setRecord">setRecord</a>( staffCursor-><a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() ); - <a name="x2237"></a> sqlForm-><a href="ntqsqlform.html#installPropertyMap">installPropertyMap</a>( propMap ); +<p> <pre> sqlForm = new <a href="tqsqlform.html">TQSqlForm</a>( this ); + <a name="x2238"></a><a name="x2236"></a> sqlForm-><a href="tqsqlform.html#setRecord">setRecord</a>( staffCursor-><a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() ); + <a name="x2237"></a> sqlForm-><a href="tqsqlform.html#installPropertyMap">installPropertyMap</a>( propMap ); </pre> -<p> The final change is to install the property map into the <a href="ntqsqlform.html">TQSqlForm</a> once +<p> The final change is to install the property map into the <a href="tqsqlform.html">TQSqlForm</a> once the TQSqlForm has been created. This passes responsibility for the property map's memory to TQSqlForm which itself is owned by the FormDialog, so TQt will delete them at the right time. @@ -1289,9 +1289,9 @@ our CustomEdit widget. <p> <a name="Custom_Editor_Widgets_for_Tables"></a> <h4> Custom Editor Widgets for Tables </h4> -<a name="8-3-1"></a><p> We must reimpliment <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> to use custom editor widgets in +<a name="8-3-1"></a><p> We must reimpliment <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> to use custom editor widgets in tables. In the following example we will create a custom editor based -on <a href="ntqcombobox.html">TQComboBox</a> and a TQSqlEditorFactory subclass to show how a <a href="ntqdatatable.html">TQDataTable</a> +on <a href="ntqcombobox.html">TQComboBox</a> and a TQSqlEditorFactory subclass to show how a <a href="tqdatatable.html">TQDataTable</a> can use a custom editor. <p> @@ -1312,27 +1312,27 @@ can use a custom editor. for it. The statusid's in the status table will probably be different from the combobox's indexes so we create a <a href="ntqmap.html">TQMap</a> to map combobox indexes to/from the statusids that we will list in the combobox. -<p> <pre> class CustomSqlEditorFactory : public <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> +<p> <pre> class CustomSqlEditorFactory : public <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> { TQ_OBJECT public: - <a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="ntqsqlfield.html">TQSqlField</a> *field ); + <a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="tqsqlfield.html">TQSqlField</a> *field ); }; </pre> -<p> We also need to subclass <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> declaring a createEditor() +<p> We also need to subclass <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> declaring a createEditor() function since that is the only function we need to reimplement. <p> <pre> StatusPicker::StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqcombobox.html">TQComboBox</a>( parent, name ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "status" ); - <a name="x2242"></a><a name="x2241"></a> cur.<a href="ntqsqlcursor.html#select">select</a>( cur.<a href="ntqsqlcursor.html#index">index</a>( "name" ) ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "status" ); + <a name="x2242"></a><a name="x2241"></a> cur.<a href="tqsqlcursor.html#select">select</a>( cur.<a href="tqsqlcursor.html#index">index</a>( "name" ) ); int i = 0; - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2243"></a> <a href="ntqcombobox.html#insertItem">insertItem</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "name" ).toString(), i ); - index2id[i] = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt(); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2243"></a> <a href="ntqcombobox.html#insertItem">insertItem</a>( cur.<a href="tqsqlquery.html#value">value</a>( "name" ).toString(), i ); + index2id[i] = cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toInt(); i++; } </pre><blockquote><p align="center"><em> From <a href="sql-overview-table3-main-cpp.html">sql/overview/table3/main.cpp</a> @@ -1367,64 +1367,64 @@ index2id TQMap. We compare each index2id element's data (statusid) to the id parameter's value. If we have a match we set the combobox's current item to the index2id element's key (the combobox index), and leave the loop. -<p> When the user edits the status field in the <a href="ntqdatatable.html">TQDataTable</a> they will be +<p> When the user edits the status field in the <a href="tqdatatable.html">TQDataTable</a> they will be presented with a combobox of valid status names taken from the status table. However the status displayed is still the raw statusid. To display the status name when the field isn't being edited requires us to subclass TQDataTable and reimplement the paintField() function. <p> -<pre> class CustomTable : public <a href="ntqdatatable.html">TQDataTable</a> +<pre> class CustomTable : public <a href="tqdatatable.html">TQDataTable</a> { TQ_OBJECT public: CustomTable( - <a href="ntqsqlcursor.html">TQSqlCursor</a> *cursor, bool autoPopulate = FALSE, + <a href="tqsqlcursor.html">TQSqlCursor</a> *cursor, bool autoPopulate = FALSE, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) : - <a href="ntqdatatable.html">TQDataTable</a>( cursor, autoPopulate, parent, name ) {} + <a href="tqdatatable.html">TQDataTable</a>( cursor, autoPopulate, parent, name ) {} void paintField( - <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool ); + <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool ); }; </pre><blockquote><p align="center"><em> From <a href="sql-overview-table4-main-h.html">sql/overview/table4/main.h</a> </em></p> -</blockquote><p> We simply call the original <a href="ntqdatatable.html">TQDataTable</a> constructor without changing +</blockquote><p> We simply call the original <a href="tqdatatable.html">TQDataTable</a> constructor without changing anything. We also declare the paintField function. <p> -<pre> <a name="x2245"></a>void CustomTable::<a href="ntqdatatable.html#paintField">paintField</a>( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqsqlfield.html">TQSqlField</a>* field, +<pre> <a name="x2245"></a>void CustomTable::<a href="tqdatatable.html#paintField">paintField</a>( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool b) { if ( !field ) return; - <a name="x2249"></a> if ( field-><a href="ntqsqlfield.html#name">name</a>() == "statusid" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM status WHERE id=" + - <a name="x2250"></a> field-><a href="ntqsqlfield.html#value">value</a>().toString() ); + <a name="x2249"></a> if ( field-><a href="tqsqlfield.html#name">name</a>() == "statusid" ) { + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM status WHERE id=" + + <a name="x2250"></a> field-><a href="tqsqlfield.html#value">value</a>().toString() ); <a href="ntqstring.html">TQString</a> text; - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2252"></a> text = query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toString(); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2252"></a> text = query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString(); } p-><a href="ntqpainter.html#drawText">drawText</a>( 2,2, cr.<a href="ntqrect.html#width">width</a>()-4, cr.<a href="ntqrect.html#height">height</a>()-4, fieldAlignment( field ), text ); } else { - TQDataTable::<a href="ntqdatatable.html#paintField">paintField</a>( p, field, cr, b) ; + TQDataTable::<a href="tqdatatable.html#paintField">paintField</a>( p, field, cr, b) ; } </pre><blockquote><p align="center"><em> From <a href="sql-overview-table4-main-cpp.html">sql/overview/table4/main.cpp</a> </em></p> -</blockquote><p> The paintField code is based on <a href="ntqdatatable.html">TQDataTable</a>'s source code. We need to +</blockquote><p> The paintField code is based on <a href="tqdatatable.html">TQDataTable</a>'s source code. We need to make three changes. Firstly add an if clause <tt>field->name() == "statusid"</tt> and look up the textual value for the id with a -straighforward <a href="ntqsqlquery.html">TQSqlQuery</a>. Secondly call the superclass to handle other +straighforward <a href="tqsqlquery.html">TQSqlQuery</a>. Secondly call the superclass to handle other fields. The last change is in our main function where we change staffTable from being a TQDataTable to being a CustomTable. <p> <a name="Subclassing_QSqlCursor"></a> -<h2> Subclassing <a href="ntqsqlcursor.html">TQSqlCursor</a> +<h2> Subclassing <a href="tqsqlcursor.html">TQSqlCursor</a> </h2> <a name="9"></a><p> <pre> #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> - #include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> - #include <<a href="qdatatable-h.html">ntqdatatable.h</a>> + #include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> + #include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> + #include <<a href="tqdatatable-h.html">tqdatatable.h</a>> #include "../connection.h" int main( int argc, char *argv[] ) @@ -1432,17 +1432,17 @@ staffTable from being a TQDataTable to being a CustomTable. <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( createConnections() ) { - <a href="ntqsqlcursor.html">TQSqlCursor</a> invoiceItemCursor( "invoiceitem" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> invoiceItemCursor( "invoiceitem" ); - <a href="ntqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="ntqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); + <a href="tqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="tqdatatable.html">TQDataTable</a>( &invoiceItemCursor ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( invoiceItemTable ); - <a name="x2255"></a> invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "pricesid", "PriceID" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); - invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); + <a name="x2255"></a> invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "pricesid", "PriceID" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" ); + invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); - <a name="x2256"></a> invoiceItemTable-><a href="ntqdatatable.html#refresh">refresh</a>(); + <a name="x2256"></a> invoiceItemTable-><a href="tqdatatable.html#refresh">refresh</a>(); invoiceItemTable-><a href="ntqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); @@ -1453,7 +1453,7 @@ staffTable from being a TQDataTable to being a CustomTable. </pre><blockquote><p align="center"><em> From <a href="sql-overview-subclass1-main-cpp.html">sql/overview/subclass1/main.cpp</a> </em></p> </blockquote><p> This example is very similar to the table1 example presented earlier. We -create a cursor, add the fields and their display labels to a <a href="ntqdatatable.html">TQDataTable</a>, +create a cursor, add the fields and their display labels to a <a href="tqdatatable.html">TQDataTable</a>, call refresh() to load the data and call show() to show the widget. <p> Unfortunately this example is unsatisfactory. It is tedious to set the table name and any custom characteristics for the fields every time we @@ -1465,18 +1465,18 @@ useful (or even essential for primary keys) if we could default some of the values when the user adds a new record. <p> -<pre> class InvoiceItemCursor : public <a href="ntqsqlcursor.html">TQSqlCursor</a> +<pre> class InvoiceItemCursor : public <a href="tqsqlcursor.html">TQSqlCursor</a> { public: InvoiceItemCursor(); }; </pre><blockquote><p align="center"><em> From <a href="sql-overview-subclass2-main-h.html">sql/overview/subclass2/main.h</a> </em></p> -</blockquote><p> We have created a separate header file and subclassed <a href="ntqsqlcursor.html">TQSqlCursor</a>. +</blockquote><p> We have created a separate header file and subclassed <a href="tqsqlcursor.html">TQSqlCursor</a>. <p> <pre> InvoiceItemCursor::InvoiceItemCursor() : - <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) + <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) { // NOOP } @@ -1501,20 +1501,20 @@ of the calculateField() function since we will be reimplementing it. <p> <pre> InvoiceItemCursor::InvoiceItemCursor() : - <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) + <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) { - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); - <a href="ntqsqlcursor.html#append">append</a>( productName ); - <a name="x2260"></a> <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); + <a href="tqsqlcursor.html#append">append</a>( productName ); + <a name="x2260"></a> <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); } - <a name="x2259"></a>TQVariant InvoiceItemCursor::<a href="ntqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) + <a name="x2259"></a>TQVariant InvoiceItemCursor::<a href="tqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) { if ( name == "productname" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - <a name="x2262"></a> return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + <a name="x2262"></a> return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } return TQVariant( <a href="ntqstring.html#TQString-null">TQString::null</a> ); @@ -1522,13 +1522,13 @@ of the calculateField() function since we will be reimplementing it. </pre><blockquote><p align="center"><em> From <a href="sql-overview-subclass3-main-cpp.html">sql/overview/subclass3/main.cpp</a> </em></p> </blockquote><p> We have changed the InvoiceItemCursor constructor. We now create a new -<a href="ntqsqlfield.html">TQSqlField</a> called productname and append this to the +<a href="tqsqlfield.html">TQSqlField</a> called productname and append this to the InvoiceItemCursor's set of fields. We call setCalculated() on productname to identify it as a calculated field. The first argument to setCalculated() is the field name, the second a bool which if TRUE signifies that calculateField() must be called to get the field's value. -<p> <pre> <a name="x2258"></a> invoiceItemTable-><a href="ntqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); +<p> <pre> <a name="x2258"></a> invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "productname", "Product" ); </pre> <p> We add our new fields with addColumn() which adds them to the form and sets their display names. @@ -1545,46 +1545,46 @@ function require some simple expansion. We'll look at each in turn. <p> <pre> InvoiceItemCursor::InvoiceItemCursor() : - <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) + <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" ) { - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); - <a href="ntqsqlcursor.html#append">append</a>( productName ); - <a name="x2264"></a> <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String ); + <a href="tqsqlcursor.html#append">append</a>( productName ); + <a name="x2264"></a> <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productPrice( "price", TQVariant::Double ); - <a href="ntqsqlcursor.html#append">append</a>( productPrice ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productPrice.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productPrice( "price", TQVariant::Double ); + <a href="tqsqlcursor.html#append">append</a>( productPrice ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productPrice.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); - <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productCost( "cost", TQVariant::Double ); - <a href="ntqsqlcursor.html#append">append</a>( productCost ); - <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productCost.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE ); + <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productCost( "cost", TQVariant::Double ); + <a href="tqsqlcursor.html#append">append</a>( productCost ); + <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productCost.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE ); } </pre><blockquote><p align="center"><em> From <a href="sql-overview-subclass4-main-cpp.html">sql/overview/subclass4/main.cpp</a> </em></p> </blockquote><p> We create two extra fields, price and cost, and append them to the cursor's set of fields. Both are registered as calculated fields with calls to setCalculated(). -<p> <pre> <a name="x2263"></a>TQVariant InvoiceItemCursor::<a href="ntqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) +<p> <pre> <a name="x2263"></a>TQVariant InvoiceItemCursor::<a href="tqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> & name ) { if ( name == "productname" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - <a name="x2265"></a> if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - <a name="x2266"></a> return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + <a name="x2265"></a> if ( query.<a href="tqsqlquery.html#next">next</a>() ) + <a name="x2266"></a> return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } else if ( name == "price" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return query.<a href="ntqsqlquery.html#value">value</a>( 0 ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return query.<a href="tqsqlquery.html#value">value</a>( 0 ); } else if ( name == "cost" ) { - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + - <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); - if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - return TQVariant( query.<a href="ntqsqlquery.html#value">value</a>( 0 ).toDouble() * - <a href="ntqsqlquery.html#value">value</a>( "quantity").toDouble() ); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT price FROM prices WHERE id=" + + <a href="tqsqlrecord.html#field">field</a>( "pricesid" )->value().toString() ); + if ( query.<a href="tqsqlquery.html#next">next</a>() ) + return TQVariant( query.<a href="tqsqlquery.html#value">value</a>( 0 ).toDouble() * + <a href="tqsqlquery.html#value">value</a>( "quantity").toDouble() ); } return TQVariant( TQString::null ); @@ -1605,7 +1605,7 @@ calculated field would be a lookup against a different table or view. user attempts to insert a new record. <p> -<pre> <a href="ntqsqlrecord.html">TQSqlRecord</a> *primeInsert(); +<pre> <a href="tqsqlrecord.html">TQSqlRecord</a> *primeInsert(); </pre><blockquote><p align="center"><em> From <a href="sql-overview-subclass5-main-h.html">sql/overview/subclass5/main.h</a> </em></p> </blockquote><p> We declare our own primeInsert() function since we will need to @@ -1613,14 +1613,14 @@ reimplement this. <p> The constructor and the calculateField() function remain unchanged. <p> -<pre> <a name="x2267"></a>TQSqlRecord *InvoiceItemCursor::<a href="ntqsqlcursor.html#primeInsert">primeInsert</a>() +<pre> <a name="x2267"></a>TQSqlRecord *InvoiceItemCursor::<a href="tqsqlcursor.html#primeInsert">primeInsert</a>() { - <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = <a href="ntqsqlcursor.html#editBuffer">editBuffer</a>(); - <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT NEXTVAL( 'invoiceitem_seq' )" ); - <a name="x2268"></a> if ( query.<a href="ntqsqlquery.html#next">next</a>() ) - <a name="x2270"></a><a name="x2269"></a> buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="ntqsqlquery.html#value">value</a>( 0 ) ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "paiddate", TQDate::currentDate() ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "quantity", 1 ); + <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = <a href="tqsqlcursor.html#editBuffer">editBuffer</a>(); + <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT NEXTVAL( 'invoiceitem_seq' )" ); + <a name="x2268"></a> if ( query.<a href="tqsqlquery.html#next">next</a>() ) + <a name="x2270"></a><a name="x2269"></a> buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", query.<a href="tqsqlquery.html#value">value</a>( 0 ) ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "paiddate", TQDate::currentDate() ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "quantity", 1 ); return buffer; } diff --git a/doc/html/sqltable-example.html b/doc/html/sqltable-example.html index d84b9fe30..f64e0b984 100644 --- a/doc/html/sqltable-example.html +++ b/doc/html/sqltable-example.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; } <p> -This example shows how to use a <a href="ntqdatatable.html">TQDataTable</a> to browse data in a SQL database. +This example shows how to use a <a href="tqdatatable.html">TQDataTable</a> to browse data in a SQL database. <p> <hr> <p> Implementation: <p> <pre>/**************************************************************************** @@ -46,9 +46,9 @@ This example shows how to use a <a href="ntqdatatable.html">TQDataTable</a> to b *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> -#include <<a href="qdatatable-h.html">ntqdatatable.h</a>> -#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> +#include <<a href="tqdatatable-h.html">tqdatatable.h</a>> +#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> /* Modify the following to match your environment */ @@ -58,18 +58,18 @@ This example shows how to use a <a href="ntqdatatable.html">TQDataTable</a> to b #define PASSWORD "" /* password for USER */ #define HOST "" /* host on which the database is running */ -class SimpleCursor : public <a href="ntqsqlcursor.html">TQSqlCursor</a> +class SimpleCursor : public <a href="tqsqlcursor.html">TQSqlCursor</a> { public: - SimpleCursor () : <a href="ntqsqlcursor.html">TQSqlCursor</a>( "simpletable" ) {} + SimpleCursor () : <a href="tqsqlcursor.html">TQSqlCursor</a>( "simpletable" ) {} protected: - <a href="ntqsqlrecord.html">TQSqlRecord</a>* primeInsert() + <a href="tqsqlrecord.html">TQSqlRecord</a>* primeInsert() { /* a real-world application would use sequences, or the like */ -<a name="x2453"></a> <a href="ntqsqlrecord.html">TQSqlRecord</a>* buf = TQSqlCursor::<a href="ntqsqlcursor.html#primeInsert">primeInsert</a>(); - <a href="ntqsqlquery.html">TQSqlQuery</a> q( "select max(id)+1 from simpletable" ); - if ( q.<a href="ntqsqlquery.html#next">next</a>() ) -<a name="x2464"></a> buf-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", q.<a href="ntqsqlquery.html#value">value</a>(0) ); +<a name="x2453"></a> <a href="tqsqlrecord.html">TQSqlRecord</a>* buf = TQSqlCursor::<a href="tqsqlcursor.html#primeInsert">primeInsert</a>(); + <a href="tqsqlquery.html">TQSqlQuery</a> q( "select max(id)+1 from simpletable" ); + if ( q.<a href="tqsqlquery.html#next">next</a>() ) +<a name="x2464"></a> buf-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", q.<a href="tqsqlquery.html#value">value</a>(0) ); return buf; } }; @@ -78,31 +78,31 @@ int main( int argc, char ** argv ) { <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); -<a name="x2454"></a> <a href="ntqsqldatabase.html">TQSqlDatabase</a> * db = TQSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( DRIVER ); -<a name="x2457"></a> db-><a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DATABASE ); -<a name="x2460"></a> db-><a href="ntqsqldatabase.html#setUserName">setUserName</a>( USER ); -<a name="x2459"></a> db-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( PASSWORD ); -<a name="x2458"></a> db-><a href="ntqsqldatabase.html#setHostName">setHostName</a>( HOST ); +<a name="x2454"></a> <a href="tqsqldatabase.html">TQSqlDatabase</a> * db = TQSqlDatabase::<a href="tqsqldatabase.html#addDatabase">addDatabase</a>( DRIVER ); +<a name="x2457"></a> db-><a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DATABASE ); +<a name="x2460"></a> db-><a href="tqsqldatabase.html#setUserName">setUserName</a>( USER ); +<a name="x2459"></a> db-><a href="tqsqldatabase.html#setPassword">setPassword</a>( PASSWORD ); +<a name="x2458"></a> db-><a href="tqsqldatabase.html#setHostName">setHostName</a>( HOST ); -<a name="x2456"></a> if( !db-><a href="ntqsqldatabase.html#open">open</a>() ){ -<a name="x2455"></a> db-><a href="ntqsqldatabase.html#lastError">lastError</a>().showMessage( "An error occured. Please read the README file in the sqltable" +<a name="x2456"></a> if( !db-><a href="tqsqldatabase.html#open">open</a>() ){ +<a name="x2455"></a> db-><a href="tqsqldatabase.html#lastError">lastError</a>().showMessage( "An error occured. Please read the README file in the sqltable" "dir for more information.\n\n" ); return 1; } -<a name="x2461"></a> if (!db-><a href="ntqsqldatabase.html#tables">tables</a>().contains("simpletable")) { - <a href="ntqsqlquery.html">TQSqlQuery</a> q("create table simpletable(id int, name varchar(20), address varchar(20))", db); +<a name="x2461"></a> if (!db-><a href="tqsqldatabase.html#tables">tables</a>().contains("simpletable")) { + <a href="tqsqlquery.html">TQSqlQuery</a> q("create table simpletable(id int, name varchar(20), address varchar(20))", db); } SimpleCursor cursor; - <a href="ntqdatatable.html">TQDataTable</a> table( &cursor ); /* data table uses our cursor */ -<a name="x2451"></a> table.<a href="ntqdatatable.html#addColumn">addColumn</a>( "name", "Name" ); - table.<a href="ntqdatatable.html#addColumn">addColumn</a>( "address", "Address" ); + <a href="tqdatatable.html">TQDataTable</a> table( &cursor ); /* data table uses our cursor */ +<a name="x2451"></a> table.<a href="tqdatatable.html#addColumn">addColumn</a>( "name", "Name" ); + table.<a href="tqdatatable.html#addColumn">addColumn</a>( "address", "Address" ); <a name="x2465"></a> table.<a href="ntqtable.html#setSorting">setSorting</a>( TRUE ); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &table ); -<a name="x2452"></a> table.<a href="ntqdatatable.html#refresh">refresh</a>(); /* load data */ +<a name="x2452"></a> table.<a href="tqdatatable.html#refresh">refresh</a>(); /* load data */ table.<a href="ntqwidget.html#show">show</a>(); /* show widget */ return a.<a href="ntqapplication.html#exec">exec</a>(); diff --git a/doc/html/titleindex b/doc/html/titleindex index b9584fd86..addd6b50b 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -297,8 +297,8 @@ QCustomEvent Class | qcustomevent.html QCustomEvent Member List | qcustomevent-members.html QCustomMenuItem Class | qcustommenuitem.html QCustomMenuItem Member List | qcustommenuitem-members.html -QDataBrowser Class | ntqdatabrowser.html -QDataBrowser Member List | qdatabrowser-members.html +TQDataBrowser Class | tqdatabrowser.html +TQDataBrowser Member List | tqdatabrowser-members.html QDataPump Class | qdatapump.html QDataPump Member List | qdatapump-members.html QDataSink Class | qdatasink.html @@ -307,10 +307,10 @@ QDataSource Class | qdatasource.html QDataSource Member List | qdatasource-members.html QDataStream Class | ntqdatastream.html QDataStream Member List | qdatastream-members.html -QDataTable Class | ntqdatatable.html -QDataTable Member List | qdatatable-members.html -QDataView Class | ntqdataview.html -QDataView Member List | qdataview-members.html +TQDataTable Class | tqdatatable.html +TQDataTable Member List | tqdatatable-members.html +TQDataView Class | tqdataview.html +TQDataView Member List | tqdataview-members.html QDate Class | qdate.html QDate Member List | qdate-members.html QDateEdit Class | qdateedit.html @@ -392,8 +392,8 @@ QDropEvent Class | qdropevent.html QDropEvent Member List | qdropevent-members.html QDropSite Class | ntqdropsite.html QDropSite Member List | qdropsite-members.html -QEditorFactory Class | ntqeditorfactory.html -QEditorFactory Member List | qeditorfactory-members.html +TQEditorFactory Class | tqeditorfactory.html +TQEditorFactory Member List | tqeditorfactory-members.html QEmbed - File and Image Embedder | qembed.html QErrorMessage Class | ntqerrormessage.html QErrorMessage Member List | qerrormessage-members.html @@ -779,40 +779,40 @@ QSplashScreen Class | ntqsplashscreen.html QSplashScreen Member List | qsplashscreen-members.html QSplitter Class | ntqsplitter.html QSplitter Member List | qsplitter-members.html -QSql Class | ntqsql.html -QSql Member List | qsql-members.html -QSqlCursor Class | ntqsqlcursor.html -QSqlCursor Member List | qsqlcursor-members.html -QSqlDatabase Class | ntqsqldatabase.html -QSqlDatabase Member List | qsqldatabase-members.html -QSqlDriver Class | ntqsqldriver.html -QSqlDriver Member List | qsqldriver-members.html -QSqlDriverPlugin Class | ntqsqldriverplugin.html -QSqlDriverPlugin Member List | qsqldriverplugin-members.html -QSqlEditorFactory Class | ntqsqleditorfactory.html -QSqlEditorFactory Member List | qsqleditorfactory-members.html -QSqlError Class | ntqsqlerror.html -QSqlError Member List | qsqlerror-members.html -QSqlField Class | ntqsqlfield.html -QSqlField Member List | qsqlfield-members.html -QSqlFieldInfo Class | qsqlfieldinfo.html -QSqlFieldInfo Member List | qsqlfieldinfo-members.html -QSqlForm Class | ntqsqlform.html -QSqlForm Member List | qsqlform-members.html -QSqlIndex Class | ntqsqlindex.html -QSqlIndex Member List | qsqlindex-members.html -QSqlPropertyMap Class | ntqsqlpropertymap.html -QSqlPropertyMap Member List | qsqlpropertymap-members.html -QSqlQuery Class | ntqsqlquery.html -QSqlQuery Member List | qsqlquery-members.html -QSqlRecord Class | ntqsqlrecord.html -QSqlRecord Member List | qsqlrecord-members.html -QSqlRecordInfo Class | qsqlrecordinfo.html -QSqlRecordInfo Member List | qsqlrecordinfo-members.html -QSqlResult Class | ntqsqlresult.html -QSqlResult Member List | qsqlresult-members.html -QSqlSelectCursor Class | ntqsqlselectcursor.html -QSqlSelectCursor Member List | qsqlselectcursor-members.html +TQSql Class | tqsql.html +TQSql Member List | tqsql-members.html +TQSqlCursor Class | tqsqlcursor.html +TQSqlCursor Member List | tqsqlcursor-members.html +TQSqlDatabase Class | tqsqldatabase.html +TQSqlDatabase Member List | tqsqldatabase-members.html +TQSqlDriver Class | tqsqldriver.html +TQSqlDriver Member List | tqsqldriver-members.html +TQSqlDriverPlugin Class | tqsqldriverplugin.html +TQSqlDriverPlugin Member List | tqsqldriverplugin-members.html +TQSqlEditorFactory Class | tqsqleditorfactory.html +TQSqlEditorFactory Member List | tqsqleditorfactory-members.html +TQSqlError Class | tqsqlerror.html +TQSqlError Member List | tqsqlerror-members.html +TQSqlField Class | tqsqlfield.html +TQSqlField Member List | tqsqlfield-members.html +TQSqlFieldInfo Class | tqsqlfieldinfo.html +TQSqlFieldInfo Member List | tqsqlfieldinfo-members.html +TQSqlForm Class | tqsqlform.html +TQSqlForm Member List | tqsqlform-members.html +TQSqlIndex Class | tqsqlindex.html +TQSqlIndex Member List | tqsqlindex-members.html +TQSqlPropertyMap Class | tqsqlpropertymap.html +TQSqlPropertyMap Member List | tqsqlpropertymap-members.html +TQSqlQuery Class | tqsqlquery.html +TQSqlQuery Member List | tqsqlquery-members.html +TQSqlRecord Class | tqsqlrecord.html +TQSqlRecord Member List | tqsqlrecord-members.html +TQSqlRecordInfo Class | tqsqlrecordinfo.html +TQSqlRecordInfo Member List | tqsqlrecordinfo-members.html +TQSqlResult Class | tqsqlresult.html +TQSqlResult Member List | tqsqlresult-members.html +TQSqlSelectCursor Class | tqsqlselectcursor.html +TQSqlSelectCursor Member List | tqsqlselectcursor-members.html QStatusBar Class | ntqstatusbar.html QStatusBar Member List | qstatusbar-members.html QStoredDrag Class | qstoreddrag.html @@ -1199,10 +1199,10 @@ ntqcommonstyle.h Include File | qcommonstyle-h.html qcopchannel_qws.h Include File | qcopchannel_qws-h.html ntqcstring.h Include File | qcstring-h.html ntqcursor.h Include File | qcursor-h.html -ntqdatabrowser.h Include File | qdatabrowser-h.html +tqdatabrowser.h Include File | tqdatabrowser-h.html ntqdatastream.h Include File | qdatastream-h.html -ntqdatatable.h Include File | qdatatable-h.html -ntqdataview.h Include File | qdataview-h.html +tqdatatable.h Include File | tqdatatable-h.html +tqdataview.h Include File | tqdataview-h.html ntqdatetime.h Include File | qdatetime-h.html ntqdatetimeedit.h Include File | qdatetimeedit-h.html ntqdeepcopy.h Include File | qdeepcopy-h.html @@ -1219,7 +1219,7 @@ ntqdom.h Include File | qdom-h.html ntqdragobject.h Include File | qdragobject-h.html ntqdrawutil.h Include File | qdrawutil-h.html ntqdropsite.h Include File | qdropsite-h.html -ntqeditorfactory.h Include File | qeditorfactory-h.html +tqeditorfactory.h Include File | tqeditorfactory-h.html ntqerrormessage.h Include File | qerrormessage-h.html ntqeucjpcodec.h Include File | qeucjpcodec-h.html ntqeuckrcodec.h Include File | qeuckrcodec-h.html @@ -1356,21 +1356,21 @@ ntqsound.h Include File | qsound-h.html ntqspinbox.h Include File | qspinbox-h.html ntqsplashscreen.h Include File | qsplashscreen-h.html ntqsplitter.h Include File | qsplitter-h.html -ntqsql.h Include File | qsql-h.html -ntqsqlcursor.h Include File | qsqlcursor-h.html -ntqsqldatabase.h Include File | qsqldatabase-h.html -ntqsqldriver.h Include File | qsqldriver-h.html -ntqsqldriverplugin.h Include File | qsqldriverplugin-h.html -ntqsqleditorfactory.h Include File | qsqleditorfactory-h.html -ntqsqlerror.h Include File | qsqlerror-h.html -ntqsqlfield.h Include File | qsqlfield-h.html -ntqsqlform.h Include File | qsqlform-h.html -ntqsqlindex.h Include File | qsqlindex-h.html -ntqsqlpropertymap.h Include File | qsqlpropertymap-h.html -ntqsqlquery.h Include File | qsqlquery-h.html -ntqsqlrecord.h Include File | qsqlrecord-h.html -ntqsqlresult.h Include File | qsqlresult-h.html -ntqsqlselectcursor.h Include File | qsqlselectcursor-h.html +tqsql.h Include File | tqsql-h.html +tqsqlcursor.h Include File | tqsqlcursor-h.html +tqsqldatabase.h Include File | tqsqldatabase-h.html +tqsqldriver.h Include File | tqsqldriver-h.html +tqsqldriverplugin.h Include File | tqsqldriverplugin-h.html +tqsqleditorfactory.h Include File | tqsqleditorfactory-h.html +tqsqlerror.h Include File | tqsqlerror-h.html +tqsqlfield.h Include File | tqsqlfield-h.html +tqsqlform.h Include File | tqsqlform-h.html +tqsqlindex.h Include File | tqsqlindex-h.html +tqsqlpropertymap.h Include File | tqsqlpropertymap-h.html +tqsqlquery.h Include File | tqsqlquery-h.html +tqsqlrecord.h Include File | tqsqlrecord-h.html +tqsqlresult.h Include File | tqsqlresult-h.html +tqsqlselectcursor.h Include File | tqsqlselectcursor-h.html ntqstatusbar.h Include File | qstatusbar-h.html ntqstring.h Include File | qstring-h.html ntqstringlist.h Include File | qstringlist-h.html diff --git a/doc/html/qdatabrowser-h.html b/doc/html/tqdatabrowser-h.html index e0028d74a..5d5da466c 100644 --- a/doc/html/qdatabrowser-h.html +++ b/doc/html/tqdatabrowser-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqdatabrowser.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqdatabrowser.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqdatabrowser.h Include File</title> +<title>tqdatabrowser.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqdatabrowser.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqdatabrowser.h</h1> -<p>This is the verbatim text of the ntqdatabrowser.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqdatabrowser.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -80,10 +80,10 @@ body { background: #ffffff; color: black; } #include "ntqwidget.h" #include "ntqstring.h" #include "ntqstringlist.h" -#include "ntqsql.h" -#include "ntqsqlindex.h" -#include "ntqsqlcursor.h" -#include "ntqsqlerror.h" +#include "tqsql.h" +#include "tqsqlindex.h" +#include "tqsqlcursor.h" +#include "tqsqlerror.h" #endif // QT_H #ifndef TQT_NO_SQL_VIEW_WIDGETS diff --git a/doc/html/qdatabrowser-members.html b/doc/html/tqdatabrowser-members.html index a0338c6a4..61c2ceaf0 100644 --- a/doc/html/qdatabrowser-members.html +++ b/doc/html/tqdatabrowser-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqdatabrowser.h:55 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqdatabrowser.h:55 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,14 +32,14 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQDataBrowser</h1> <p>This is the complete list of member functions for -<a href="ntqdatabrowser.html">TQDataBrowser</a>, including inherited members. +<a href="tqdatabrowser.html">TQDataBrowser</a>, including inherited members. <ul> -<li><a href="ntqdatabrowser.html#TQDataBrowser">TQDataBrowser</a>() -<li><a href="ntqdatabrowser.html#~TQDataBrowser">~TQDataBrowser</a>() +<li><a href="tqdatabrowser.html#TQDataBrowser">TQDataBrowser</a>() +<li><a href="tqdatabrowser.html#~TQDataBrowser">~TQDataBrowser</a>() <li><a href="ntqwidget.html#acceptDrops">acceptDrops</a>() <li><a href="ntqwidget.html#adjustSize">adjustSize</a>() -<li><a href="ntqdatabrowser.html#autoEdit">autoEdit</a>() +<li><a href="tqdatabrowser.html#autoEdit">autoEdit</a>() <li><a href="ntqwidget.html#autoMask">autoMask</a>() <li><a href="ntqwidget.html#backgroundBrush">backgroundBrush</a>() <li><a href="ntqwidget.html#backgroundColor">backgroundColor</a>() @@ -47,12 +47,12 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#backgroundOrigin">backgroundOrigin</a>() <li><a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() <li><a href="ntqwidget.html#baseSize">baseSize</a>() -<li><a href="ntqdatabrowser.html#beforeDelete">beforeDelete</a>() -<li><a href="ntqdatabrowser.html#beforeInsert">beforeInsert</a>() -<li><a href="ntqdatabrowser.html#beforeUpdate">beforeUpdate</a>() +<li><a href="tqdatabrowser.html#beforeDelete">beforeDelete</a>() +<li><a href="tqdatabrowser.html#beforeInsert">beforeInsert</a>() +<li><a href="tqdatabrowser.html#beforeUpdate">beforeUpdate</a>() <li><a href="tqobject.html#blockSignals">blockSignals</a>() -<li><a href="ntqdatabrowser.html#boundary">boundary</a>() -<li><a href="ntqdatabrowser.html#boundaryChecking">boundaryChecking</a>() +<li><a href="tqdatabrowser.html#boundary">boundary</a>() +<li><a href="tqdatabrowser.html#boundaryChecking">boundaryChecking</a>() <li><a href="ntqwidget.html#caption">caption</a>() <li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() <li><a href="tqobject.html#child">child</a>() @@ -64,33 +64,33 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#className">className</a>() <li><a href="ntqwidget.html#clearFocus">clearFocus</a>() <li><a href="ntqwidget.html#clearMask">clearMask</a>() -<li><a href="ntqdatabrowser.html#clearValues">clearValues</a>() +<li><a href="tqdatabrowser.html#clearValues">clearValues</a>() <li><a href="ntqwidget.html#clearWFlags">clearWFlags</a>() <li><a href="ntqwidget.html#clipRegion">clipRegion</a>() <li><a href="ntqwidget.html#close">close</a>() <li><a href="ntqwidget.html#closeEvent">closeEvent</a>() <li><a href="ntqpaintdevice.html#cmd">cmd</a>() <li><a href="ntqwidget.html#colorGroup">colorGroup</a>() -<li><a href="ntqdatabrowser.html#confirmCancel">confirmCancel</a>() -<li><a href="ntqdatabrowser.html#confirmCancels">confirmCancels</a>() -<li><a href="ntqdatabrowser.html#confirmDelete">confirmDelete</a>() -<li><a href="ntqdatabrowser.html#confirmEdit">confirmEdit</a>() -<li><a href="ntqdatabrowser.html#confirmEdits">confirmEdits</a>() -<li><a href="ntqdatabrowser.html#confirmInsert">confirmInsert</a>() -<li><a href="ntqdatabrowser.html#confirmUpdate">confirmUpdate</a>() +<li><a href="tqdatabrowser.html#confirmCancel">confirmCancel</a>() +<li><a href="tqdatabrowser.html#confirmCancels">confirmCancels</a>() +<li><a href="tqdatabrowser.html#confirmDelete">confirmDelete</a>() +<li><a href="tqdatabrowser.html#confirmEdit">confirmEdit</a>() +<li><a href="tqdatabrowser.html#confirmEdits">confirmEdits</a>() +<li><a href="tqdatabrowser.html#confirmInsert">confirmInsert</a>() +<li><a href="tqdatabrowser.html#confirmUpdate">confirmUpdate</a>() <li><a href="tqobject.html#connect">connect</a>() <li><a href="tqobject.html#connectNotify">connectNotify</a>() <li><a href="ntqwidget.html#constPolish">constPolish</a>() <li><a href="ntqwidget.html#contextMenuEvent">contextMenuEvent</a>() <li><a href="ntqwidget.html#create">create</a>() -<li><a href="ntqdatabrowser.html#currentChanged">currentChanged</a>() -<li><a href="ntqdatabrowser.html#currentEdited">currentEdited</a>() +<li><a href="tqdatabrowser.html#currentChanged">currentChanged</a>() +<li><a href="tqdatabrowser.html#currentEdited">currentEdited</a>() <li><a href="ntqwidget.html#cursor">cursor</a>() -<li><a href="ntqdatabrowser.html#cursorChanged">cursorChanged</a>() +<li><a href="tqdatabrowser.html#cursorChanged">cursorChanged</a>() <li><a href="tqobject.html#customEvent">customEvent</a>() <li><a href="ntqwidget.html#customWhatsThis">customWhatsThis</a>() -<li><a href="ntqdatabrowser.html#del">del</a>() -<li><a href="ntqdatabrowser.html#deleteCurrent">deleteCurrent</a>() +<li><a href="tqdatabrowser.html#del">del</a>() +<li><a href="tqdatabrowser.html#deleteCurrent">deleteCurrent</a>() <li><a href="tqobject.html#deleteLater">deleteLater</a>() <li><a href="ntqwidget.html#destroy">destroy</a>() <li><a href="tqobject.html#destroyed">destroyed</a>() @@ -110,10 +110,10 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#erasePixmap">erasePixmap</a>() <li><a href="ntqwidget.html#event">event</a>() <li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="ntqdatabrowser.html#filter">filter</a>() +<li><a href="tqdatabrowser.html#filter">filter</a>() <li><a href="ntqwidget.html#find">find</a>() -<li><a href="ntqdatabrowser.html#first">first</a>() -<li><a href="ntqdatabrowser.html#firstRecordAvailable">firstRecordAvailable</a>() +<li><a href="tqdatabrowser.html#first">first</a>() +<li><a href="tqdatabrowser.html#firstRecordAvailable">firstRecordAvailable</a>() <li><a href="ntqwidget.html#focusData">focusData</a>() <li><a href="ntqwidget.html#focusInEvent">focusInEvent</a>() <li><a href="ntqwidget.html#focusNextPrevChild">focusNextPrevChild</a>() @@ -126,7 +126,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#fontInfo">fontInfo</a>() <li><a href="ntqwidget.html#fontMetrics">fontMetrics</a>() <li><a href="ntqwidget.html#foregroundColor">foregroundColor</a>() -<li><a href="ntqdatabrowser.html#form">form</a>() +<li><a href="tqdatabrowser.html#form">form</a>() <li><a href="ntqwidget.html#frameGeometry">frameGeometry</a>() <li><a href="ntqwidget.html#frameSize">frameSize</a>() <li><a href="ntqwidget.html#geometry">geometry</a>() @@ -134,7 +134,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#grabKeyboard">grabKeyboard</a>() <li><a href="ntqwidget.html#grabMouse">grabMouse</a>() <li><a href="ntqpaintdevice.html#handle">handle</a>() -<li><a href="ntqdatabrowser.html#handleError">handleError</a>() +<li><a href="tqdatabrowser.html#handleError">handleError</a>() <li><a href="ntqwidget.html#hasFocus">hasFocus</a>() <li><a href="ntqwidget.html#hasMouse">hasMouse</a>() <li><a href="ntqwidget.html#hasMouseTracking">hasMouseTracking</a>() @@ -150,9 +150,9 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#imEndEvent">imEndEvent</a>() <li><a href="ntqwidget.html#imStartEvent">imStartEvent</a>() <li><a href="tqobject.html#inherits">inherits</a>() -<li><a href="ntqdatabrowser.html#insert">insert</a>() +<li><a href="tqdatabrowser.html#insert">insert</a>() <li><a href="tqobject.html#insertChild">insertChild</a>() -<li><a href="ntqdatabrowser.html#insertCurrent">insertCurrent</a>() +<li><a href="tqdatabrowser.html#insertCurrent">insertCurrent</a>() <li><a href="tqobject.html#installEventFilter">installEventFilter</a>() <li><a href="tqobject.html#isA">isA</a>() <li><a href="ntqwidget.html#isActiveWindow">isActiveWindow</a>() @@ -170,7 +170,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#isMinimized">isMinimized</a>() <li><a href="ntqwidget.html#isModal">isModal</a>() <li><a href="ntqwidget.html#isPopup">isPopup</a>() -<li><a href="ntqdatabrowser.html#isReadOnly">isReadOnly</a>() +<li><a href="tqdatabrowser.html#isReadOnly">isReadOnly</a>() <li><a href="ntqwidget.html#isShown">isShown</a>() <li><a href="ntqwidget.html#isTopLevel">isTopLevel</a>() <li><a href="ntqwidget.html#isUpdatesEnabled">isUpdatesEnabled</a>() @@ -183,8 +183,8 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#keyboardGrabber">keyboardGrabber</a>() <li><a href="tqobject.html#killTimer">killTimer</a>() <li><a href="tqobject.html#killTimers">killTimers</a>() -<li><a href="ntqdatabrowser.html#last">last</a>() -<li><a href="ntqdatabrowser.html#lastRecordAvailable">lastRecordAvailable</a>() +<li><a href="tqdatabrowser.html#last">last</a>() +<li><a href="tqdatabrowser.html#lastRecordAvailable">lastRecordAvailable</a>() <li><a href="ntqwidget.html#layout">layout</a>() <li><a href="ntqwidget.html#leaveEvent">leaveEvent</a>() <li><a href="ntqwidget.html#lower">lower</a>() @@ -213,8 +213,8 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#move">move</a>() <li><a href="ntqwidget.html#moveEvent">moveEvent</a>() <li><a href="tqobject.html#name">name</a>() -<li><a href="ntqdatabrowser.html#next">next</a>() -<li><a href="ntqdatabrowser.html#nextRecordAvailable">nextRecordAvailable</a>() +<li><a href="tqdatabrowser.html#next">next</a>() +<li><a href="tqdatabrowser.html#nextRecordAvailable">nextRecordAvailable</a>() <li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() <li><a href="tqobject.html#objectTrees">objectTrees</a>() <li><a href="ntqwidget.html#ownCursor">ownCursor</a>() @@ -231,19 +231,19 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#parentWidget">parentWidget</a>() <li><a href="ntqwidget.html#polish">polish</a>() <li><a href="ntqwidget.html#pos">pos</a>() -<li><a href="ntqdatabrowser.html#prev">prev</a>() -<li><a href="ntqdatabrowser.html#prevRecordAvailable">prevRecordAvailable</a>() -<li><a href="ntqdatabrowser.html#primeDelete">primeDelete</a>() -<li><a href="ntqdatabrowser.html#primeInsert">primeInsert</a>() -<li><a href="ntqdatabrowser.html#primeUpdate">primeUpdate</a>() +<li><a href="tqdatabrowser.html#prev">prev</a>() +<li><a href="tqdatabrowser.html#prevRecordAvailable">prevRecordAvailable</a>() +<li><a href="tqdatabrowser.html#primeDelete">primeDelete</a>() +<li><a href="tqdatabrowser.html#primeInsert">primeInsert</a>() +<li><a href="tqdatabrowser.html#primeUpdate">primeUpdate</a>() <li><a href="tqobject.html#property">property</a>() <li><a href="tqobject.html#queryList">queryList</a>() <li><a href="ntqwidget.html#qwsEvent">qwsEvent</a>() <li><a href="ntqwidget.html#raise">raise</a>() -<li><a href="ntqdatabrowser.html#readFields">readFields</a>() +<li><a href="tqdatabrowser.html#readFields">readFields</a>() <li><a href="ntqwidget.html#recreate">recreate</a>() <li><a href="ntqwidget.html#rect">rect</a>() -<li><a href="ntqdatabrowser.html#refresh">refresh</a>() +<li><a href="tqdatabrowser.html#refresh">refresh</a>() <li><a href="ntqwidget.html#releaseKeyboard">releaseKeyboard</a>() <li><a href="ntqwidget.html#releaseMouse">releaseMouse</a>() <li><a href="tqobject.html#removeChild">removeChild</a>() @@ -254,30 +254,30 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#resize">resize</a>() <li><a href="ntqwidget.html#resizeEvent">resizeEvent</a>() <li><a href="ntqwidget.html#scroll">scroll</a>() -<li><a href="ntqdatabrowser.html#seek">seek</a>() +<li><a href="tqdatabrowser.html#seek">seek</a>() <li><a href="tqobject.html#sender">sender</a>() <li><a href="ntqwidget.html#setAcceptDrops">setAcceptDrops</a>() <li><a href="ntqwidget.html#setActiveWindow">setActiveWindow</a>() -<li><a href="ntqdatabrowser.html#setAutoEdit">setAutoEdit</a>() +<li><a href="tqdatabrowser.html#setAutoEdit">setAutoEdit</a>() <li><a href="ntqwidget.html#setAutoMask">setAutoMask</a>() <li><a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>() <li><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>() <li><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() <li><a href="ntqwidget.html#setBackgroundPixmap">setBackgroundPixmap</a>() <li><a href="ntqwidget.html#setBaseSize">setBaseSize</a>() -<li><a href="ntqdatabrowser.html#setBoundaryChecking">setBoundaryChecking</a>() +<li><a href="tqdatabrowser.html#setBoundaryChecking">setBoundaryChecking</a>() <li><a href="ntqwidget.html#setCaption">setCaption</a>() -<li><a href="ntqdatabrowser.html#setConfirmCancels">setConfirmCancels</a>() -<li><a href="ntqdatabrowser.html#setConfirmDelete">setConfirmDelete</a>() -<li><a href="ntqdatabrowser.html#setConfirmEdits">setConfirmEdits</a>() -<li><a href="ntqdatabrowser.html#setConfirmInsert">setConfirmInsert</a>() -<li><a href="ntqdatabrowser.html#setConfirmUpdate">setConfirmUpdate</a>() +<li><a href="tqdatabrowser.html#setConfirmCancels">setConfirmCancels</a>() +<li><a href="tqdatabrowser.html#setConfirmDelete">setConfirmDelete</a>() +<li><a href="tqdatabrowser.html#setConfirmEdits">setConfirmEdits</a>() +<li><a href="tqdatabrowser.html#setConfirmInsert">setConfirmInsert</a>() +<li><a href="tqdatabrowser.html#setConfirmUpdate">setConfirmUpdate</a>() <li><a href="ntqwidget.html#setCursor">setCursor</a>() <li><a href="ntqwidget.html#setDisabled">setDisabled</a>() <li><a href="ntqwidget.html#setEnabled">setEnabled</a>() <li><a href="ntqwidget.html#setEraseColor">setEraseColor</a>() <li><a href="ntqwidget.html#setErasePixmap">setErasePixmap</a>() -<li><a href="ntqdatabrowser.html#setFilter">setFilter</a>() +<li><a href="tqdatabrowser.html#setFilter">setFilter</a>() <li><a href="ntqwidget.html#setFixedHeight">setFixedHeight</a>() <li><a href="ntqwidget.html#setFixedSize">setFixedSize</a>() <li><a href="ntqwidget.html#setFixedWidth">setFixedWidth</a>() @@ -285,7 +285,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setFocusPolicy">setFocusPolicy</a>() <li><a href="ntqwidget.html#setFocusProxy">setFocusProxy</a>() <li><a href="ntqwidget.html#setFont">setFont</a>() -<li><a href="ntqdatabrowser.html#setForm">setForm</a>() +<li><a href="tqdatabrowser.html#setForm">setForm</a>() <li><a href="ntqwidget.html#setGeometry">setGeometry</a>() <li><a href="ntqwidget.html#setHidden">setHidden</a>() <li><a href="ntqwidget.html#setIcon">setIcon</a>() @@ -307,12 +307,12 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>() <li><a href="ntqwidget.html#setPaletteForegroundColor">setPaletteForegroundColor</a>() <li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="ntqdatabrowser.html#setReadOnly">setReadOnly</a>() +<li><a href="tqdatabrowser.html#setReadOnly">setReadOnly</a>() <li><a href="ntqwidget.html#setShown">setShown</a>() <li><a href="ntqwidget.html#setSizeIncrement">setSizeIncrement</a>() <li><a href="ntqwidget.html#setSizePolicy">setSizePolicy</a>() -<li><a href="ntqdatabrowser.html#setSort">setSort</a>() -<li><a href="ntqdatabrowser.html#setSqlCursor">setSqlCursor</a>() +<li><a href="tqdatabrowser.html#setSort">setSort</a>() +<li><a href="tqdatabrowser.html#setSqlCursor">setSqlCursor</a>() <li><a href="ntqwidget.html#setStyle">setStyle</a>() <li><a href="ntqwidget.html#setTabOrder">setTabOrder</a>() <li><a href="ntqwidget.html#setUpdatesEnabled">setUpdatesEnabled</a>() @@ -330,8 +330,8 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#sizeHint">sizeHint</a>() <li><a href="ntqwidget.html#sizeIncrement">sizeIncrement</a>() <li><a href="ntqwidget.html#sizePolicy">sizePolicy</a>() -<li><a href="ntqdatabrowser.html#sort">sort</a>() -<li><a href="ntqdatabrowser.html#sqlCursor">sqlCursor</a>() +<li><a href="tqdatabrowser.html#sort">sort</a>() +<li><a href="tqdatabrowser.html#sqlCursor">sqlCursor</a>() <li><a href="ntqwidget.html#stackUnder">stackUnder</a>() <li><a href="tqobject.html#startTimer">startTimer</a>() <li><a href="ntqwidget.html#style">style</a>() @@ -345,9 +345,9 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#unsetCursor">unsetCursor</a>() <li><a href="ntqwidget.html#unsetFont">unsetFont</a>() <li><a href="ntqwidget.html#unsetPalette">unsetPalette</a>() -<li><a href="ntqdatabrowser.html#update">update</a>() -<li><a href="ntqdatabrowser.html#updateBoundary">updateBoundary</a>() -<li><a href="ntqdatabrowser.html#updateCurrent">updateCurrent</a>() +<li><a href="tqdatabrowser.html#update">update</a>() +<li><a href="tqdatabrowser.html#updateBoundary">updateBoundary</a>() +<li><a href="tqdatabrowser.html#updateCurrent">updateCurrent</a>() <li><a href="ntqwidget.html#updateGeometry">updateGeometry</a>() <li><a href="ntqwidget.html#updateMask">updateMask</a>() <li><a href="ntqwidget.html#visibleRect">visibleRect</a>() @@ -358,7 +358,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#windowActivationChange">windowActivationChange</a>() <li><a href="ntqwidget.html#windowOpacity">windowOpacity</a>() <li><a href="ntqwidget.html#windowState">windowState</a>() -<li><a href="ntqdatabrowser.html#writeFields">writeFields</a>() +<li><a href="tqdatabrowser.html#writeFields">writeFields</a>() <li><a href="ntqwidget.html#x">x</a>() <li><a href="ntqpaintdevice.html#x11AppCells">x11AppCells</a>() <li><a href="ntqpaintdevice.html#x11AppColormap">x11AppColormap</a>() diff --git a/doc/html/ntqdatabrowser.html b/doc/html/tqdatabrowser.html index baa33d688..bddce5066 100644 --- a/doc/html/ntqdatabrowser.html +++ b/doc/html/tqdatabrowser.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qdatabrowser.cpp:56 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqdatabrowser.cpp:56 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQDataBrowser class provides data manipulation and navigation for data entry forms. <a href="#details">More...</a> -<p><tt>#include <<a href="qdatabrowser-h.html">ntqdatabrowser.h</a>></tt> +<p><tt>#include <<a href="tqdatabrowser-h.html">tqdatabrowser.h</a>></tt> <p>Inherits <a href="ntqwidget.html">TQWidget</a>. -<p><a href="qdatabrowser-members.html">List of all member functions.</a> +<p><a href="tqdatabrowser-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQDataBrowser"><b>TQDataBrowser</b></a> ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )</li> @@ -135,8 +135,8 @@ navigation for data entry forms. in a cursor, for inserting, updating and deleting records, and for refreshing data in the display. <p> If you want a read-only form to present database data use -<a href="ntqdataview.html">TQDataView</a>; if you want a table-based presentation of your data use -<a href="ntqdatatable.html">TQDataTable</a>. +<a href="tqdataview.html">TQDataView</a>; if you want a table-based presentation of your data use +<a href="tqdatatable.html">TQDataTable</a>. <p> A TQDataBrowser is used to associate a dataset with a form in much the same way as a TQDataTable associates a dataset with a table. Once the data browser has been constructed it can be associated @@ -217,8 +217,8 @@ Destroys the object and frees any allocated resources. <h3 class=fn>bool <a name="autoEdit"></a>TQDataBrowser::autoEdit () const </h3><p>Returns TRUE if the browser automatically applies edits; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#autoEdit-prop">"autoEdit"</a> property for details. -<h3 class=fn>void <a name="beforeDelete"></a>TQDataBrowser::beforeDelete ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +See the <a href="tqdatabrowser.html#autoEdit-prop">"autoEdit"</a> property for details. +<h3 class=fn>void <a name="beforeDelete"></a>TQDataBrowser::beforeDelete ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted just before the cursor's edit buffer is @@ -226,7 +226,7 @@ deleted from the database. The <em>buf</em> parameter points to the edit buffer being deleted. You might connect to this signal to capture some auditing information about the deletion. -<h3 class=fn>void <a name="beforeInsert"></a>TQDataBrowser::beforeInsert ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="beforeInsert"></a>TQDataBrowser::beforeInsert ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted just before the cursor's edit buffer is @@ -234,7 +234,7 @@ inserted into the database. The <em>buf</em> parameter points to the edit buffer being inserted. You might connect to this signal to populate a generated primary key for example. -<h3 class=fn>void <a name="beforeUpdate"></a>TQDataBrowser::beforeUpdate ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="beforeUpdate"></a>TQDataBrowser::beforeUpdate ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted just before the cursor's edit buffer is @@ -242,7 +242,7 @@ updated in the database. The <em>buf</em> parameter points to the edit buffer being updated. You might connect to this signal to capture some auditing information about the update. -<h3 class=fn><a href="ntqdatabrowser.html#Boundary-enum">Boundary</a> <a name="boundary"></a>TQDataBrowser::boundary () +<h3 class=fn><a href="tqdatabrowser.html#Boundary-enum">Boundary</a> <a name="boundary"></a>TQDataBrowser::boundary () </h3> Returns an enum indicating the boundary status of the browser. <p> This is achieved by moving the default cursor and checking the @@ -253,7 +253,7 @@ to its former position. See <a href="#Boundary-enum">TQDataBrowser::Boundary</a> <h3 class=fn>bool <a name="boundaryChecking"></a>TQDataBrowser::boundaryChecking () const </h3><p>Returns TRUE if boundary checking is active; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#boundaryChecking-prop">"boundaryChecking"</a> property for details. +See the <a href="tqdatabrowser.html#boundaryChecking-prop">"boundaryChecking"</a> property for details. <h3 class=fn>void <a name="clearValues"></a>TQDataBrowser::clearValues ()<tt> [virtual slot]</tt> </h3> Clears all the values in the form. @@ -261,10 +261,10 @@ Clears all the values in the form. e.g. 0 for numeric fields and "" for string fields. Then the widgets are updated using the property map. For example, a combobox that is property-mapped to integers would scroll to the -first item. See the <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> constructor for the default +first item. See the <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> constructor for the default mappings of widgets to properties. -<h3 class=fn><a href="ntqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmCancel"></a>TQDataBrowser::confirmCancel ( <a href="ntqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> +<h3 class=fn><a href="tqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmCancel"></a>TQDataBrowser::confirmCancel ( <a href="tqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> </h3> Protected virtual function which returns a confirmation for cancelling an edit mode <em>m</em>. Derived classes can reimplement this @@ -274,11 +274,11 @@ confirm the edit action. <h3 class=fn>bool <a name="confirmCancels"></a>TQDataBrowser::confirmCancels () const </h3><p>Returns TRUE if the browser confirms cancel operations; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#confirmCancels-prop">"confirmCancels"</a> property for details. +See the <a href="tqdatabrowser.html#confirmCancels-prop">"confirmCancels"</a> property for details. <h3 class=fn>bool <a name="confirmDelete"></a>TQDataBrowser::confirmDelete () const </h3><p>Returns TRUE if the browser confirms deletions; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#confirmDelete-prop">"confirmDelete"</a> property for details. -<h3 class=fn><a href="ntqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmEdit"></a>TQDataBrowser::confirmEdit ( <a href="ntqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> +See the <a href="tqdatabrowser.html#confirmDelete-prop">"confirmDelete"</a> property for details. +<h3 class=fn><a href="tqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmEdit"></a>TQDataBrowser::confirmEdit ( <a href="tqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> </h3> Protected virtual function which returns a confirmation for an edit of mode <em>m</em>. Derived classes can reimplement this function @@ -288,14 +288,14 @@ confirm the edit action. <h3 class=fn>bool <a name="confirmEdits"></a>TQDataBrowser::confirmEdits () const </h3><p>Returns TRUE if the browser confirms edits; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#confirmEdits-prop">"confirmEdits"</a> property for details. +See the <a href="tqdatabrowser.html#confirmEdits-prop">"confirmEdits"</a> property for details. <h3 class=fn>bool <a name="confirmInsert"></a>TQDataBrowser::confirmInsert () const </h3><p>Returns TRUE if the data browser confirms insertions; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#confirmInsert-prop">"confirmInsert"</a> property for details. +See the <a href="tqdatabrowser.html#confirmInsert-prop">"confirmInsert"</a> property for details. <h3 class=fn>bool <a name="confirmUpdate"></a>TQDataBrowser::confirmUpdate () const </h3><p>Returns TRUE if the browser confirms updates; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. -<h3 class=fn>void <a name="currentChanged"></a>TQDataBrowser::currentChanged ( const <a href="ntqsqlrecord.html">TQSqlRecord</a> * record )<tt> [signal]</tt> +See the <a href="tqdatabrowser.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. +<h3 class=fn>void <a name="currentChanged"></a>TQDataBrowser::currentChanged ( const <a href="tqsqlrecord.html">TQSqlRecord</a> * record )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever the current cursor position @@ -307,12 +307,12 @@ current cursor's record. Returns TRUE if the form's edit buffer differs from the current cursor buffer; otherwise returns FALSE. -<h3 class=fn>void <a name="cursorChanged"></a>TQDataBrowser::cursorChanged ( <a href="ntqsqlcursor.html#Mode-enum">TQSqlCursor::Mode</a> mode )<tt> [signal]</tt> +<h3 class=fn>void <a name="cursorChanged"></a>TQDataBrowser::cursorChanged ( <a href="tqsqlcursor.html#Mode-enum">TQSqlCursor::Mode</a> mode )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever the cursor record was changed due to navigation. The <em>mode</em> parameter is the edit that just took -place, e.g. Insert, Update or Delete. See <a href="ntqsqlcursor.html#Mode-enum">TQSqlCursor::Mode</a>. +place, e.g. Insert, Update or Delete. See <a href="tqsqlcursor.html#Mode-enum">TQSqlCursor::Mode</a>. <h3 class=fn>void <a name="del"></a>TQDataBrowser::del ()<tt> [virtual slot]</tt> </h3> @@ -339,7 +339,7 @@ called and FALSE is returned. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="filter"></a>TQDataBrowser::filter () const </h3><p>Returns the data browser's filter. -See the <a href="ntqdatabrowser.html#filter-prop">"filter"</a> property for details. +See the <a href="tqdatabrowser.html#filter-prop">"filter"</a> property for details. <h3 class=fn>void <a name="first"></a>TQDataBrowser::first ()<tt> [virtual slot]</tt> </h3> Moves the default cursor to the first record and refreshes the @@ -357,12 +357,12 @@ happens. changes. The <em>available</em> parameter indicates whether or not the first record in the default cursor is available. -<h3 class=fn><a href="ntqsqlform.html">TQSqlForm</a> * <a name="form"></a>TQDataBrowser::form () +<h3 class=fn><a href="tqsqlform.html">TQSqlForm</a> * <a name="form"></a>TQDataBrowser::form () </h3> Returns the data browser's default form or 0 if no form has been set. -<h3 class=fn>void <a name="handleError"></a>TQDataBrowser::handleError ( const <a href="ntqsqlerror.html">TQSqlError</a> & error )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="handleError"></a>TQDataBrowser::handleError ( const <a href="tqsqlerror.html">TQSqlError</a> & error )<tt> [virtual protected]</tt> </h3> Virtual function which handles the error <em>error</em>. The default implementation warns the user with a message box. @@ -385,7 +385,7 @@ the current form's data (i.e. with the changes). begins actively inserting a record into the database by performing the following actions: <p> <ul> -<li> The default cursor is primed for insert using <a href="ntqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>(). +<li> The default cursor is primed for insert using <a href="tqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>(). <li> The <a href="#primeInsert">primeInsert</a>() signal is emitted. <li> The form is updated with the values in the default cursor's. edit buffer so that the user can fill in the values to be inserted. @@ -404,7 +404,7 @@ refreshed and relocated to the newly inserted record, the <h3 class=fn>bool <a name="isReadOnly"></a>TQDataBrowser::isReadOnly () const </h3><p>Returns TRUE if the browser is read-only; otherwise returns FALSE. -See the <a href="ntqdatabrowser.html#readOnly-prop">"readOnly"</a> property for details. +See the <a href="tqdatabrowser.html#readOnly-prop">"readOnly"</a> property for details. <h3 class=fn>void <a name="last"></a>TQDataBrowser::last ()<tt> [virtual slot]</tt> </h3> Moves the default cursor to the last record and refreshes the @@ -454,36 +454,36 @@ is primed for update and the <a href="#primeUpdate">primeUpdate</a>() signal is changes. The <em>available</em> parameter indicates whether or not the previous record in the default cursor is available. -<h3 class=fn>void <a name="primeDelete"></a>TQDataBrowser::primeDelete ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="primeDelete"></a>TQDataBrowser::primeDelete ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted when the data browser enters deletion mode. The <em>buf</em> parameter points to the record buffer being deleted. -(Note that <a href="ntqsqlcursor.html#primeDelete">TQSqlCursor::primeDelete</a>() is <em>not</em> called on the +(Note that <a href="tqsqlcursor.html#primeDelete">TQSqlCursor::primeDelete</a>() is <em>not</em> called on the default cursor, as this would corrupt values in the form.) Connect to this signal in order to, for example, save a copy of the deleted record for auditing purposes. <p> <p>See also <a href="#del">del</a>(). -<h3 class=fn>void <a name="primeInsert"></a>TQDataBrowser::primeInsert ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="primeInsert"></a>TQDataBrowser::primeInsert ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted when the data browser enters insertion mode. The <em>buf</em> parameter points to the record buffer that is to be inserted. Connect to this signal to, for example, <a href="primes.html#prime">prime</a> the record buffer with default data values, auto-numbered fields etc. -(Note that <a href="ntqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() is <em>not</em> called on the +(Note that <a href="tqsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() is <em>not</em> called on the default cursor, as this would corrupt values in the form.) <p> <p>See also <a href="#insert">insert</a>(). -<h3 class=fn>void <a name="primeUpdate"></a>TQDataBrowser::primeUpdate ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="primeUpdate"></a>TQDataBrowser::primeUpdate ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted when the data browser enters update mode. Note that during navigation (<a href="#first">first</a>(), <a href="#last">last</a>(), <a href="#next">next</a>(), <a href="#prev">prev</a>()), each record that is shown in the default form is primed for update. The <em>buf</em> parameter points to the record buffer being -updated. (Note that <a href="ntqsqlcursor.html#primeUpdate">TQSqlCursor::primeUpdate</a>() is <em>not</em> called on +updated. (Note that <a href="tqsqlcursor.html#primeUpdate">TQSqlCursor::primeUpdate</a>() is <em>not</em> called on the default cursor, as this would corrupt values in the form.) Connect to this signal in order to, for example, keep track of which records have been updated, perhaps for auditing purposes. @@ -515,29 +515,29 @@ happens. <h3 class=fn>void <a name="setAutoEdit"></a>TQDataBrowser::setAutoEdit ( bool autoEdit )<tt> [virtual]</tt> </h3><p>Sets whether the browser automatically applies edits to <em>autoEdit</em>. -See the <a href="ntqdatabrowser.html#autoEdit-prop">"autoEdit"</a> property for details. +See the <a href="tqdatabrowser.html#autoEdit-prop">"autoEdit"</a> property for details. <h3 class=fn>void <a name="setBoundaryChecking"></a>TQDataBrowser::setBoundaryChecking ( bool active ) </h3><p>Sets whether boundary checking is active to <em>active</em>. -See the <a href="ntqdatabrowser.html#boundaryChecking-prop">"boundaryChecking"</a> property for details. +See the <a href="tqdatabrowser.html#boundaryChecking-prop">"boundaryChecking"</a> property for details. <h3 class=fn>void <a name="setConfirmCancels"></a>TQDataBrowser::setConfirmCancels ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the browser confirms cancel operations to <em>confirm</em>. -See the <a href="ntqdatabrowser.html#confirmCancels-prop">"confirmCancels"</a> property for details. +See the <a href="tqdatabrowser.html#confirmCancels-prop">"confirmCancels"</a> property for details. <h3 class=fn>void <a name="setConfirmDelete"></a>TQDataBrowser::setConfirmDelete ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the browser confirms deletions to <em>confirm</em>. -See the <a href="ntqdatabrowser.html#confirmDelete-prop">"confirmDelete"</a> property for details. +See the <a href="tqdatabrowser.html#confirmDelete-prop">"confirmDelete"</a> property for details. <h3 class=fn>void <a name="setConfirmEdits"></a>TQDataBrowser::setConfirmEdits ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the browser confirms edits to <em>confirm</em>. -See the <a href="ntqdatabrowser.html#confirmEdits-prop">"confirmEdits"</a> property for details. +See the <a href="tqdatabrowser.html#confirmEdits-prop">"confirmEdits"</a> property for details. <h3 class=fn>void <a name="setConfirmInsert"></a>TQDataBrowser::setConfirmInsert ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the data browser confirms insertions to <em>confirm</em>. -See the <a href="ntqdatabrowser.html#confirmInsert-prop">"confirmInsert"</a> property for details. +See the <a href="tqdatabrowser.html#confirmInsert-prop">"confirmInsert"</a> property for details. <h3 class=fn>void <a name="setConfirmUpdate"></a>TQDataBrowser::setConfirmUpdate ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the browser confirms updates to <em>confirm</em>. -See the <a href="ntqdatabrowser.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. +See the <a href="tqdatabrowser.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. <h3 class=fn>void <a name="setFilter"></a>TQDataBrowser::setFilter ( const <a href="ntqstring.html">TQString</a> & filter ) </h3><p>Sets the data browser's filter to <em>filter</em>. -See the <a href="ntqdatabrowser.html#filter-prop">"filter"</a> property for details. -<h3 class=fn>void <a name="setForm"></a>TQDataBrowser::setForm ( <a href="ntqsqlform.html">TQSqlForm</a> * form )<tt> [virtual]</tt> +See the <a href="tqdatabrowser.html#filter-prop">"filter"</a> property for details. +<h3 class=fn>void <a name="setForm"></a>TQDataBrowser::setForm ( <a href="tqsqlform.html">TQSqlForm</a> * form )<tt> [virtual]</tt> </h3> Sets the browser's default form to <em>form</em>. The cursor and all navigation and data manipulation functions that the browser @@ -545,17 +545,17 @@ provides become available to the <em>form</em>. <h3 class=fn>void <a name="setReadOnly"></a>TQDataBrowser::setReadOnly ( bool active )<tt> [virtual]</tt> </h3><p>Sets whether the browser is read-only to <em>active</em>. -See the <a href="ntqdatabrowser.html#readOnly-prop">"readOnly"</a> property for details. +See the <a href="tqdatabrowser.html#readOnly-prop">"readOnly"</a> property for details. <h3 class=fn>void <a name="setSort"></a>TQDataBrowser::setSort ( const <a href="ntqstringlist.html">TQStringList</a> & sort ) </h3><p>Sets the data browser's sort to <em>sort</em>. -See the <a href="ntqdatabrowser.html#sort-prop">"sort"</a> property for details. -<h3 class=fn>void <a name="setSort-2"></a>TQDataBrowser::setSort ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & sort ) +See the <a href="tqdatabrowser.html#sort-prop">"sort"</a> property for details. +<h3 class=fn>void <a name="setSort-2"></a>TQDataBrowser::setSort ( const <a href="tqsqlindex.html">TQSqlIndex</a> & sort ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Sets the data browser's sort to the <a href="ntqsqlindex.html">TQSqlIndex</a> <em>sort</em>. To apply +<p> Sets the data browser's sort to the <a href="tqsqlindex.html">TQSqlIndex</a> <em>sort</em>. To apply the new sort, use <a href="#refresh">refresh</a>(). <p> -<h3 class=fn>void <a name="setSqlCursor"></a>TQDataBrowser::setSqlCursor ( <a href="ntqsqlcursor.html">TQSqlCursor</a> * cursor, bool autoDelete = FALSE )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setSqlCursor"></a>TQDataBrowser::setSqlCursor ( <a href="tqsqlcursor.html">TQSqlCursor</a> * cursor, bool autoDelete = FALSE )<tt> [virtual]</tt> </h3> Sets the default cursor used by the data browser to <em>cursor</em>. If <em>autoDelete</em> is TRUE (the default is FALSE), the data browser @@ -567,8 +567,8 @@ buffer is used in the default form to browse and edit records. <h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="sort"></a>TQDataBrowser::sort () const </h3><p>Returns the data browser's sort. -See the <a href="ntqdatabrowser.html#sort-prop">"sort"</a> property for details. -<h3 class=fn><a href="ntqsqlcursor.html">TQSqlCursor</a> * <a name="sqlCursor"></a>TQDataBrowser::sqlCursor () const +See the <a href="tqdatabrowser.html#sort-prop">"sort"</a> property for details. +<h3 class=fn><a href="tqsqlcursor.html">TQSqlCursor</a> * <a name="sqlCursor"></a>TQDataBrowser::sqlCursor () const </h3> Returns the default cursor used for navigation, or 0 if there is no default cursor. diff --git a/doc/html/qdatatable-h.html b/doc/html/tqdatatable-h.html index 36fca8a47..783eb241e 100644 --- a/doc/html/qdatatable-h.html +++ b/doc/html/tqdatatable-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqdatatable.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqdatatable.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqdatatable.h Include File</title> +<title>tqdatatable.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqdatatable.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqdatatable.h</h1> -<p>This is the verbatim text of the ntqdatatable.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqdatatable.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -80,10 +80,10 @@ body { background: #ffffff; color: black; } #include "ntqstring.h" #include "ntqvariant.h" #include "ntqtable.h" -#include "ntqsql.h" -#include "ntqsqlcursor.h" -#include "ntqsqlindex.h" -#include "ntqsqleditorfactory.h" +#include "tqsql.h" +#include "tqsqlcursor.h" +#include "tqsqlindex.h" +#include "tqsqleditorfactory.h" #include "ntqiconset.h" #endif // QT_H diff --git a/doc/html/qdatatable-members.html b/doc/html/tqdatatable-members.html index b5a27d1dd..4a03fef59 100644 --- a/doc/html/qdatatable-members.html +++ b/doc/html/tqdatatable-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqdatatable.h:64 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqdatatable.h:64 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,21 +32,21 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQDataTable</h1> <p>This is the complete list of member functions for -<a href="ntqdatatable.html">TQDataTable</a>, including inherited members. +<a href="tqdatatable.html">TQDataTable</a>, including inherited members. <ul> -<li><a href="ntqdatatable.html#TQDataTable">TQDataTable</a>() -<li><a href="ntqdatatable.html#~TQDataTable">~TQDataTable</a>() +<li><a href="tqdatatable.html#TQDataTable">TQDataTable</a>() +<li><a href="tqdatatable.html#~TQDataTable">~TQDataTable</a>() <li><a href="ntqwidget.html#acceptDrops">acceptDrops</a>() <li><a href="ntqtable.html#activateNextCell">activateNextCell</a>() <li><a href="ntqscrollview.html#addChild">addChild</a>() -<li><a href="ntqdatatable.html#addColumn">addColumn</a>() +<li><a href="tqdatatable.html#addColumn">addColumn</a>() <li><a href="ntqtable.html#addSelection">addSelection</a>() -<li><a href="ntqdatatable.html#adjustColumn">adjustColumn</a>() +<li><a href="tqdatatable.html#adjustColumn">adjustColumn</a>() <li><a href="ntqtable.html#adjustRow">adjustRow</a>() <li><a href="ntqwidget.html#adjustSize">adjustSize</a>() -<li><a href="ntqdatatable.html#autoDelete">autoDelete</a>() -<li><a href="ntqdatatable.html#autoEdit">autoEdit</a>() +<li><a href="tqdatatable.html#autoDelete">autoDelete</a>() +<li><a href="tqdatatable.html#autoEdit">autoEdit</a>() <li><a href="ntqwidget.html#autoMask">autoMask</a>() <li><a href="ntqwidget.html#backgroundBrush">backgroundBrush</a>() <li><a href="ntqwidget.html#backgroundColor">backgroundColor</a>() @@ -54,12 +54,12 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#backgroundOrigin">backgroundOrigin</a>() <li><a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() <li><a href="ntqwidget.html#baseSize">baseSize</a>() -<li><a href="ntqdatatable.html#beforeDelete">beforeDelete</a>() -<li><a href="ntqdatatable.html#beforeInsert">beforeInsert</a>() -<li><a href="ntqdatatable.html#beforeUpdate">beforeUpdate</a>() +<li><a href="tqdatatable.html#beforeDelete">beforeDelete</a>() +<li><a href="tqdatatable.html#beforeInsert">beforeInsert</a>() +<li><a href="tqdatatable.html#beforeUpdate">beforeUpdate</a>() <li><a href="ntqtable.html#beginEdit">beginEdit</a>() -<li><a href="ntqdatatable.html#beginInsert">beginInsert</a>() -<li><a href="ntqdatatable.html#beginUpdate">beginUpdate</a>() +<li><a href="tqdatatable.html#beginInsert">beginInsert</a>() +<li><a href="tqdatatable.html#beginUpdate">beginUpdate</a>() <li><a href="tqobject.html#blockSignals">blockSignals</a>() <li><a href="ntqscrollview.html#bottomMargin">bottomMargin</a>() <li><a href="ntqwidget.html#caption">caption</a>() @@ -98,13 +98,13 @@ body { background: #ffffff; color: black; } <li><a href="ntqtable.html#columnPos">columnPos</a>() <li><a href="ntqtable.html#columnWidth">columnWidth</a>() <li><a href="ntqtable.html#columnWidthChanged">columnWidthChanged</a>() -<li><a href="ntqdatatable.html#confirmCancel">confirmCancel</a>() -<li><a href="ntqdatatable.html#confirmCancels">confirmCancels</a>() -<li><a href="ntqdatatable.html#confirmDelete">confirmDelete</a>() -<li><a href="ntqdatatable.html#confirmEdit">confirmEdit</a>() -<li><a href="ntqdatatable.html#confirmEdits">confirmEdits</a>() -<li><a href="ntqdatatable.html#confirmInsert">confirmInsert</a>() -<li><a href="ntqdatatable.html#confirmUpdate">confirmUpdate</a>() +<li><a href="tqdatatable.html#confirmCancel">confirmCancel</a>() +<li><a href="tqdatatable.html#confirmCancels">confirmCancels</a>() +<li><a href="tqdatatable.html#confirmDelete">confirmDelete</a>() +<li><a href="tqdatatable.html#confirmEdit">confirmEdit</a>() +<li><a href="tqdatatable.html#confirmEdits">confirmEdits</a>() +<li><a href="tqdatatable.html#confirmInsert">confirmInsert</a>() +<li><a href="tqdatatable.html#confirmUpdate">confirmUpdate</a>() <li><a href="tqobject.html#connect">connect</a>() <li><a href="tqobject.html#connectNotify">connectNotify</a>() <li><a href="ntqwidget.html#constPolish">constPolish</a>() @@ -132,17 +132,17 @@ body { background: #ffffff; color: black; } <li><a href="ntqtable.html#createEditor">createEditor</a>() <li><a href="ntqtable.html#currEditCol">currEditCol</a>() <li><a href="ntqtable.html#currEditRow">currEditRow</a>() -<li><a href="ntqdatatable.html#currentChanged">currentChanged</a>() +<li><a href="tqdatatable.html#currentChanged">currentChanged</a>() <li><a href="ntqtable.html#currentColumn">currentColumn</a>() -<li><a href="ntqdatatable.html#currentRecord">currentRecord</a>() +<li><a href="tqdatatable.html#currentRecord">currentRecord</a>() <li><a href="ntqtable.html#currentRow">currentRow</a>() <li><a href="ntqtable.html#currentSelection">currentSelection</a>() <li><a href="ntqwidget.html#cursor">cursor</a>() -<li><a href="ntqdatatable.html#cursorChanged">cursorChanged</a>() +<li><a href="tqdatatable.html#cursorChanged">cursorChanged</a>() <li><a href="tqobject.html#customEvent">customEvent</a>() <li><a href="ntqwidget.html#customWhatsThis">customWhatsThis</a>() -<li><a href="ntqdatatable.html#dateFormat">dateFormat</a>() -<li><a href="ntqdatatable.html#deleteCurrent">deleteCurrent</a>() +<li><a href="tqdatatable.html#dateFormat">dateFormat</a>() +<li><a href="tqdatatable.html#deleteCurrent">deleteCurrent</a>() <li><a href="tqobject.html#deleteLater">deleteLater</a>() <li><a href="ntqwidget.html#destroy">destroy</a>() <li><a href="tqobject.html#destroyed">destroyed</a>() @@ -176,10 +176,10 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#erasePixmap">erasePixmap</a>() <li><a href="ntqwidget.html#event">event</a>() <li><a href="ntqscrollview.html#eventFilter">eventFilter</a>() -<li><a href="ntqdatatable.html#falseText">falseText</a>() -<li><a href="ntqdatatable.html#fieldAlignment">fieldAlignment</a>() -<li><a href="ntqdatatable.html#filter">filter</a>() -<li><a href="ntqdatatable.html#find">find</a>() +<li><a href="tqdatatable.html#falseText">falseText</a>() +<li><a href="tqdatatable.html#fieldAlignment">fieldAlignment</a>() +<li><a href="tqdatatable.html#filter">filter</a>() +<li><a href="tqdatatable.html#find">find</a>() <li><a href="ntqwidget.html#focusData">focusData</a>() <li><a href="ntqwidget.html#focusInEvent">focusInEvent</a>() <li><a href="ntqwidget.html#focusNextPrevChild">focusNextPrevChild</a>() @@ -207,7 +207,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#grabMouse">grabMouse</a>() <li><a href="ntqscrollview.html#hScrollBarMode">hScrollBarMode</a>() <li><a href="ntqpaintdevice.html#handle">handle</a>() -<li><a href="ntqdatatable.html#handleError">handleError</a>() +<li><a href="tqdatatable.html#handleError">handleError</a>() <li><a href="ntqwidget.html#hasFocus">hasFocus</a>() <li><a href="ntqwidget.html#hasMouse">hasMouse</a>() <li><a href="ntqwidget.html#hasMouseTracking">hasMouseTracking</a>() @@ -229,16 +229,16 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#imComposeEvent">imComposeEvent</a>() <li><a href="ntqwidget.html#imEndEvent">imEndEvent</a>() <li><a href="ntqwidget.html#imStartEvent">imStartEvent</a>() -<li><a href="ntqdatatable.html#indexOf">indexOf</a>() +<li><a href="tqdatatable.html#indexOf">indexOf</a>() <li><a href="tqobject.html#inherits">inherits</a>() <li><a href="tqobject.html#insertChild">insertChild</a>() <li><a href="ntqtable.html#insertColumns">insertColumns</a>() -<li><a href="ntqdatatable.html#insertCurrent">insertCurrent</a>() +<li><a href="tqdatatable.html#insertCurrent">insertCurrent</a>() <li><a href="ntqtable.html#insertRows">insertRows</a>() <li><a href="ntqtable.html#insertWidget">insertWidget</a>() -<li><a href="ntqdatatable.html#installEditorFactory">installEditorFactory</a>() +<li><a href="tqdatatable.html#installEditorFactory">installEditorFactory</a>() <li><a href="tqobject.html#installEventFilter">installEventFilter</a>() -<li><a href="ntqdatatable.html#installPropertyMap">installPropertyMap</a>() +<li><a href="tqdatatable.html#installPropertyMap">installPropertyMap</a>() <li><a href="tqobject.html#isA">isA</a>() <li><a href="ntqwidget.html#isActiveWindow">isActiveWindow</a>() <li><a href="ntqtable.html#isColumnHidden">isColumnHidden</a>() @@ -315,9 +315,9 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#moveEvent">moveEvent</a>() <li><a href="tqobject.html#name">name</a>() <li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() -<li><a href="ntqdatatable.html#nullText">nullText</a>() -<li><a href="ntqdatatable.html#numCols">numCols</a>() -<li><a href="ntqdatatable.html#numRows">numRows</a>() +<li><a href="tqdatatable.html#nullText">nullText</a>() +<li><a href="tqdatatable.html#numCols">numCols</a>() +<li><a href="tqdatatable.html#numRows">numRows</a>() <li><a href="ntqtable.html#numSelections">numSelections</a>() <li><a href="tqobject.html#objectTrees">objectTrees</a>() <li><a href="ntqwidget.html#ownCursor">ownCursor</a>() @@ -326,7 +326,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqtable.html#paintCell">paintCell</a>() <li><a href="ntqtable.html#paintEmptyArea">paintEmptyArea</a>() <li><a href="ntqframe.html#paintEvent">paintEvent</a>() -<li><a href="ntqdatatable.html#paintField">paintField</a>() +<li><a href="tqdatatable.html#paintField">paintField</a>() <li><a href="ntqtable.html#paintFocus">paintFocus</a>() <li><a href="ntqpaintdevice.html#paintingActive">paintingActive</a>() <li><a href="ntqwidget.html#palette">palette</a>() @@ -340,20 +340,20 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#polish">polish</a>() <li><a href="ntqwidget.html#pos">pos</a>() <li><a href="ntqtable.html#pressed">pressed</a>() -<li><a href="ntqdatatable.html#primeDelete">primeDelete</a>() -<li><a href="ntqdatatable.html#primeInsert">primeInsert</a>() -<li><a href="ntqdatatable.html#primeUpdate">primeUpdate</a>() +<li><a href="tqdatatable.html#primeDelete">primeDelete</a>() +<li><a href="tqdatatable.html#primeInsert">primeInsert</a>() +<li><a href="tqdatatable.html#primeUpdate">primeUpdate</a>() <li><a href="tqobject.html#property">property</a>() <li><a href="tqobject.html#queryList">queryList</a>() <li><a href="ntqwidget.html#qwsEvent">qwsEvent</a>() <li><a href="ntqwidget.html#raise">raise</a>() <li><a href="ntqwidget.html#recreate">recreate</a>() <li><a href="ntqwidget.html#rect">rect</a>() -<li><a href="ntqdatatable.html#refresh">refresh</a>() +<li><a href="tqdatatable.html#refresh">refresh</a>() <li><a href="ntqwidget.html#releaseKeyboard">releaseKeyboard</a>() <li><a href="ntqwidget.html#releaseMouse">releaseMouse</a>() <li><a href="ntqscrollview.html#removeChild">removeChild</a>() -<li><a href="ntqdatatable.html#removeColumn">removeColumn</a>() +<li><a href="tqdatatable.html#removeColumn">removeColumn</a>() <li><a href="ntqtable.html#removeColumns">removeColumns</a>() <li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() <li><a href="ntqtable.html#removeRow">removeRow</a>() @@ -363,7 +363,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqscrollview.html#repaintContents">repaintContents</a>() <li><a href="ntqtable.html#repaintSelections">repaintSelections</a>() <li><a href="ntqwidget.html#reparent">reparent</a>() -<li><a href="ntqdatatable.html#reset">reset</a>() +<li><a href="tqdatatable.html#reset">reset</a>() <li><a href="ntqwidget.html#resetInputContext">resetInputContext</a>() <li><a href="ntqwidget.html#resize">resize</a>() <li><a href="ntqscrollview.html#resizeContents">resizeContents</a>() @@ -388,8 +388,8 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#sender">sender</a>() <li><a href="ntqwidget.html#setAcceptDrops">setAcceptDrops</a>() <li><a href="ntqwidget.html#setActiveWindow">setActiveWindow</a>() -<li><a href="ntqdatatable.html#setAutoDelete">setAutoDelete</a>() -<li><a href="ntqdatatable.html#setAutoEdit">setAutoEdit</a>() +<li><a href="tqdatatable.html#setAutoDelete">setAutoDelete</a>() +<li><a href="tqdatatable.html#setAutoEdit">setAutoEdit</a>() <li><a href="ntqwidget.html#setAutoMask">setAutoMask</a>() <li><a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>() <li><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>() @@ -399,22 +399,22 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setCaption">setCaption</a>() <li><a href="ntqtable.html#setCellContentFromEditor">setCellContentFromEditor</a>() <li><a href="ntqtable.html#setCellWidget">setCellWidget</a>() -<li><a href="ntqdatatable.html#setColumn">setColumn</a>() +<li><a href="tqdatatable.html#setColumn">setColumn</a>() <li><a href="ntqtable.html#setColumnLabels">setColumnLabels</a>() <li><a href="ntqtable.html#setColumnMovingEnabled">setColumnMovingEnabled</a>() <li><a href="ntqtable.html#setColumnReadOnly">setColumnReadOnly</a>() <li><a href="ntqtable.html#setColumnStretchable">setColumnStretchable</a>() -<li><a href="ntqdatatable.html#setColumnWidth">setColumnWidth</a>() -<li><a href="ntqdatatable.html#setConfirmCancels">setConfirmCancels</a>() -<li><a href="ntqdatatable.html#setConfirmDelete">setConfirmDelete</a>() -<li><a href="ntqdatatable.html#setConfirmEdits">setConfirmEdits</a>() -<li><a href="ntqdatatable.html#setConfirmInsert">setConfirmInsert</a>() -<li><a href="ntqdatatable.html#setConfirmUpdate">setConfirmUpdate</a>() +<li><a href="tqdatatable.html#setColumnWidth">setColumnWidth</a>() +<li><a href="tqdatatable.html#setConfirmCancels">setConfirmCancels</a>() +<li><a href="tqdatatable.html#setConfirmDelete">setConfirmDelete</a>() +<li><a href="tqdatatable.html#setConfirmEdits">setConfirmEdits</a>() +<li><a href="tqdatatable.html#setConfirmInsert">setConfirmInsert</a>() +<li><a href="tqdatatable.html#setConfirmUpdate">setConfirmUpdate</a>() <li><a href="ntqscrollview.html#setContentsPos">setContentsPos</a>() <li><a href="ntqscrollview.html#setCornerWidget">setCornerWidget</a>() <li><a href="ntqtable.html#setCurrentCell">setCurrentCell</a>() <li><a href="ntqwidget.html#setCursor">setCursor</a>() -<li><a href="ntqdatatable.html#setDateFormat">setDateFormat</a>() +<li><a href="tqdatatable.html#setDateFormat">setDateFormat</a>() <li><a href="ntqwidget.html#setDisabled">setDisabled</a>() <li><a href="ntqscrollview.html#setDragAutoScroll">setDragAutoScroll</a>() <li><a href="ntqtable.html#setDragEnabled">setDragEnabled</a>() @@ -422,8 +422,8 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setEnabled">setEnabled</a>() <li><a href="ntqwidget.html#setEraseColor">setEraseColor</a>() <li><a href="ntqwidget.html#setErasePixmap">setErasePixmap</a>() -<li><a href="ntqdatatable.html#setFalseText">setFalseText</a>() -<li><a href="ntqdatatable.html#setFilter">setFilter</a>() +<li><a href="tqdatatable.html#setFalseText">setFalseText</a>() +<li><a href="tqdatatable.html#setFilter">setFilter</a>() <li><a href="ntqwidget.html#setFixedHeight">setFixedHeight</a>() <li><a href="ntqwidget.html#setFixedSize">setFixedSize</a>() <li><a href="ntqwidget.html#setFixedWidth">setFixedWidth</a>() @@ -460,7 +460,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>() <li><a href="ntqwidget.html#setMouseTracking">setMouseTracking</a>() <li><a href="tqobject.html#setName">setName</a>() -<li><a href="ntqdatatable.html#setNullText">setNullText</a>() +<li><a href="tqdatatable.html#setNullText">setNullText</a>() <li><a href="ntqtable.html#setNumCols">setNumCols</a>() <li><a href="ntqtable.html#setNumRows">setNumRows</a>() <li><a href="ntqwidget.html#setPalette">setPalette</a>() @@ -479,18 +479,18 @@ body { background: #ffffff; color: black; } <li><a href="ntqtable.html#setSelectionMode">setSelectionMode</a>() <li><a href="ntqtable.html#setShowGrid">setShowGrid</a>() <li><a href="ntqwidget.html#setShown">setShown</a>() -<li><a href="ntqdatatable.html#setSize">setSize</a>() +<li><a href="tqdatatable.html#setSize">setSize</a>() <li><a href="ntqwidget.html#setSizeIncrement">setSizeIncrement</a>() <li><a href="ntqwidget.html#setSizePolicy">setSizePolicy</a>() -<li><a href="ntqdatatable.html#setSort">setSort</a>() +<li><a href="tqdatatable.html#setSort">setSort</a>() <li><a href="ntqtable.html#setSorting">setSorting</a>() -<li><a href="ntqdatatable.html#setSqlCursor">setSqlCursor</a>() +<li><a href="tqdatatable.html#setSqlCursor">setSqlCursor</a>() <li><a href="ntqscrollview.html#setStaticBackground">setStaticBackground</a>() <li><a href="ntqwidget.html#setStyle">setStyle</a>() <li><a href="ntqwidget.html#setTabOrder">setTabOrder</a>() <li><a href="ntqtable.html#setText">setText</a>() <li><a href="ntqtable.html#setTopMargin">setTopMargin</a>() -<li><a href="ntqdatatable.html#setTrueText">setTrueText</a>() +<li><a href="tqdatatable.html#setTrueText">setTrueText</a>() <li><a href="ntqwidget.html#setUpdatesEnabled">setUpdatesEnabled</a>() <li><a href="ntqscrollview.html#setVBarGeometry">setVBarGeometry</a>() <li><a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() @@ -512,12 +512,12 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#sizeHint">sizeHint</a>() <li><a href="ntqwidget.html#sizeIncrement">sizeIncrement</a>() <li><a href="ntqwidget.html#sizePolicy">sizePolicy</a>() -<li><a href="ntqdatatable.html#sort">sort</a>() -<li><a href="ntqdatatable.html#sortAscending">sortAscending</a>() -<li><a href="ntqdatatable.html#sortColumn">sortColumn</a>() -<li><a href="ntqdatatable.html#sortDescending">sortDescending</a>() +<li><a href="tqdatatable.html#sort">sort</a>() +<li><a href="tqdatatable.html#sortAscending">sortAscending</a>() +<li><a href="tqdatatable.html#sortColumn">sortColumn</a>() +<li><a href="tqdatatable.html#sortDescending">sortDescending</a>() <li><a href="ntqtable.html#sorting">sorting</a>() -<li><a href="ntqdatatable.html#sqlCursor">sqlCursor</a>() +<li><a href="tqdatatable.html#sqlCursor">sqlCursor</a>() <li><a href="ntqwidget.html#stackUnder">stackUnder</a>() <li><a href="ntqtable.html#startDrag">startDrag</a>() <li><a href="tqobject.html#startTimer">startTimer</a>() @@ -529,26 +529,26 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#tabletEvent">tabletEvent</a>() <li><a href="ntqtable.html#takeItem">takeItem</a>() <li><a href="ntqwidget.html#testWFlags">testWFlags</a>() -<li><a href="ntqdatatable.html#text">text</a>() +<li><a href="tqdatatable.html#text">text</a>() <li><a href="tqobject.html#timerEvent">timerEvent</a>() <li><a href="ntqwidget.html#topLevelWidget">topLevelWidget</a>() <li><a href="ntqscrollview.html#topMargin">topMargin</a>() <li><a href="tqobject.html#tr">tr</a>() <li><a href="tqobject.html#trUtf8">trUtf8</a>() -<li><a href="ntqdatatable.html#trueText">trueText</a>() +<li><a href="tqdatatable.html#trueText">trueText</a>() <li><a href="ntqwidget.html#unsetCursor">unsetCursor</a>() <li><a href="ntqwidget.html#unsetFont">unsetFont</a>() <li><a href="ntqwidget.html#unsetPalette">unsetPalette</a>() <li><a href="ntqwidget.html#update">update</a>() <li><a href="ntqtable.html#updateCell">updateCell</a>() <li><a href="ntqscrollview.html#updateContents">updateContents</a>() -<li><a href="ntqdatatable.html#updateCurrent">updateCurrent</a>() +<li><a href="tqdatatable.html#updateCurrent">updateCurrent</a>() <li><a href="ntqwidget.html#updateGeometry">updateGeometry</a>() <li><a href="ntqtable.html#updateHeaderStates">updateHeaderStates</a>() <li><a href="ntqwidget.html#updateMask">updateMask</a>() <li><a href="ntqscrollview.html#updateScrollBars">updateScrollBars</a>() <li><a href="ntqscrollview.html#vScrollBarMode">vScrollBarMode</a>() -<li><a href="ntqdatatable.html#value">value</a>() +<li><a href="tqdatatable.html#value">value</a>() <li><a href="ntqtable.html#valueChanged">valueChanged</a>() <li><a href="ntqtable.html#verticalHeader">verticalHeader</a>() <li><a href="ntqscrollview.html#verticalScrollBar">verticalScrollBar</a>() diff --git a/doc/html/ntqdatatable.html b/doc/html/tqdatatable.html index ae25effa3..c659f6f85 100644 --- a/doc/html/ntqdatatable.html +++ b/doc/html/tqdatatable.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qdatatable.cpp:130 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqdatatable.cpp:130 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,9 +33,9 @@ body { background: #ffffff; color: black; } <p>The TQDataTable class provides a flexible SQL table widget that supports browsing and editing. <a href="#details">More...</a> -<p><tt>#include <<a href="qdatatable-h.html">ntqdatatable.h</a>></tt> +<p><tt>#include <<a href="tqdatatable-h.html">tqdatatable.h</a>></tt> <p>Inherits <a href="ntqtable.html">TQTable</a>. -<p><a href="qdatatable-members.html">List of all member functions.</a> +<p><a href="tqdatatable-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQDataTable"><b>TQDataTable</b></a> ( TQWidget * parent = 0, const char * name = 0 )</li> @@ -145,9 +145,9 @@ The TQDataTable class provides a flexible SQL table widget that supports browsin <p> TQDataTable supports various functions for presenting and editing -SQL data from a <a href="ntqsqlcursor.html">TQSqlCursor</a> in a table. -<p> If you want a to present your data in a form use <a href="ntqdatabrowser.html">TQDataBrowser</a>, or -for read-only forms, <a href="ntqdataview.html">TQDataView</a>. +SQL data from a <a href="tqsqlcursor.html">TQSqlCursor</a> in a table. +<p> If you want a to present your data in a form use <a href="tqdatabrowser.html">TQDataBrowser</a>, or +for read-only forms, <a href="tqdataview.html">TQDataView</a>. <p> When displaying data, TQDataTable only retrieves data for visible rows. If the driver supports the 'query size' property the TQDataTable will have the correct number of rows and the vertical @@ -162,7 +162,7 @@ quickly as possible, with minimum memory usage. sort and filter the data and sort columns. See <a href="#setSqlCursor">setSqlCursor</a>(), <a href="#setFilter">setFilter</a>(), <a href="#setSort">setSort</a>(), <a href="ntqtable.html#setSorting">setSorting</a>(), <a href="#sortColumn">sortColumn</a>() and <a href="#refresh">refresh</a>(). <p> When displaying editable cursors, cell editing will be enabled. -(For more information on editable cursors, see <a href="ntqsqlcursor.html">TQSqlCursor</a>). +(For more information on editable cursors, see <a href="tqsqlcursor.html">TQSqlCursor</a>). TQDataTable can be used to modify existing data and to add new records. When a user makes changes to a field in the table, the cursor's edit buffer is used. The table will not send changes in @@ -179,7 +179,7 @@ For more precise control use <a href="#setConfirmInsert">setConfirmInsert</a>(), <a href="#setConfirmUpdate">setConfirmUpdate</a>(), <a href="#setConfirmDelete">setConfirmDelete</a>() and <a href="#setConfirmCancels">setConfirmCancels</a>(). Use <a href="#setAutoEdit">setAutoEdit</a>() to control the behaviour of the table when the user edits a record and then navigates. (Note that <a href="#setAutoDelete">setAutoDelete</a>() -is unrelated; it is used to set whether the <a href="ntqsqlcursor.html">TQSqlCursor</a> is deleted +is unrelated; it is used to set whether the <a href="tqsqlcursor.html">TQSqlCursor</a> is deleted when the table is deleted.) <p> Since the data table can perform edits, it must be able to uniquely identify every record so that edits are correctly @@ -187,7 +187,7 @@ applied. Because of this the underlying cursor must have a valid primary index to ensure that a unique record is inserted, updated or deleted within the database otherwise the database may be changed to an inconsistent state. -<p> TQDataTable creates editors using the default <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>. +<p> TQDataTable creates editors using the default <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a>. Different editor factories can be used by calling <a href="#installEditorFactory">installEditorFactory</a>(). A property map is used to map between the cell's value and the editor. You can use your own property map @@ -211,7 +211,7 @@ The filter (see <a href="#setFilter">setFilter</a>()) and sort defined within th used instead of the filter and sort set on the cursor. For sorting options see <a href="#setSort">setSort</a>(), <a href="#sortColumn">sortColumn</a>(), <a href="#sortAscending">sortAscending</a>() and <a href="#sortDescending">sortDescending</a>(). Note that sorting operations will not behave as -expected if you are using a <a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a> because it uses +expected if you are using a <a href="tqsqlselectcursor.html">TQSqlSelectCursor</a> because it uses user-defined SQL queries to obtain data. <p> The text used to represent NULL, TRUE and FALSE values can be changed with <a href="#setNullText">setNullText</a>(), <a href="#setTrueText">setTrueText</a>() and <a href="#setFalseText">setFalseText</a>() @@ -240,7 +240,7 @@ Just before the database is updated a signal is emitted; Constructs a data table which is a child of <em>parent</em>, called name <em>name</em>. -<h3 class=fn><a name="TQDataTable-2"></a>TQDataTable::TQDataTable ( <a href="ntqsqlcursor.html">TQSqlCursor</a> * cursor, bool autoPopulate = FALSE, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQDataTable-2"></a>TQDataTable::TQDataTable ( <a href="tqsqlcursor.html">TQSqlCursor</a> * cursor, bool autoPopulate = FALSE, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) </h3> Constructs a data table which is a child of <em>parent</em>, called name <em>name</em> using the cursor <em>cursor</em>. @@ -271,7 +271,7 @@ header; by default there is no icon. </h3> Resizes column <em>col</em> so that the column width is wide enough to display the widest item the column contains (including the column -label). If the table's <a href="ntqsqlcursor.html">TQSqlCursor</a> is not currently active, the +label). If the table's <a href="tqsqlcursor.html">TQSqlCursor</a> is not currently active, the cursor will be refreshed before the column width is calculated. Be aware that this function may be slow on tables that contain large result sets. @@ -284,8 +284,8 @@ specified by <a href="#setSqlCursor">setSqlCursor</a>(); otherwise returns FALSE <h3 class=fn>bool <a name="autoEdit"></a>TQDataTable::autoEdit () const </h3><p>Returns TRUE if the data table automatically applies edits; otherwise returns FALSE. -See the <a href="ntqdatatable.html#autoEdit-prop">"autoEdit"</a> property for details. -<h3 class=fn>void <a name="beforeDelete"></a>TQDataTable::beforeDelete ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +See the <a href="tqdatatable.html#autoEdit-prop">"autoEdit"</a> property for details. +<h3 class=fn>void <a name="beforeDelete"></a>TQDataTable::beforeDelete ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted just before the currently selected record @@ -293,7 +293,7 @@ is deleted from the database. The <em>buf</em> parameter points to the edit buffer being deleted. Connect to this signal to, for example, copy some of the fields for later use. -<h3 class=fn>void <a name="beforeInsert"></a>TQDataTable::beforeInsert ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="beforeInsert"></a>TQDataTable::beforeInsert ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted just before the cursor's edit buffer is @@ -301,7 +301,7 @@ inserted into the database. The <em>buf</em> parameter points to the edit buffer being inserted. Connect to this signal to, for example, populate a key field with a unique sequence number. -<h3 class=fn>void <a name="beforeUpdate"></a>TQDataTable::beforeUpdate ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="beforeUpdate"></a>TQDataTable::beforeUpdate ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted just before the cursor's edit buffer is @@ -315,7 +315,7 @@ Protected virtual function called when editing is about to begin on a new record. If the table is read-only, or if there's no cursor or the cursor does not allow inserts, nothing happens. <p> Editing takes place using the cursor's edit buffer(see -<a href="ntqsqlcursor.html#editBuffer">TQSqlCursor::editBuffer</a>()). +<a href="tqsqlcursor.html#editBuffer">TQSqlCursor::editBuffer</a>()). <p> When editing begins, a new row is created in the table marked with an asterisk '*' in the row's vertical header column, i.e. at the left of the row. @@ -326,12 +326,12 @@ Protected virtual function called when editing is about to begin on an existing row. If the table is read-only, or if there's no cursor, nothing happens. <p> Editing takes place using the cursor's edit buffer (see -<a href="ntqsqlcursor.html#editBuffer">TQSqlCursor::editBuffer</a>()). +<a href="tqsqlcursor.html#editBuffer">TQSqlCursor::editBuffer</a>()). <p> <em>row</em> and <em>col</em> refer to the row and column in the TQDataTable. <p> (<em>replace</em> is provided for reimplementors and reflects the API of <a href="ntqtable.html#beginEdit">TQTable::beginEdit</a>().) -<h3 class=fn><a href="ntqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmCancel"></a>TQDataTable::confirmCancel ( <a href="ntqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> +<h3 class=fn><a href="tqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmCancel"></a>TQDataTable::confirmCancel ( <a href="tqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> </h3> Protected virtual function which returns a confirmation for cancelling an edit mode of <em>m</em>. Derived classes can reimplement @@ -341,11 +341,11 @@ confirm the cancel. <h3 class=fn>bool <a name="confirmCancels"></a>TQDataTable::confirmCancels () const </h3><p>Returns TRUE if the data table confirms cancel operations; otherwise returns FALSE. -See the <a href="ntqdatatable.html#confirmCancels-prop">"confirmCancels"</a> property for details. +See the <a href="tqdatatable.html#confirmCancels-prop">"confirmCancels"</a> property for details. <h3 class=fn>bool <a name="confirmDelete"></a>TQDataTable::confirmDelete () const </h3><p>Returns TRUE if the data table confirms delete operations; otherwise returns FALSE. -See the <a href="ntqdatatable.html#confirmDelete-prop">"confirmDelete"</a> property for details. -<h3 class=fn><a href="ntqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmEdit"></a>TQDataTable::confirmEdit ( <a href="ntqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> +See the <a href="tqdatatable.html#confirmDelete-prop">"confirmDelete"</a> property for details. +<h3 class=fn><a href="tqsql.html#Confirm-enum">TQSql::Confirm</a> <a name="confirmEdit"></a>TQDataTable::confirmEdit ( <a href="tqsql.html#Op-enum">TQSql::Op</a> m )<tt> [virtual protected]</tt> </h3> Protected virtual function which returns a confirmation for an edit of mode <em>m</em>. Derived classes can reimplement this function @@ -355,27 +355,27 @@ confirm the edit action. <h3 class=fn>bool <a name="confirmEdits"></a>TQDataTable::confirmEdits () const </h3><p>Returns TRUE if the data table confirms edit operations; otherwise returns FALSE. -See the <a href="ntqdatatable.html#confirmEdits-prop">"confirmEdits"</a> property for details. +See the <a href="tqdatatable.html#confirmEdits-prop">"confirmEdits"</a> property for details. <h3 class=fn>bool <a name="confirmInsert"></a>TQDataTable::confirmInsert () const </h3><p>Returns TRUE if the data table confirms insert operations; otherwise returns FALSE. -See the <a href="ntqdatatable.html#confirmInsert-prop">"confirmInsert"</a> property for details. +See the <a href="tqdatatable.html#confirmInsert-prop">"confirmInsert"</a> property for details. <h3 class=fn>bool <a name="confirmUpdate"></a>TQDataTable::confirmUpdate () const </h3><p>Returns TRUE if the data table confirms update operations; otherwise returns FALSE. -See the <a href="ntqdatatable.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. -<h3 class=fn>void <a name="currentChanged"></a>TQDataTable::currentChanged ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * record )<tt> [signal]</tt> +See the <a href="tqdatatable.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. +<h3 class=fn>void <a name="currentChanged"></a>TQDataTable::currentChanged ( <a href="tqsqlrecord.html">TQSqlRecord</a> * record )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever a new row is selected in the table. The <em>record</em> parameter points to the contents of the newly selected record. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> * <a name="currentRecord"></a>TQDataTable::currentRecord () const +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> * <a name="currentRecord"></a>TQDataTable::currentRecord () const </h3> Returns the currently selected record, or 0 if there is no current selection. The table owns the pointer, so do <em>not</em> delete it or otherwise modify it or the cursor it points to. -<h3 class=fn>void <a name="cursorChanged"></a>TQDataTable::cursorChanged ( <a href="ntqsql.html#Op-enum">TQSql::Op</a> mode )<tt> [signal]</tt> +<h3 class=fn>void <a name="cursorChanged"></a>TQDataTable::cursorChanged ( <a href="tqsql.html#Op-enum">TQSql::Op</a> mode )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever the cursor record was changed due @@ -384,7 +384,7 @@ took place. <h3 class=fn><a href="ntqt.html#DateFormat-enum">DateFormat</a> <a name="dateFormat"></a>TQDataTable::dateFormat () const </h3><p>Returns the format used for displaying date/time values. -See the <a href="ntqdatatable.html#dateFormat-prop">"dateFormat"</a> property for details. +See the <a href="tqdatatable.html#dateFormat-prop">"dateFormat"</a> property for details. <h3 class=fn>bool <a name="deleteCurrent"></a>TQDataTable::deleteCurrent ()<tt> [virtual protected]</tt> </h3> For an editable table, issues a delete on the current cursor's @@ -399,14 +399,14 @@ database may be changed to an inconsistent state. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="falseText"></a>TQDataTable::falseText () const </h3><p>Returns the text used to represent false values. -See the <a href="ntqdatatable.html#falseText-prop">"falseText"</a> property for details. -<h3 class=fn>int <a name="fieldAlignment"></a>TQDataTable::fieldAlignment ( const <a href="ntqsqlfield.html">TQSqlField</a> * field )<tt> [virtual protected]</tt> +See the <a href="tqdatatable.html#falseText-prop">"falseText"</a> property for details. +<h3 class=fn>int <a name="fieldAlignment"></a>TQDataTable::fieldAlignment ( const <a href="tqsqlfield.html">TQSqlField</a> * field )<tt> [virtual protected]</tt> </h3> Returns the alignment for <em>field</em>. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="filter"></a>TQDataTable::filter () const </h3><p>Returns the data filter for the data table. -See the <a href="ntqdatatable.html#filter-prop">"filter"</a> property for details. +See the <a href="tqdatatable.html#filter-prop">"filter"</a> property for details. <h3 class=fn>void <a name="find"></a>TQDataTable::find ( const <a href="ntqstring.html">TQString</a> & str, bool caseSensitive, bool backwards )<tt> [virtual slot]</tt> </h3> Searches the current cursor for a cell containing the string <em>str</em> starting at the current cell and working forwards (or @@ -418,7 +418,7 @@ continue until it reaches the starting cell. If <em>str</em> is not found the search will fail and the current cell will remain unchanged. -<h3 class=fn>void <a name="handleError"></a>TQDataTable::handleError ( const <a href="ntqsqlerror.html">TQSqlError</a> & e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="handleError"></a>TQDataTable::handleError ( const <a href="tqsqlerror.html">TQSqlError</a> & e )<tt> [virtual protected]</tt> </h3> Protected virtual function which is called when an error <em>e</em> has occurred on the current <a href="ntqwidget.html#cursor">cursor</a>(). The default implementation @@ -442,36 +442,36 @@ insert succeeded; otherwise returns FALSE. that a unique record is inserted within the database otherwise the database may be changed to an inconsistent state. -<h3 class=fn>void <a name="installEditorFactory"></a>TQDataTable::installEditorFactory ( <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> * f ) +<h3 class=fn>void <a name="installEditorFactory"></a>TQDataTable::installEditorFactory ( <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> * f ) </h3> Installs a new SQL editor factory <em>f</em>. This enables the user to create and instantiate their own editors for use in cell editing. Note that TQDataTable takes ownership of this pointer, and will delete it when it is no longer needed or when <a href="#installEditorFactory">installEditorFactory</a>() is called again. -<p> <p>See also <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>. +<p> <p>See also <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a>. -<h3 class=fn>void <a name="installPropertyMap"></a>TQDataTable::installPropertyMap ( <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> * m ) +<h3 class=fn>void <a name="installPropertyMap"></a>TQDataTable::installPropertyMap ( <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> * m ) </h3> Installs a new property map <em>m</em>. This enables the user to create and instantiate their own property maps for use in cell editing. Note that TQDataTable takes ownership of this pointer, and will delete it when it is no longer needed or when installPropertMap() is called again. -<p> <p>See also <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>. +<p> <p>See also <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="nullText"></a>TQDataTable::nullText () const </h3><p>Returns the text used to represent NULL values. -See the <a href="ntqdatatable.html#nullText-prop">"nullText"</a> property for details. +See the <a href="tqdatatable.html#nullText-prop">"nullText"</a> property for details. <h3 class=fn>int <a name="numCols"></a>TQDataTable::numCols () const<tt> [virtual]</tt> </h3><p>Returns the number of columns in the table. -See the <a href="ntqdatatable.html#numCols-prop">"numCols"</a> property for details. +See the <a href="tqdatatable.html#numCols-prop">"numCols"</a> property for details. <p>Reimplemented from <a href="ntqtable.html#numCols">TQTable</a>. <h3 class=fn>int <a name="numRows"></a>TQDataTable::numRows () const<tt> [virtual]</tt> </h3><p>Returns the number of rows in the table. -See the <a href="ntqdatatable.html#numRows-prop">"numRows"</a> property for details. +See the <a href="tqdatatable.html#numRows-prop">"numRows"</a> property for details. <p>Reimplemented from <a href="ntqtable.html#numRows">TQTable</a>. -<h3 class=fn>void <a name="paintField"></a>TQDataTable::paintField ( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="ntqsqlfield.html">TQSqlField</a> * field, const <a href="ntqrect.html">TQRect</a> & cr, bool selected )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="paintField"></a>TQDataTable::paintField ( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a> * field, const <a href="ntqrect.html">TQRect</a> & cr, bool selected )<tt> [virtual protected]</tt> </h3> Paints the <em>field</em> on the painter <em>p</em>. The painter has already been translated to the appropriate cell's origin where the <em>field</em> is to be rendered. <em>cr</em> describes the cell coordinates in @@ -484,7 +484,7 @@ renders the <em>field</em> value as text. If the field is NULL, <a href="#trueText">trueText</a>() or <a href="#falseText">falseText</a>() is displayed as appropriate. <p>Example: <a href="sql.html#x2245">sql/overview/table4/main.cpp</a>. -<h3 class=fn>void <a name="primeDelete"></a>TQDataTable::primeDelete ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="primeDelete"></a>TQDataTable::primeDelete ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted after the cursor is primed for delete by @@ -492,7 +492,7 @@ the table, when a delete action is beginning on the table. The <em>buf</em> para this signal in order to, for example, record auditing information on deletions. -<h3 class=fn>void <a name="primeInsert"></a>TQDataTable::primeInsert ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="primeInsert"></a>TQDataTable::primeInsert ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted after the cursor is primed for insert by @@ -500,7 +500,7 @@ the table, when an insert action is beginning on the table. The <em>buf</em> par this signal in order to, for example, <a href="primes.html#prime">prime</a> the record buffer with default data values. -<h3 class=fn>void <a name="primeUpdate"></a>TQDataTable::primeUpdate ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> +<h3 class=fn>void <a name="primeUpdate"></a>TQDataTable::primeUpdate ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [signal]</tt> </h3> <p> This signal is emitted after the cursor is primed for update by @@ -515,7 +515,7 @@ filter, the current sort, and the currently defined columns. Equivalent to calling <a href="#refresh">refresh</a>( TQDataTable::RefreshData ). <p>Examples: <a href="sql.html#x2256">sql/overview/subclass1/main.cpp</a>, <a href="sql.html#x2211">sql/overview/table1/main.cpp</a>, <a href="sql.html#x2215">sql/overview/table2/main.cpp</a>, and <a href="sqltable-example.html#x2452">sql/sqltable/main.cpp</a>. -<h3 class=fn>void <a name="refresh-2"></a>TQDataTable::refresh ( <a href="ntqdatatable.html#Refresh-enum">Refresh</a> mode ) +<h3 class=fn>void <a name="refresh-2"></a>TQDataTable::refresh ( <a href="tqdatatable.html#Refresh-enum">Refresh</a> mode ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Refreshes the table. If there is no currently defined cursor (see @@ -527,7 +527,7 @@ which type of refresh will take place. </h3> Removes column <em>col</em> from the list of columns to be displayed. If <em>col</em> does not exist, nothing happens. -<p> <p>See also <a href="ntqsqlfield.html">TQSqlField</a>. +<p> <p>See also <a href="tqsqlfield.html">TQSqlField</a>. <h3 class=fn>void <a name="reset"></a>TQDataTable::reset ()<tt> [protected]</tt> </h3> @@ -543,7 +543,7 @@ will not be deleted. <h3 class=fn>void <a name="setAutoEdit"></a>TQDataTable::setAutoEdit ( bool autoEdit )<tt> [virtual]</tt> </h3><p>Sets whether the data table automatically applies edits to <em>autoEdit</em>. -See the <a href="ntqdatatable.html#autoEdit-prop">"autoEdit"</a> property for details. +See the <a href="tqdatatable.html#autoEdit-prop">"autoEdit"</a> property for details. <h3 class=fn>void <a name="setColumn"></a>TQDataTable::setColumn ( uint col, const <a href="ntqstring.html">TQString</a> & fieldName, const <a href="ntqstring.html">TQString</a> & label = TQString::null, int width = -1, const <a href="ntqiconset.html">TQIconSet</a> & iconset = TQIconSet ( ) )<tt> [virtual]</tt> </h3> Sets the <em>col</em> column to display using the field <em>fieldName</em>, @@ -565,32 +565,32 @@ yourself. <p>Reimplemented from <a href="ntqtable.html#setColumnWidth">TQTable</a>. <h3 class=fn>void <a name="setConfirmCancels"></a>TQDataTable::setConfirmCancels ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the data table confirms cancel operations to <em>confirm</em>. -See the <a href="ntqdatatable.html#confirmCancels-prop">"confirmCancels"</a> property for details. +See the <a href="tqdatatable.html#confirmCancels-prop">"confirmCancels"</a> property for details. <h3 class=fn>void <a name="setConfirmDelete"></a>TQDataTable::setConfirmDelete ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the data table confirms delete operations to <em>confirm</em>. -See the <a href="ntqdatatable.html#confirmDelete-prop">"confirmDelete"</a> property for details. +See the <a href="tqdatatable.html#confirmDelete-prop">"confirmDelete"</a> property for details. <h3 class=fn>void <a name="setConfirmEdits"></a>TQDataTable::setConfirmEdits ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the data table confirms edit operations to <em>confirm</em>. -See the <a href="ntqdatatable.html#confirmEdits-prop">"confirmEdits"</a> property for details. +See the <a href="tqdatatable.html#confirmEdits-prop">"confirmEdits"</a> property for details. <h3 class=fn>void <a name="setConfirmInsert"></a>TQDataTable::setConfirmInsert ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the data table confirms insert operations to <em>confirm</em>. -See the <a href="ntqdatatable.html#confirmInsert-prop">"confirmInsert"</a> property for details. +See the <a href="tqdatatable.html#confirmInsert-prop">"confirmInsert"</a> property for details. <h3 class=fn>void <a name="setConfirmUpdate"></a>TQDataTable::setConfirmUpdate ( bool confirm )<tt> [virtual]</tt> </h3><p>Sets whether the data table confirms update operations to <em>confirm</em>. -See the <a href="ntqdatatable.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. +See the <a href="tqdatatable.html#confirmUpdate-prop">"confirmUpdate"</a> property for details. <h3 class=fn>void <a name="setDateFormat"></a>TQDataTable::setDateFormat ( const <a href="ntqt.html#DateFormat-enum">DateFormat</a> f )<tt> [virtual]</tt> </h3><p>Sets the format used for displaying date/time values to <em>f</em>. -See the <a href="ntqdatatable.html#dateFormat-prop">"dateFormat"</a> property for details. +See the <a href="tqdatatable.html#dateFormat-prop">"dateFormat"</a> property for details. <h3 class=fn>void <a name="setFalseText"></a>TQDataTable::setFalseText ( const <a href="ntqstring.html">TQString</a> & falseText )<tt> [virtual]</tt> </h3><p>Sets the text used to represent false values to <em>falseText</em>. -See the <a href="ntqdatatable.html#falseText-prop">"falseText"</a> property for details. +See the <a href="tqdatatable.html#falseText-prop">"falseText"</a> property for details. <h3 class=fn>void <a name="setFilter"></a>TQDataTable::setFilter ( const <a href="ntqstring.html">TQString</a> & filter )<tt> [virtual]</tt> </h3><p>Sets the data filter for the data table to <em>filter</em>. -See the <a href="ntqdatatable.html#filter-prop">"filter"</a> property for details. +See the <a href="tqdatatable.html#filter-prop">"filter"</a> property for details. <h3 class=fn>void <a name="setNullText"></a>TQDataTable::setNullText ( const <a href="ntqstring.html">TQString</a> & nullText )<tt> [virtual]</tt> </h3><p>Sets the text used to represent NULL values to <em>nullText</em>. -See the <a href="ntqdatatable.html#nullText-prop">"nullText"</a> property for details. -<h3 class=fn>void <a name="setSize"></a>TQDataTable::setSize ( <a href="ntqsqlcursor.html">TQSqlCursor</a> * sql )<tt> [protected]</tt> +See the <a href="tqdatatable.html#nullText-prop">"nullText"</a> property for details. +<h3 class=fn>void <a name="setSize"></a>TQDataTable::setSize ( <a href="tqsqlcursor.html">TQSqlCursor</a> * sql )<tt> [protected]</tt> </h3> If the cursor's <em>sql</em> driver supports query sizes, the number of rows in the table is set to the size of the query. Otherwise, the @@ -600,17 +600,17 @@ using the <em>sql</em> cursor's current filter and current sort. <h3 class=fn>void <a name="setSort"></a>TQDataTable::setSort ( const <a href="ntqstringlist.html">TQStringList</a> & sort )<tt> [virtual]</tt> </h3><p>Sets the data table's sort to <em>sort</em>. -See the <a href="ntqdatatable.html#sort-prop">"sort"</a> property for details. -<h3 class=fn>void <a name="setSort-2"></a>TQDataTable::setSort ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & sort )<tt> [virtual]</tt> +See the <a href="tqdatatable.html#sort-prop">"sort"</a> property for details. +<h3 class=fn>void <a name="setSort-2"></a>TQDataTable::setSort ( const <a href="tqsqlindex.html">TQSqlIndex</a> & sort )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the sort to be applied to the displayed data to <em>sort</em>. If -there is no current cursor, nothing happens. A <a href="ntqsqlindex.html">TQSqlIndex</a> contains +there is no current cursor, nothing happens. A <a href="tqsqlindex.html">TQSqlIndex</a> contains field names and their ordering (ASC or DESC); these are used to compose the ORDER BY clause. <p> <p>See also <a href="#sort-prop">sort</a>. -<h3 class=fn>void <a name="setSqlCursor"></a>TQDataTable::setSqlCursor ( <a href="ntqsqlcursor.html">TQSqlCursor</a> * cursor = 0, bool autoPopulate = FALSE, bool autoDelete = FALSE )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setSqlCursor"></a>TQDataTable::setSqlCursor ( <a href="tqsqlcursor.html">TQSqlCursor</a> * cursor = 0, bool autoPopulate = FALSE, bool autoDelete = FALSE )<tt> [virtual]</tt> </h3> Sets <em>cursor</em> as the data source for the table. To force the display of the data from <em>cursor</em>, use <a href="#refresh">refresh</a>(). If <em>autoPopulate</em> is TRUE, columns are automatically created based upon @@ -619,14 +619,14 @@ default is FALSE), the table will take ownership of the <em>cursor</em> and delete it when appropriate. If the <em>cursor</em> is read-only, the table becomes read-only. The table adopts the cursor's driver's definition for representing NULL values as strings. -<p> <p>See also <a href="#refresh">refresh</a>(), <a href="ntqtable.html#readOnly-prop">readOnly</a>, <a href="#setAutoDelete">setAutoDelete</a>(), and <a href="ntqsqldriver.html#nullText">TQSqlDriver::nullText</a>(). +<p> <p>See also <a href="#refresh">refresh</a>(), <a href="ntqtable.html#readOnly-prop">readOnly</a>, <a href="#setAutoDelete">setAutoDelete</a>(), and <a href="tqsqldriver.html#nullText">TQSqlDriver::nullText</a>(). <h3 class=fn>void <a name="setTrueText"></a>TQDataTable::setTrueText ( const <a href="ntqstring.html">TQString</a> & trueText )<tt> [virtual]</tt> </h3><p>Sets the text used to represent true values to <em>trueText</em>. -See the <a href="ntqdatatable.html#trueText-prop">"trueText"</a> property for details. +See the <a href="tqdatatable.html#trueText-prop">"trueText"</a> property for details. <h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="sort"></a>TQDataTable::sort () const </h3><p>Returns the data table's sort. -See the <a href="ntqdatatable.html#sort-prop">"sort"</a> property for details. +See the <a href="tqdatatable.html#sort-prop">"sort"</a> property for details. <h3 class=fn>void <a name="sortAscending"></a>TQDataTable::sortAscending ( int col )<tt> [virtual slot]</tt> </h3> Sorts column <em>col</em> in ascending order. @@ -645,7 +645,7 @@ whole rows by the specified column. Sorts column <em>col</em> in descending order. <p> <p>See also <a href="ntqtable.html#sorting-prop">sorting</a>. -<h3 class=fn><a href="ntqsqlcursor.html">TQSqlCursor</a> * <a name="sqlCursor"></a>TQDataTable::sqlCursor () const +<h3 class=fn><a href="tqsqlcursor.html">TQSqlCursor</a> * <a name="sqlCursor"></a>TQDataTable::sqlCursor () const </h3> Returns the cursor used by the data table. @@ -659,7 +659,7 @@ returned. <p>Reimplemented from <a href="ntqtable.html#text">TQTable</a>. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="trueText"></a>TQDataTable::trueText () const </h3><p>Returns the text used to represent true values. -See the <a href="ntqdatatable.html#trueText-prop">"trueText"</a> property for details. +See the <a href="tqdatatable.html#trueText-prop">"trueText"</a> property for details. <h3 class=fn>bool <a name="updateCurrent"></a>TQDataTable::updateCurrent ()<tt> [virtual protected]</tt> </h3> For an editable table, issues an update using the cursor's edit diff --git a/doc/html/qdataview-h.html b/doc/html/tqdataview-h.html index 9f9710812..838166aa2 100644 --- a/doc/html/qdataview-h.html +++ b/doc/html/tqdataview-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqdataview.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqdataview.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqdataview.h Include File</title> +<title>tqdataview.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqdataview.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqdataview.h</h1> -<p>This is the verbatim text of the ntqdataview.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqdataview.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** diff --git a/doc/html/qdataview-members.html b/doc/html/tqdataview-members.html index 6717271a0..51e4a5485 100644 --- a/doc/html/qdataview-members.html +++ b/doc/html/tqdataview-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqdataview.h:56 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqdataview.h:56 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,11 +32,11 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQDataView</h1> <p>This is the complete list of member functions for -<a href="ntqdataview.html">TQDataView</a>, including inherited members. +<a href="tqdataview.html">TQDataView</a>, including inherited members. <ul> -<li><a href="ntqdataview.html#TQDataView">TQDataView</a>() -<li><a href="ntqdataview.html#~TQDataView">~TQDataView</a>() +<li><a href="tqdataview.html#TQDataView">TQDataView</a>() +<li><a href="tqdataview.html#~TQDataView">~TQDataView</a>() <li><a href="ntqwidget.html#acceptDrops">acceptDrops</a>() <li><a href="ntqwidget.html#adjustSize">adjustSize</a>() <li><a href="ntqwidget.html#autoMask">autoMask</a>() @@ -58,7 +58,7 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#className">className</a>() <li><a href="ntqwidget.html#clearFocus">clearFocus</a>() <li><a href="ntqwidget.html#clearMask">clearMask</a>() -<li><a href="ntqdataview.html#clearValues">clearValues</a>() +<li><a href="tqdataview.html#clearValues">clearValues</a>() <li><a href="ntqwidget.html#clearWFlags">clearWFlags</a>() <li><a href="ntqwidget.html#clipRegion">clipRegion</a>() <li><a href="ntqwidget.html#close">close</a>() @@ -105,7 +105,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#fontInfo">fontInfo</a>() <li><a href="ntqwidget.html#fontMetrics">fontMetrics</a>() <li><a href="ntqwidget.html#foregroundColor">foregroundColor</a>() -<li><a href="ntqdataview.html#form">form</a>() +<li><a href="tqdataview.html#form">form</a>() <li><a href="ntqwidget.html#frameGeometry">frameGeometry</a>() <li><a href="ntqwidget.html#frameSize">frameSize</a>() <li><a href="ntqwidget.html#geometry">geometry</a>() @@ -206,11 +206,11 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#queryList">queryList</a>() <li><a href="ntqwidget.html#qwsEvent">qwsEvent</a>() <li><a href="ntqwidget.html#raise">raise</a>() -<li><a href="ntqdataview.html#readFields">readFields</a>() -<li><a href="ntqdataview.html#record">record</a>() +<li><a href="tqdataview.html#readFields">readFields</a>() +<li><a href="tqdataview.html#record">record</a>() <li><a href="ntqwidget.html#recreate">recreate</a>() <li><a href="ntqwidget.html#rect">rect</a>() -<li><a href="ntqdataview.html#refresh">refresh</a>() +<li><a href="tqdataview.html#refresh">refresh</a>() <li><a href="ntqwidget.html#releaseKeyboard">releaseKeyboard</a>() <li><a href="ntqwidget.html#releaseMouse">releaseMouse</a>() <li><a href="tqobject.html#removeChild">removeChild</a>() @@ -243,7 +243,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setFocusPolicy">setFocusPolicy</a>() <li><a href="ntqwidget.html#setFocusProxy">setFocusProxy</a>() <li><a href="ntqwidget.html#setFont">setFont</a>() -<li><a href="ntqdataview.html#setForm">setForm</a>() +<li><a href="tqdataview.html#setForm">setForm</a>() <li><a href="ntqwidget.html#setGeometry">setGeometry</a>() <li><a href="ntqwidget.html#setHidden">setHidden</a>() <li><a href="ntqwidget.html#setIcon">setIcon</a>() @@ -265,7 +265,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>() <li><a href="ntqwidget.html#setPaletteForegroundColor">setPaletteForegroundColor</a>() <li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="ntqdataview.html#setRecord">setRecord</a>() +<li><a href="tqdataview.html#setRecord">setRecord</a>() <li><a href="ntqwidget.html#setShown">setShown</a>() <li><a href="ntqwidget.html#setSizeIncrement">setSizeIncrement</a>() <li><a href="ntqwidget.html#setSizePolicy">setSizePolicy</a>() @@ -310,7 +310,7 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#windowActivationChange">windowActivationChange</a>() <li><a href="ntqwidget.html#windowOpacity">windowOpacity</a>() <li><a href="ntqwidget.html#windowState">windowState</a>() -<li><a href="ntqdataview.html#writeFields">writeFields</a>() +<li><a href="tqdataview.html#writeFields">writeFields</a>() <li><a href="ntqwidget.html#x">x</a>() <li><a href="ntqpaintdevice.html#x11AppCells">x11AppCells</a>() <li><a href="ntqpaintdevice.html#x11AppColormap">x11AppColormap</a>() diff --git a/doc/html/ntqdataview.html b/doc/html/tqdataview.html index 336364560..8ba9d86d7 100644 --- a/doc/html/ntqdataview.html +++ b/doc/html/tqdataview.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qdataview.cpp:51 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqdataview.cpp:51 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,9 +33,9 @@ body { background: #ffffff; color: black; } <p>The TQDataView class provides read-only SQL forms. <a href="#details">More...</a> -<p><tt>#include <<a href="qdataview-h.html">ntqdataview.h</a>></tt> +<p><tt>#include <<a href="tqdataview-h.html">tqdataview.h</a>></tt> <p>Inherits <a href="ntqwidget.html">TQWidget</a>. -<p><a href="qdataview-members.html">List of all member functions.</a> +<p><a href="tqdataview-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQDataView"><b>TQDataView</b></a> ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )</li> @@ -61,14 +61,14 @@ The TQDataView class provides read-only SQL forms. <p> This class provides a form which displays SQL field data from a record buffer. Because TQDataView does not support editing it uses -less resources than a <a href="ntqdatabrowser.html">TQDataBrowser</a>. This class is well suited for +less resources than a <a href="tqdatabrowser.html">TQDataBrowser</a>. This class is well suited for displaying read-only data from a SQL database. <p> If you want a to present your data in an editable form use TQDataBrowser; if you want a table-based presentation of your data -use <a href="ntqdatatable.html">TQDataTable</a>. +use <a href="tqdatatable.html">TQDataTable</a>. <p> The form is associated with the data view with <a href="#setForm">setForm</a>() and the record is associated with <a href="#setRecord">setRecord</a>(). You can also pass a -<a href="ntqsqlrecord.html">TQSqlRecord</a> to the <a href="#refresh">refresh</a>() function which will set the record to +<a href="tqsqlrecord.html">TQSqlRecord</a> to the <a href="#refresh">refresh</a>() function which will set the record to the given record and read the record's fields into the form. <p>See also <a href="database.html">Database Classes</a>. @@ -87,7 +87,7 @@ Clears the default form's values. If there is no default form, nothing happens. All the values are set to their 'zero state', e.g. 0 for numeric fields, "" for string fields. -<h3 class=fn><a href="ntqsqlform.html">TQSqlForm</a> * <a name="form"></a>TQDataView::form () +<h3 class=fn><a href="tqsqlform.html">TQSqlForm</a> * <a name="form"></a>TQDataView::form () </h3> Returns the default form used by the data view, or 0 if there is none. @@ -99,13 +99,13 @@ Causes the default form to read its fields from the record buffer. If there is no default form, or no record, nothing happens. <p> <p>See also <a href="#setForm">setForm</a>(). -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> * <a name="record"></a>TQDataView::record () +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> * <a name="record"></a>TQDataView::record () </h3> Returns the default record used by the data view, or 0 if there is none. <p> <p>See also <a href="#setRecord">setRecord</a>(). -<h3 class=fn>void <a name="refresh"></a>TQDataView::refresh ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [virtual slot]</tt> +<h3 class=fn>void <a name="refresh"></a>TQDataView::refresh ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [virtual slot]</tt> </h3> Causes the default form to display the contents of <em>buf</em>. If there is no default form, nothing happens.The <em>buf</em> also becomes @@ -118,14 +118,14 @@ writefields(). This slot is equivalant to calling: <p> <p>See also <a href="#setRecord">setRecord</a>() and <a href="#readFields">readFields</a>(). -<h3 class=fn>void <a name="setForm"></a>TQDataView::setForm ( <a href="ntqsqlform.html">TQSqlForm</a> * form )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setForm"></a>TQDataView::setForm ( <a href="tqsqlform.html">TQSqlForm</a> * form )<tt> [virtual]</tt> </h3> Sets the form used by the data view to <em>form</em>. If a record has already been assigned to the data view, the form will display that record's data. <p> <p>See also <a href="#form">form</a>(). -<h3 class=fn>void <a name="setRecord"></a>TQDataView::setRecord ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * record )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setRecord"></a>TQDataView::setRecord ( <a href="tqsqlrecord.html">TQSqlRecord</a> * record )<tt> [virtual]</tt> </h3> Sets the record used by the data view to <em>record</em>. If a form has already been assigned to the data view, the form will display the diff --git a/doc/html/qeditorfactory-h.html b/doc/html/tqeditorfactory-h.html index a067a81f9..9576794a8 100644 --- a/doc/html/qeditorfactory-h.html +++ b/doc/html/tqeditorfactory-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqeditorfactory.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqeditorfactory.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqeditorfactory.h Include File</title> +<title>tqeditorfactory.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqeditorfactory.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqeditorfactory.h</h1> -<p>This is the verbatim text of the ntqeditorfactory.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqeditorfactory.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** diff --git a/doc/html/qeditorfactory-members.html b/doc/html/tqeditorfactory-members.html index b4c22d02e..9abeac1d7 100644 --- a/doc/html/qeditorfactory-members.html +++ b/doc/html/tqeditorfactory-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqeditorfactory.h:53 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqeditorfactory.h:53 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,11 +32,11 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQEditorFactory</h1> <p>This is the complete list of member functions for -<a href="ntqeditorfactory.html">TQEditorFactory</a>, including inherited members. +<a href="tqeditorfactory.html">TQEditorFactory</a>, including inherited members. <ul> -<li><a href="ntqeditorfactory.html#TQEditorFactory">TQEditorFactory</a>() -<li><a href="ntqeditorfactory.html#~TQEditorFactory">~TQEditorFactory</a>() +<li><a href="tqeditorfactory.html#TQEditorFactory">TQEditorFactory</a>() +<li><a href="tqeditorfactory.html#~TQEditorFactory">~TQEditorFactory</a>() <li><a href="tqobject.html#blockSignals">blockSignals</a>() <li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() <li><a href="tqobject.html#child">child</a>() @@ -45,9 +45,9 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#className">className</a>() <li><a href="tqobject.html#connect">connect</a>() <li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="ntqeditorfactory.html#createEditor">createEditor</a>() +<li><a href="tqeditorfactory.html#createEditor">createEditor</a>() <li><a href="tqobject.html#customEvent">customEvent</a>() -<li><a href="ntqeditorfactory.html#defaultFactory">defaultFactory</a>() +<li><a href="tqeditorfactory.html#defaultFactory">defaultFactory</a>() <li><a href="tqobject.html#deleteLater">deleteLater</a>() <li><a href="tqobject.html#destroyed">destroyed</a>() <li><a href="tqobject.html#disconnect">disconnect</a>() @@ -59,7 +59,7 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#highPriority">highPriority</a>() <li><a href="tqobject.html#inherits">inherits</a>() <li><a href="tqobject.html#insertChild">insertChild</a>() -<li><a href="ntqeditorfactory.html#installDefaultFactory">installDefaultFactory</a>() +<li><a href="tqeditorfactory.html#installDefaultFactory">installDefaultFactory</a>() <li><a href="tqobject.html#installEventFilter">installEventFilter</a>() <li><a href="tqobject.html#isA">isA</a>() <li><a href="tqobject.html#isWidgetType">isWidgetType</a>() diff --git a/doc/html/ntqeditorfactory.html b/doc/html/tqeditorfactory.html index b48bbbec5..4e0732c35 100644 --- a/doc/html/ntqeditorfactory.html +++ b/doc/html/tqeditorfactory.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qeditorfactory.cpp:48 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqeditorfactory.cpp:48 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,10 +34,10 @@ body { background: #ffffff; color: black; } <p>The TQEditorFactory class is used to create editor widgets for TQVariant data types. <a href="#details">More...</a> -<p><tt>#include <<a href="qeditorfactory-h.html">ntqeditorfactory.h</a>></tt> +<p><tt>#include <<a href="tqeditorfactory-h.html">tqeditorfactory.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a>. -<p>Inherited by <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>. -<p><a href="qeditorfactory-members.html">List of all member functions.</a> +<p>Inherited by <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a>. +<p><a href="tqeditorfactory-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQEditorFactory"><b>TQEditorFactory</b></a> ( TQObject * parent = 0, const char * name = 0 )</li> @@ -81,12 +81,12 @@ Creates and returns the appropriate editor for the <a href="ntqvariant.html">TQV If the TQVariant is invalid, 0 is returned. The <em>parent</em> is passed to the appropriate editor's constructor. -<p>Reimplemented in <a href="ntqsqleditorfactory.html#createEditor">TQSqlEditorFactory</a>. -<h3 class=fn><a href="ntqeditorfactory.html">TQEditorFactory</a> * <a name="defaultFactory"></a>TQEditorFactory::defaultFactory ()<tt> [static]</tt> +<p>Reimplemented in <a href="tqsqleditorfactory.html#createEditor">TQSqlEditorFactory</a>. +<h3 class=fn><a href="tqeditorfactory.html">TQEditorFactory</a> * <a name="defaultFactory"></a>TQEditorFactory::defaultFactory ()<tt> [static]</tt> </h3> Returns an instance of a default editor factory. -<h3 class=fn>void <a name="installDefaultFactory"></a>TQEditorFactory::installDefaultFactory ( <a href="ntqeditorfactory.html">TQEditorFactory</a> * factory )<tt> [static]</tt> +<h3 class=fn>void <a name="installDefaultFactory"></a>TQEditorFactory::installDefaultFactory ( <a href="tqeditorfactory.html">TQEditorFactory</a> * factory )<tt> [static]</tt> </h3> Replaces the default editor factory with <em>factory</em>. <em>TQEditorFactory takes ownership of factory, and destroys it when it is no longer needed.</em> diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index 200d07a55..27d5699b2 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; } <p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when TQt is built with thread support.</p> <p><tt>#include <<a href="tqobject-h.html">tqobject.h</a>></tt> <p>Inherits <a href="ntqt.html">TQt</a>. -<p>Inherited by <a href="ntqaccel.html">TQAccel</a>, <a href="qaccessibleobject.html">TQAccessibleObject</a>, <a href="ntqaction.html">TQAction</a>, <a href="ntqapplication.html">TQApplication</a>, <a href="ntqassistantclient.html">TQAssistantClient</a>, <a href="qdatapump.html">TQDataPump</a>, <a href="qaxobject.html">TQAxObject</a>, <a href="qaxscript.html">TQAxScript</a>, <a href="qaxscriptmanager.html">TQAxScriptManager</a>, <a href="ntqwidget.html">TQWidget</a>, <a href="ntqcanvas.html">TQCanvas</a>, <a href="ntqstyle.html">TQStyle</a>, <a href="ntqclipboard.html">TQClipboard</a>, <a href="qcopchannel.html">TQCopChannel</a>, <a href="ntqdns.html">TQDns</a>, <a href="ntqlayout.html">TQLayout</a>, <a href="ntqdragobject.html">TQDragObject</a>, <a href="ntqeditorfactory.html">TQEditorFactory</a>, <a href="ntqeventloop.html">TQEventLoop</a>, <a href="qfileiconprovider.html">TQFileIconProvider</a>, <a href="ntqnetworkprotocol.html">TQNetworkProtocol</a>, <a href="qwskeyboardhandler.html">TQWSKeyboardHandler</a>, <a href="qnetworkoperation.html">TQNetworkOperation</a>, <a href="qnpinstance.html">TQNPInstance</a>, <a href="tqobjectcleanuphandler.html">TQObjectCleanupHandler</a>, <a href="ntqprocess.html">TQProcess</a>, <a href="ntqserversocket.html">TQServerSocket</a>, <a href="ntqsessionmanager.html">TQSessionManager</a>, <a href="ntqsignal.html">TQSignal</a>, <a href="ntqsignalmapper.html">TQSignalMapper</a>, <a href="ntqsocket.html">TQSocket</a>, <a href="ntqsocketnotifier.html">TQSocketNotifier</a>, <a href="ntqsound.html">TQSound</a>, <a href="ntqsqldatabase.html">TQSqlDatabase</a>, <a href="ntqsqldriver.html">TQSqlDriver</a>, <a href="ntqsqlform.html">TQSqlForm</a>, <a href="ntqstylesheet.html">TQStyleSheet</a>, <a href="ntqtimer.html">TQTimer</a>, <a href="qtooltipgroup.html">TQToolTipGroup</a>, <a href="ntqtranslator.html">TQTranslator</a>, <a href="ntqurloperator.html">TQUrlOperator</a>, and <a href="ntqvalidator.html">TQValidator</a>. +<p>Inherited by <a href="ntqaccel.html">TQAccel</a>, <a href="qaccessibleobject.html">TQAccessibleObject</a>, <a href="ntqaction.html">TQAction</a>, <a href="ntqapplication.html">TQApplication</a>, <a href="ntqassistantclient.html">TQAssistantClient</a>, <a href="qdatapump.html">TQDataPump</a>, <a href="qaxobject.html">TQAxObject</a>, <a href="qaxscript.html">TQAxScript</a>, <a href="qaxscriptmanager.html">TQAxScriptManager</a>, <a href="ntqwidget.html">TQWidget</a>, <a href="ntqcanvas.html">TQCanvas</a>, <a href="ntqstyle.html">TQStyle</a>, <a href="ntqclipboard.html">TQClipboard</a>, <a href="qcopchannel.html">TQCopChannel</a>, <a href="ntqdns.html">TQDns</a>, <a href="ntqlayout.html">TQLayout</a>, <a href="ntqdragobject.html">TQDragObject</a>, <a href="tqeditorfactory.html">TQEditorFactory</a>, <a href="ntqeventloop.html">TQEventLoop</a>, <a href="qfileiconprovider.html">TQFileIconProvider</a>, <a href="ntqnetworkprotocol.html">TQNetworkProtocol</a>, <a href="qwskeyboardhandler.html">TQWSKeyboardHandler</a>, <a href="qnetworkoperation.html">TQNetworkOperation</a>, <a href="qnpinstance.html">TQNPInstance</a>, <a href="tqobjectcleanuphandler.html">TQObjectCleanupHandler</a>, <a href="ntqprocess.html">TQProcess</a>, <a href="ntqserversocket.html">TQServerSocket</a>, <a href="ntqsessionmanager.html">TQSessionManager</a>, <a href="ntqsignal.html">TQSignal</a>, <a href="ntqsignalmapper.html">TQSignalMapper</a>, <a href="ntqsocket.html">TQSocket</a>, <a href="ntqsocketnotifier.html">TQSocketNotifier</a>, <a href="ntqsound.html">TQSound</a>, <a href="tqsqldatabase.html">TQSqlDatabase</a>, <a href="tqsqldriver.html">TQSqlDriver</a>, <a href="tqsqlform.html">TQSqlForm</a>, <a href="ntqstylesheet.html">TQStyleSheet</a>, <a href="ntqtimer.html">TQTimer</a>, <a href="qtooltipgroup.html">TQToolTipGroup</a>, <a href="ntqtranslator.html">TQTranslator</a>, <a href="ntqurloperator.html">TQUrlOperator</a>, and <a href="ntqvalidator.html">TQValidator</a>. <p><a href="tqobject-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> diff --git a/doc/html/qsql-h.html b/doc/html/tqsql-h.html index c6aefa61d..6588f2d0e 100644 --- a/doc/html/qsql-h.html +++ b/doc/html/tqsql-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsql.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsql.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsql.h Include File</title> +<title>tqsql.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsql.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsql.h</h1> -<p>This is the verbatim text of the ntqsql.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsql.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** diff --git a/doc/html/qsql-members.html b/doc/html/tqsql-members.html index 988e8c21f..9d8cdaca7 100644 --- a/doc/html/qsql-members.html +++ b/doc/html/tqsql-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsql.h:53 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsql.h:53 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,10 +32,10 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSql</h1> <p>This is the complete list of member functions for -<a href="ntqsql.html">TQSql</a>, including inherited members. +<a href="tqsql.html">TQSql</a>, including inherited members. <ul> -<li><a href="ntqsql.html#TQSql">TQSql</a>() +<li><a href="tqsql.html#TQSql">TQSql</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsql.html b/doc/html/tqsql.html index 02e5c3ac6..c76a3654c 100644 --- a/doc/html/ntqsql.html +++ b/doc/html/tqsql.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsql.cpp:39 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsql.cpp:39 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; } <p>The TQSql class is a namespace for TQt SQL identifiers that need to be global-like. <a href="#details">More...</a> -<p><tt>#include <<a href="qsql-h.html">ntqsql.h</a>></tt> -<p><a href="qsql-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsql-h.html">tqsql.h</a>></tt> +<p><a href="tqsql-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSql"><b>TQSql</b></a> ()</li> diff --git a/doc/html/qsqlcursor-h.html b/doc/html/tqsqlcursor-h.html index 1378a70ab..a789c9f2d 100644 --- a/doc/html/qsqlcursor-h.html +++ b/doc/html/tqsqlcursor-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlcursor.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlcursor.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlcursor.h Include File</title> +<title>tqsqlcursor.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlcursor.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlcursor.h</h1> -<p>This is the verbatim text of the ntqsqlcursor.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlcursor.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -77,10 +77,10 @@ body { background: #ffffff; color: black; } #define TQSQLCURSOR_H #ifndef QT_H -#include "ntqsqlrecord.h" +#include "tqsqlrecord.h" #include "ntqstringlist.h" -#include "ntqsqlquery.h" -#include "ntqsqlindex.h" +#include "tqsqlquery.h" +#include "tqsqlindex.h" #endif // QT_H #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) diff --git a/doc/html/tqsqlcursor-members.html b/doc/html/tqsqlcursor-members.html new file mode 100644 index 000000000..3fe24b2dc --- /dev/null +++ b/doc/html/tqsqlcursor-members.html @@ -0,0 +1,121 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlcursor.h:58 --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>TQSqlCursor Member List</title> +<style type="text/css"><!-- +fn { margin-left: 1cm; text-indent: -1cm; } +a:link { color: #004faf; text-decoration: none } +a:visited { color: #672967; text-decoration: none } +body { background: #ffffff; color: black; } +--></style> +</head> +<body> + +<table border="0" cellpadding="0" cellspacing="0" width="100%"> +<tr bgcolor="#E5E5E5"> +<td valign=center> + <a href="index.html"> +<font color="#004faf">Home</font></a> + | <a href="classes.html"> +<font color="#004faf">All Classes</font></a> + | <a href="mainclasses.html"> +<font color="#004faf">Main Classes</font></a> + | <a href="annotated.html"> +<font color="#004faf">Annotated</font></a> + | <a href="groups.html"> +<font color="#004faf">Grouped Classes</font></a> + | <a href="functions.html"> +<font color="#004faf">Functions</font></a> +</td> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlCursor</h1> + +<p>This is the complete list of member functions for +<a href="tqsqlcursor.html">TQSqlCursor</a>, including inherited members. + +<ul> +<li><a href="tqsqlcursor.html#TQSqlCursor">TQSqlCursor</a>() +<li><a href="tqsqlcursor.html#~TQSqlCursor">~TQSqlCursor</a>() +<li><a href="tqsqlquery.html#addBindValue">addBindValue</a>() +<li><a href="tqsqlquery.html#afterSeek">afterSeek</a>() +<li><a href="tqsqlcursor.html#append">append</a>() +<li><a href="tqsqlquery.html#at">at</a>() +<li><a href="tqsqlquery.html#beforeSeek">beforeSeek</a>() +<li><a href="tqsqlquery.html#bindValue">bindValue</a>() +<li><a href="tqsqlquery.html#boundValue">boundValue</a>() +<li><a href="tqsqlquery.html#boundValues">boundValues</a>() +<li><a href="tqsqlcursor.html#calculateField">calculateField</a>() +<li><a href="tqsqlcursor.html#canDelete">canDelete</a>() +<li><a href="tqsqlcursor.html#canInsert">canInsert</a>() +<li><a href="tqsqlcursor.html#canUpdate">canUpdate</a>() +<li><a href="tqsqlcursor.html#clear">clear</a>() +<li><a href="tqsqlrecord.html#clearValues">clearValues</a>() +<li><a href="tqsqlrecord.html#contains">contains</a>() +<li><a href="tqsqlrecord.html#count">count</a>() +<li><a href="tqsqlcursor.html#del">del</a>() +<li><a href="tqsqlquery.html#driver">driver</a>() +<li><a href="tqsqlcursor.html#editBuffer">editBuffer</a>() +<li><a href="tqsqlquery.html#exec">exec</a>() +<li><a href="tqsqlquery.html#executedQuery">executedQuery</a>() +<li><a href="tqsqlrecord.html#field">field</a>() +<li><a href="tqsqlrecord.html#fieldName">fieldName</a>() +<li><a href="tqsqlcursor.html#filter">filter</a>() +<li><a href="tqsqlquery.html#first">first</a>() +<li><a href="tqsqlcursor.html#index">index</a>() +<li><a href="tqsqlcursor.html#insert">insert</a>() +<li><a href="tqsqlquery.html#isActive">isActive</a>() +<li><a href="tqsqlcursor.html#isCalculated">isCalculated</a>() +<li><a href="tqsqlrecord.html#isEmpty">isEmpty</a>() +<li><a href="tqsqlquery.html#isForwardOnly">isForwardOnly</a>() +<li><a href="tqsqlrecord.html#isGenerated">isGenerated</a>() +<li><a href="tqsqlcursor.html#isNull">isNull</a>() +<li><a href="tqsqlcursor.html#isReadOnly">isReadOnly</a>() +<li><a href="tqsqlquery.html#isSelect">isSelect</a>() +<li><a href="tqsqlcursor.html#isTrimmed">isTrimmed</a>() +<li><a href="tqsqlquery.html#isValid">isValid</a>() +<li><a href="tqsqlquery.html#last">last</a>() +<li><a href="tqsqlquery.html#lastError">lastError</a>() +<li><a href="tqsqlquery.html#lastQuery">lastQuery</a>() +<li><a href="tqsqlcursor.html#mode">mode</a>() +<li><a href="tqsqlcursor.html#name">name</a>() +<li><a href="tqsqlquery.html#next">next</a>() +<li><a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() +<li><a href="tqsqlcursor.html#operator-eq">operator=</a>() +<li><a href="tqsqlrecord.html#position">position</a>() +<li><a href="tqsqlquery.html#prepare">prepare</a>() +<li><a href="tqsqlquery.html#prev">prev</a>() +<li><a href="tqsqlcursor.html#primaryIndex">primaryIndex</a>() +<li><a href="tqsqlcursor.html#primeDelete">primeDelete</a>() +<li><a href="tqsqlcursor.html#primeInsert">primeInsert</a>() +<li><a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() +<li><a href="tqsqlcursor.html#remove">remove</a>() +<li><a href="tqsqlquery.html#result">result</a>() +<li><a href="tqsqlquery.html#seek">seek</a>() +<li><a href="tqsqlcursor.html#select">select</a>() +<li><a href="tqsqlcursor.html#setCalculated">setCalculated</a>() +<li><a href="tqsqlcursor.html#setFilter">setFilter</a>() +<li><a href="tqsqlquery.html#setForwardOnly">setForwardOnly</a>() +<li><a href="tqsqlcursor.html#setGenerated">setGenerated</a>() +<li><a href="tqsqlcursor.html#setMode">setMode</a>() +<li><a href="tqsqlcursor.html#setName">setName</a>() +<li><a href="tqsqlrecord.html#setNull">setNull</a>() +<li><a href="tqsqlcursor.html#setPrimaryIndex">setPrimaryIndex</a>() +<li><a href="tqsqlcursor.html#setSort">setSort</a>() +<li><a href="tqsqlcursor.html#setTrimmed">setTrimmed</a>() +<li><a href="tqsqlrecord.html#setValue">setValue</a>() +<li><a href="tqsqlquery.html#size">size</a>() +<li><a href="tqsqlcursor.html#sort">sort</a>() +<li><a href="tqsqlcursor.html#toString">toString</a>() +<li><a href="tqsqlrecord.html#toStringList">toStringList</a>() +<li><a href="tqsqlcursor.html#update">update</a>() +<li><a href="tqsqlquery.html#value">value</a>() +</ul> +<!-- eof --> +<p><address><hr><div align=center> +<table width=100% cellspacing=0 border=0><tr> +<td>Copyright © 2007 +<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> +<td align=right><div align=right>TQt 3.3.8</div> +</table></div></address></body> +</html> diff --git a/doc/html/ntqsqlcursor.html b/doc/html/tqsqlcursor.html index e0aa1ff2f..30a9ca993 100644 --- a/doc/html/ntqsqlcursor.html +++ b/doc/html/tqsqlcursor.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlcursor.cpp:122 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlcursor.cpp:122 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,10 +34,10 @@ body { background: #ffffff; color: black; } <p>The TQSqlCursor class provides browsing and editing of SQL tables and views. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>></tt> -<p>Inherits <a href="ntqsqlrecord.html">TQSqlRecord</a> and <a href="ntqsqlquery.html">TQSqlQuery</a>. -<p>Inherited by <a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a>. -<p><a href="qsqlcursor-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>></tt> +<p>Inherits <a href="tqsqlrecord.html">TQSqlRecord</a> and <a href="tqsqlquery.html">TQSqlQuery</a>. +<p>Inherited by <a href="tqsqlselectcursor.html">TQSqlSelectCursor</a>. +<p><a href="tqsqlcursor-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlCursor"><b>TQSqlCursor</b></a> ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )</li> @@ -102,8 +102,8 @@ The TQSqlCursor class provides browsing and editing of SQL tables and views. <p> -<p> A TQSqlCursor is a database record (see <a href="ntqsqlrecord.html">TQSqlRecord</a>) that -corresponds to a table or view within an SQL database (see <a href="ntqsqldatabase.html">TQSqlDatabase</a>). There are two buffers in a cursor, one used for +<p> A TQSqlCursor is a database record (see <a href="tqsqlrecord.html">TQSqlRecord</a>) that +corresponds to a table or view within an SQL database (see <a href="tqsqldatabase.html">TQSqlDatabase</a>). There are two buffers in a cursor, one used for browsing and one used for editing records. Each buffer contains a list of fields which correspond to the fields in the table or view. @@ -113,12 +113,12 @@ buffer is separate, and is used for editing existing records and inserting new records. <p> For browsing data, a cursor must first <a href="#select">select</a>() data from the database. After a successful select() the cursor is active -(<a href="ntqsqlquery.html#isActive">isActive</a>() returns TRUE), but is initially not positioned on a -valid record (<a href="ntqsqlquery.html#isValid">isValid</a>() returns FALSE). To position the cursor on -a valid record, use one of the navigation functions, <a href="ntqsqlquery.html#next">next</a>(), -<a href="ntqsqlquery.html#prev">prev</a>(), <a href="ntqsqlquery.html#first">first</a>(), <a href="ntqsqlquery.html#last">last</a>(), or <a href="ntqsqlquery.html#seek">seek</a>(). Once positioned on a valid +(<a href="tqsqlquery.html#isActive">isActive</a>() returns TRUE), but is initially not positioned on a +valid record (<a href="tqsqlquery.html#isValid">isValid</a>() returns FALSE). To position the cursor on +a valid record, use one of the navigation functions, <a href="tqsqlquery.html#next">next</a>(), +<a href="tqsqlquery.html#prev">prev</a>(), <a href="tqsqlquery.html#first">first</a>(), <a href="tqsqlquery.html#last">last</a>(), or <a href="tqsqlquery.html#seek">seek</a>(). Once positioned on a valid record, data can be retrieved from the browse buffer using -<a href="ntqsqlquery.html#value">value</a>(). If a navigation function is not successful, it returns +<a href="tqsqlquery.html#value">value</a>(). If a navigation function is not successful, it returns FALSE, the cursor will no longer be positioned on a valid record and the values returned by value() are undefined. <p> For example: @@ -126,16 +126,16 @@ and the values returned by value() are undefined. <pre> TQSqlCursor cur( "staff" ); // Specify the table/view name <a name="x2178"></a> cur.<a href="#select">select</a>(); // We'll retrieve every record - while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2179"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + - cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + - cur.<a href="ntqsqlquery.html#value">value</a>( "salary" ).toString() ); + while ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2179"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString() + " " + + cur.<a href="tqsqlquery.html#value">value</a>( "salary" ).toString() ); } </pre> <p> In the above example, a cursor is created specifying a table or view name in the database. Then, <a href="#select">select</a>() is called, which can be optionally parameterised to filter and order the records -retrieved. Each record in the cursor is retrieved using <a href="ntqsqlquery.html#next">next</a>(). +retrieved. Each record in the cursor is retrieved using <a href="tqsqlquery.html#next">next</a>(). When next() returns FALSE, there are no more records to process, and the loop terminates. <p> For editing records (rows of data), a cursor contains a separate @@ -155,11 +155,11 @@ that edit operations affect a unique record within the database. <pre> TQSqlCursor cur( "prices" ); <a name="x2200"></a> cur.<a href="#select">select</a>( "id=202" ); - if ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2199"></a> <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="#primeUpdate">primeUpdate</a>(); - <a name="x2204"></a> double price = buffer-><a href="ntqsqlrecord.html#value">value</a>( "price" ).toDouble(); + if ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2199"></a> <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="#primeUpdate">primeUpdate</a>(); + <a name="x2204"></a> double price = buffer-><a href="tqsqlrecord.html#value">value</a>( "price" ).toDouble(); double newprice = price * 1.05; - <a name="x2203"></a> buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "price", newprice ); + <a name="x2203"></a> buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "price", newprice ); <a name="x2201"></a> cur.<a href="#update">update</a>(); } </pre> @@ -180,7 +180,7 @@ the edit buffer. Use this pointer to populate the edit buffer with new values and then <a href="#insert">insert</a>() the record into the database. <p> After calling insert(), update() or del(), the cursor is no longer positioned on a valid record and can no longer be navigated -(<a href="ntqsqlquery.html#isValid">isValid</a>() return FALSE). The reason for this is that any changes +(<a href="tqsqlquery.html#isValid">isValid</a>() return FALSE). The reason for this is that any changes made to the database will not be visible until <a href="#select">select</a>() is called to refresh the cursor. You can change this behavior by passing FALSE to insert(), <a href="#update">update</a>() or del() which will prevent the cursor @@ -198,10 +198,10 @@ using <a href="#setGenerated">setGenerated</a>(). <p> Note that TQSqlCursor does not inherit from <a href="tqobject.html">TQObject</a>. This means that you are responsible for destroying instances of this class yourself. However if you create a TQSqlCursor and use it in a -<a href="ntqdatatable.html">TQDataTable</a>, <a href="ntqdatabrowser.html">TQDataBrowser</a> or a <a href="ntqdataview.html">TQDataView</a> these classes will +<a href="tqdatatable.html">TQDataTable</a>, <a href="tqdatabrowser.html">TQDataBrowser</a> or a <a href="tqdataview.html">TQDataView</a> these classes will usually take ownership of the cursor and destroy it when they -don't need it anymore. The documentation for <a href="ntqdatatable.html">TQDataTable</a>, -<a href="ntqdatabrowser.html">TQDataBrowser</a> and <a href="ntqdataview.html">TQDataView</a> explicitly states which calls take +don't need it anymore. The documentation for <a href="tqdatatable.html">TQDataTable</a>, +<a href="tqdatabrowser.html">TQDataBrowser</a> and <a href="tqdataview.html">TQDataView</a> explicitly states which calls take ownership of the cursor. <p>See also <a href="database.html">Database Classes</a>. @@ -220,7 +220,7 @@ database. in the database. </ul> <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQSqlCursor"></a>TQSqlCursor::TQSqlCursor ( const <a href="ntqstring.html">TQString</a> & name = TQString::null, bool autopopulate = TRUE, <a href="ntqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) +<h3 class=fn><a name="TQSqlCursor"></a>TQSqlCursor::TQSqlCursor ( const <a href="ntqstring.html">TQString</a> & name = TQString::null, bool autopopulate = TRUE, <a href="tqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) </h3> Constructs a cursor on database <em>db</em> using table or view <em>name</em>. <p> If <em>autopopulate</em> is TRUE (the default), the <em>name</em> of the @@ -238,7 +238,7 @@ retrieving data. The <a href="#select">select</a>() function is used to populate cursor with data. <p> <p>See also <a href="#setName">setName</a>() and <a href="#setMode">setMode</a>(). -<h3 class=fn><a name="TQSqlCursor-2"></a>TQSqlCursor::TQSqlCursor ( const <a href="ntqsqlcursor.html">TQSqlCursor</a> & other ) +<h3 class=fn><a name="TQSqlCursor-2"></a>TQSqlCursor::TQSqlCursor ( const <a href="tqsqlcursor.html">TQSqlCursor</a> & other ) </h3> Constructs a copy of <em>other</em>. @@ -246,7 +246,7 @@ Constructs a copy of <em>other</em>. </h3> Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="append"></a>TQSqlCursor::append ( const <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> & fieldInfo )<tt> [virtual]</tt> +<h3 class=fn>void <a name="append"></a>TQSqlCursor::append ( const <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> & fieldInfo )<tt> [virtual]</tt> </h3> Append a copy of field <em>fieldInfo</em> to the end of the cursor. Note that all references to the cursor edit buffer become invalidated. @@ -284,13 +284,13 @@ FALSE. Removes all fields from the cursor. Note that all references to the cursor edit buffer become invalidated. -<p>Reimplemented from <a href="ntqsqlrecord.html#clear">TQSqlRecord</a>. +<p>Reimplemented from <a href="tqsqlrecord.html#clear">TQSqlRecord</a>. <h3 class=fn>int <a name="del"></a>TQSqlCursor::del ( bool invalidate = TRUE )<tt> [virtual]</tt> </h3> Deletes a record from the database using the cursor's primary index and the contents of the cursor edit buffer. Returns the number of records which were deleted. -For error information, use <a href="ntqsqlquery.html#lastError">lastError</a>(). +For error information, use <a href="tqsqlquery.html#lastError">lastError</a>(). <p> Only records which meet the filter criteria specified by the cursor's primary index are deleted. If the cursor does not contain a primary index, no delete is performed and 0 is returned. If <em>invalidate</em> is TRUE (the default), the current cursor can no longer @@ -300,7 +300,7 @@ to a valid record. For example: <pre> TQSqlCursor cur( "prices" ); <a name="x2207"></a> cur.<a href="#select">select</a>( "id=999" ); - <a name="x2208"></a> if ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { + <a name="x2208"></a> if ( cur.<a href="tqsqlquery.html#next">next</a>() ) { <a name="x2206"></a> cur.<a href="#primeDelete">primeDelete</a>(); <a name="x2205"></a> cur.<a href="#del">del</a>(); } @@ -312,7 +312,7 @@ e.g. with an id of 999, and then <a href="#del">del</a>() is called to actually delete the record from the database. Remember: all edit operations (<a href="#insert">insert</a>(), <a href="#update">update</a>() and delete()) operate on the contents of the cursor edit buffer and not on the contents of the cursor itself. -<p> <p>See also <a href="#primeDelete">primeDelete</a>(), <a href="#setMode">setMode</a>(), and <a href="ntqsqlquery.html#lastError">lastError</a>(). +<p> <p>See also <a href="#primeDelete">primeDelete</a>(), <a href="#setMode">setMode</a>(), and <a href="tqsqlquery.html#lastError">lastError</a>(). <p>Example: <a href="sql.html#x2205">sql/overview/delete/main.cpp</a>. <h3 class=fn>int <a name="del-2"></a>TQSqlCursor::del ( const <a href="ntqstring.html">TQString</a> & filter, bool invalidate = TRUE )<tt> [virtual protected]</tt> @@ -322,11 +322,11 @@ This is an overloaded member function, provided for convenience. It behaves esse filter <em>filter</em>. Only records which meet the filter criteria are deleted. Returns the number of records which were deleted. If <em>invalidate</em> is TRUE (the default), the current cursor can no longer be navigated. A new <a href="#select">select</a>() call must be made before you can move -to a valid record. For error information, use <a href="ntqsqlquery.html#lastError">lastError</a>(). +to a valid record. For error information, use <a href="tqsqlquery.html#lastError">lastError</a>(). <p> The <em>filter</em> is an SQL <tt>WHERE</tt> clause, e.g. <tt>id=500</tt>. -<p> <p>See also <a href="#setMode">setMode</a>() and <a href="ntqsqlquery.html#lastError">lastError</a>(). +<p> <p>See also <a href="#setMode">setMode</a>() and <a href="tqsqlquery.html#lastError">lastError</a>(). -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> * <a name="editBuffer"></a>TQSqlCursor::editBuffer ( bool copy = FALSE )<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> * <a name="editBuffer"></a>TQSqlCursor::editBuffer ( bool copy = FALSE )<tt> [virtual]</tt> </h3> Returns the current internal edit buffer. If <em>copy</em> is TRUE (the default is FALSE), the current cursor field values are first @@ -340,38 +340,38 @@ returned pointer, so it must not be deleted or modified. Returns the current filter, or an empty string if there is no current filter. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="index"></a>TQSqlCursor::index ( const <a href="ntqstringlist.html">TQStringList</a> & fieldNames ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="index"></a>TQSqlCursor::index ( const <a href="ntqstringlist.html">TQStringList</a> & fieldNames ) const<tt> [virtual]</tt> </h3> Returns an index composed of <em>fieldNames</em>, all in ASCending order. Note that all field names must exist in the cursor, otherwise an empty index is returned. -<p> <p>See also <a href="ntqsqlindex.html">TQSqlIndex</a>. +<p> <p>See also <a href="tqsqlindex.html">TQSqlIndex</a>. <p>Examples: <a href="sql.html#x2188">sql/overview/extract/main.cpp</a>, <a href="sql.html#x2181">sql/overview/order1/main.cpp</a>, <a href="sql.html#x2184">sql/overview/order2/main.cpp</a>, and <a href="sql.html#x2241">sql/overview/table3/main.cpp</a>. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="index-2"></a>TQSqlCursor::index ( const <a href="ntqstring.html">TQString</a> & fieldName ) const +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="index-2"></a>TQSqlCursor::index ( const <a href="ntqstring.html">TQString</a> & fieldName ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns an index based on <em>fieldName</em>. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="index-3"></a>TQSqlCursor::index ( const char * fieldName ) const +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="index-3"></a>TQSqlCursor::index ( const char * fieldName ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns an index based on <em>fieldName</em>. -<h3 class=fn>void <a name="insert"></a>TQSqlCursor::insert ( int pos, const <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> & fieldInfo )<tt> [virtual]</tt> +<h3 class=fn>void <a name="insert"></a>TQSqlCursor::insert ( int pos, const <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> & fieldInfo )<tt> [virtual]</tt> </h3> Insert a copy of <em>fieldInfo</em> at position <em>pos</em>. If a field already exists at <em>pos</em>, it is removed. Note that all references to the cursor edit buffer become invalidated. -<p>Examples: <a href="sql.html#x2194">sql/overview/insert/main.cpp</a> and <a href="ntqsqlcursor.html#x2446">sql/overview/insert2/main.cpp</a>. +<p>Examples: <a href="sql.html#x2194">sql/overview/insert/main.cpp</a> and <a href="tqsqlcursor.html#x2446">sql/overview/insert2/main.cpp</a>. <h3 class=fn>int <a name="insert-2"></a>TQSqlCursor::insert ( bool invalidate = TRUE )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts the current contents of the cursor's edit record buffer into the database, if the cursor allows inserts. Returns the number of rows affected by the insert. For error information, use -<a href="ntqsqlquery.html#lastError">lastError</a>(). +<a href="tqsqlquery.html#lastError">lastError</a>(). <p> If <em>invalidate</em> is TRUE (the default), the cursor will no longer be positioned on a valid record and can no longer be navigated. A new <a href="#select">select</a>() call must be made before navigating to a valid @@ -379,10 +379,10 @@ record. <p> <pre> TQSqlCursor cur( "prices" ); - <a name="x2447"></a> <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="#primeInsert">primeInsert</a>(); - <a name="x2448"></a> buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "id", 53981 ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "name", "Thingy" ); - buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "price", 105.75 ); + <a name="x2447"></a> <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="#primeInsert">primeInsert</a>(); + <a name="x2448"></a> buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "id", 53981 ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "name", "Thingy" ); + buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "price", 105.75 ); <a name="x2446"></a> cur.<a href="#insert">insert</a>(); </pre> <p> In the above example, a cursor is created on the 'prices' table @@ -392,7 +392,7 @@ is called to insert the data into the database. Remember: all edit operations (insert(), <a href="#update">update</a>() and delete()) operate on the contents of the cursor edit buffer and not on the contents of the cursor itself. -<p> <p>See also <a href="#setMode">setMode</a>() and <a href="ntqsqlquery.html#lastError">lastError</a>(). +<p> <p>See also <a href="#setMode">setMode</a>() and <a href="tqsqlquery.html#lastError">lastError</a>(). <h3 class=fn>bool <a name="isCalculated"></a>TQSqlCursor::isCalculated ( const <a href="ntqstring.html">TQString</a> & name ) const </h3> @@ -404,14 +404,14 @@ otherwise returns FALSE. </h3> Returns TRUE if the field <em>i</em> is NULL or if there is no field at position <em>i</em>; otherwise returns FALSE. -<p> This is the same as calling <a href="ntqsqlrecord.html#isNull">TQSqlRecord::isNull</a>( <em>i</em> ) +<p> This is the same as calling <a href="tqsqlrecord.html#isNull">TQSqlRecord::isNull</a>( <em>i</em> ) <h3 class=fn>bool <a name="isNull-2"></a>TQSqlCursor::isNull ( const <a href="ntqstring.html">TQString</a> & name ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns TRUE if the field called <em>name</em> is NULL or if there is no field called <em>name</em>; otherwise returns FALSE. -<p> This is the same as calling <a href="ntqsqlrecord.html#isNull">TQSqlRecord::isNull</a>( <em>name</em> ) +<p> This is the same as calling <a href="tqsqlrecord.html#isNull">TQSqlRecord::isNull</a>( <em>name</em> ) <h3 class=fn>bool <a name="isReadOnly"></a>TQSqlCursor::isReadOnly () const </h3> @@ -437,11 +437,11 @@ Returns the current cursor mode. </h3> Returns the name of the cursor. -<h3 class=fn><a href="ntqsqlcursor.html">TQSqlCursor</a> & <a name="operator-eq"></a>TQSqlCursor::operator= ( const <a href="ntqsqlcursor.html">TQSqlCursor</a> & other ) +<h3 class=fn><a href="tqsqlcursor.html">TQSqlCursor</a> & <a name="operator-eq"></a>TQSqlCursor::operator= ( const <a href="tqsqlcursor.html">TQSqlCursor</a> & other ) </h3> Sets the cursor equal to <em>other</em>. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="primaryIndex"></a>TQSqlCursor::primaryIndex ( bool setFromCursor = TRUE ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="primaryIndex"></a>TQSqlCursor::primaryIndex ( bool setFromCursor = TRUE ) const<tt> [virtual]</tt> </h3> Returns the primary index associated with the cursor as defined in the database, or an empty index if there is no primary index. If @@ -449,7 +449,7 @@ the database, or an empty index if there is no primary index. If populated with the corresponding values in the cursor's current record. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> * <a name="primeDelete"></a>TQSqlCursor::primeDelete ()<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> * <a name="primeDelete"></a>TQSqlCursor::primeDelete ()<tt> [virtual]</tt> </h3> This function primes the edit buffer's field values for delete and returns the edit buffer. The default implementation copies the @@ -460,7 +460,7 @@ it must not be deleted or modified. <p> <p>See also <a href="#editBuffer">editBuffer</a>() and <a href="#del">del</a>(). <p>Example: <a href="sql.html#x2206">sql/overview/delete/main.cpp</a>. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> * <a name="primeInsert"></a>TQSqlCursor::primeInsert ()<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> * <a name="primeInsert"></a>TQSqlCursor::primeInsert ()<tt> [virtual]</tt> </h3> This function primes the edit buffer's field values for insert and returns the edit buffer. The default implementation clears all @@ -468,8 +468,8 @@ field values in the edit buffer. The cursor retains ownership of the returned pointer, so it must not be deleted or modified. <p> <p>See also <a href="#editBuffer">editBuffer</a>() and <a href="#insert">insert</a>(). -<p>Examples: <a href="sql.html#x2195">sql/overview/insert/main.cpp</a>, <a href="ntqsqlcursor.html#x2447">sql/overview/insert2/main.cpp</a>, <a href="sql.html#x2267">sql/overview/subclass5/main.cpp</a>, and <a href="sqltable-example.html#x2453">sql/sqltable/main.cpp</a>. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> * <a name="primeUpdate"></a>TQSqlCursor::primeUpdate ()<tt> [virtual]</tt> +<p>Examples: <a href="sql.html#x2195">sql/overview/insert/main.cpp</a>, <a href="tqsqlcursor.html#x2447">sql/overview/insert2/main.cpp</a>, <a href="sql.html#x2267">sql/overview/subclass5/main.cpp</a>, and <a href="sqltable-example.html#x2453">sql/sqltable/main.cpp</a>. +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> * <a name="primeUpdate"></a>TQSqlCursor::primeUpdate ()<tt> [virtual]</tt> </h3> This function primes the edit buffer's field values for update and returns the edit buffer. The default implementation copies the @@ -486,8 +486,8 @@ Removes the field at <em>pos</em>. If <em>pos</em> does not exist, nothing happens. Note that all references to the cursor edit buffer become invalidated. -<p>Reimplemented from <a href="ntqsqlrecord.html#remove">TQSqlRecord</a>. -<h3 class=fn>bool <a name="select"></a>TQSqlCursor::select ( const <a href="ntqstring.html">TQString</a> & filter, const <a href="ntqsqlindex.html">TQSqlIndex</a> & sort = TQSqlIndex ( ) )<tt> [virtual]</tt> +<p>Reimplemented from <a href="tqsqlrecord.html#remove">TQSqlRecord</a>. +<h3 class=fn>bool <a name="select"></a>TQSqlCursor::select ( const <a href="ntqstring.html">TQString</a> & filter, const <a href="tqsqlindex.html">TQSqlIndex</a> & sort = TQSqlIndex ( ) )<tt> [virtual]</tt> </h3> Selects all fields in the cursor from the database matching the filter criteria <em>filter</em>. The data is returned in the order @@ -496,12 +496,12 @@ successfully selected; otherwise returns FALSE. <p> The <em>filter</em> is a string containing a SQL <tt>WHERE</tt> clause but without the 'WHERE' keyword. The cursor is initially positioned at an invalid row after this function is called. To move to a valid -row, use <a href="ntqsqlquery.html#seek">seek</a>(), <a href="ntqsqlquery.html#first">first</a>(), <a href="ntqsqlquery.html#last">last</a>(), <a href="ntqsqlquery.html#prev">prev</a>() or <a href="ntqsqlquery.html#next">next</a>(). +row, use <a href="tqsqlquery.html#seek">seek</a>(), <a href="tqsqlquery.html#first">first</a>(), <a href="tqsqlquery.html#last">last</a>(), <a href="tqsqlquery.html#prev">prev</a>() or <a href="tqsqlquery.html#next">next</a>(). <p> Example: <pre> TQSqlCursor cur( "Employee" ); // Use the Employee table or view cur.<a href="#select">select</a>( "deptno=10" ); // select all records in department 10 - while( cur.<a href="ntqsqlquery.html#next">next</a>() ) { + while( cur.<a href="tqsqlquery.html#next">next</a>() ) { ... // process data } ... @@ -517,7 +517,7 @@ another sort. <p> <pre> TQSqlCursor cur( "Employee" ); cur.<a href="#select">select</a>( "deptno=10" ); // select all records in department 10 - while( cur.<a href="ntqsqlquery.html#next">next</a>() ) { + while( cur.<a href="tqsqlquery.html#next">next</a>() ) { ... // process data } ... @@ -539,11 +539,11 @@ to the filter specified by the last call to <a href="#setFilter">setFilter</a>() last call to select() that specified a filter, whichever is the most recent. If there is no current filter, all records are returned. The cursor is initially positioned at an invalid row. To -move to a valid row, use <a href="ntqsqlquery.html#seek">seek</a>(), <a href="ntqsqlquery.html#first">first</a>(), <a href="ntqsqlquery.html#last">last</a>(), <a href="ntqsqlquery.html#prev">prev</a>() or -<a href="ntqsqlquery.html#next">next</a>(). +move to a valid row, use <a href="tqsqlquery.html#seek">seek</a>(), <a href="tqsqlquery.html#first">first</a>(), <a href="tqsqlquery.html#last">last</a>(), <a href="tqsqlquery.html#prev">prev</a>() or +<a href="tqsqlquery.html#next">next</a>(). <p> <p>See also <a href="#setSort">setSort</a>() and <a href="#setFilter">setFilter</a>(). -<h3 class=fn>bool <a name="select-3"></a>TQSqlCursor::select ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & sort ) +<h3 class=fn>bool <a name="select-3"></a>TQSqlCursor::select ( const <a href="tqsqlindex.html">TQSqlIndex</a> & sort ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Selects all fields in the cursor from the database. The data is @@ -551,28 +551,28 @@ returned in the order specified by the index <em>sort</em>. The records are filtered according to the filter specified by the last call to <a href="#setFilter">setFilter</a>() or the last call to <a href="#select">select</a>() that specified a filter, whichever is the most recent. The cursor is initially positioned -at an invalid row. To move to a valid row, use <a href="ntqsqlquery.html#seek">seek</a>(), <a href="ntqsqlquery.html#first">first</a>(), -<a href="ntqsqlquery.html#last">last</a>(), <a href="ntqsqlquery.html#prev">prev</a>() or <a href="ntqsqlquery.html#next">next</a>(). +at an invalid row. To move to a valid row, use <a href="tqsqlquery.html#seek">seek</a>(), <a href="tqsqlquery.html#first">first</a>(), +<a href="tqsqlquery.html#last">last</a>(), <a href="tqsqlquery.html#prev">prev</a>() or <a href="tqsqlquery.html#next">next</a>(). -<h3 class=fn>bool <a name="select-4"></a>TQSqlCursor::select ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & filter, const <a href="ntqsqlindex.html">TQSqlIndex</a> & sort ) +<h3 class=fn>bool <a name="select-4"></a>TQSqlCursor::select ( const <a href="tqsqlindex.html">TQSqlIndex</a> & filter, const <a href="tqsqlindex.html">TQSqlIndex</a> & sort ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Selects all fields in the cursor matching the filter index <em>filter</em>. The data is returned in the order specified by the index <em>sort</em>. The <em>filter</em> index works by constructing a WHERE clause using the names of the fields from the <em>filter</em> and their values from the current cursor record. The cursor is initially positioned -at an invalid row. To move to a valid row, use <a href="ntqsqlquery.html#seek">seek</a>(), <a href="ntqsqlquery.html#first">first</a>(), -<a href="ntqsqlquery.html#last">last</a>(), <a href="ntqsqlquery.html#prev">prev</a>() or <a href="ntqsqlquery.html#next">next</a>(). This function is useful, for example, +at an invalid row. To move to a valid row, use <a href="tqsqlquery.html#seek">seek</a>(), <a href="tqsqlquery.html#first">first</a>(), +<a href="tqsqlquery.html#last">last</a>(), <a href="tqsqlquery.html#prev">prev</a>() or <a href="tqsqlquery.html#next">next</a>(). This function is useful, for example, for retrieving data based upon a table's primary index: <p> <pre> TQSqlCursor cur( "Employee" ); - <a href="ntqsqlindex.html">TQSqlIndex</a> pk = cur.<a href="#primaryIndex">primaryIndex</a>(); - cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "id", 10 ); + <a href="tqsqlindex.html">TQSqlIndex</a> pk = cur.<a href="#primaryIndex">primaryIndex</a>(); + cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "id", 10 ); cur.<a href="#select">select</a>( pk, pk ); // generates "SELECT ... FROM Employee WHERE id=10 ORDER BY id" ... </pre> -<p> In this example the <a href="ntqsqlindex.html">TQSqlIndex</a>, pk, is used for two different +<p> In this example the <a href="tqsqlindex.html">TQSqlIndex</a>, pk, is used for two different purposes. When used as the filter (first) argument, the field names it contains are used to construct the WHERE clause, each set to the current cursor value, <tt>WHERE id=10</tt>, in this case. When @@ -587,7 +587,7 @@ the <a href="#calculateField">calculateField</a>() virtual function which you mu (or the field value will be an invalid <a href="ntqvariant.html">TQVariant</a>). Calculated fields do not appear in generated SQL statements sent to the database. -<p> <p>See also <a href="#calculateField">calculateField</a>() and <a href="ntqsqlrecord.html#setGenerated">TQSqlRecord::setGenerated</a>(). +<p> <p>See also <a href="#calculateField">calculateField</a>() and <a href="tqsqlrecord.html#setGenerated">TQSqlRecord::setGenerated</a>(). <h3 class=fn>void <a name="setFilter"></a>TQSqlCursor::setFilter ( const <a href="ntqstring.html">TQString</a> & filter )<tt> [virtual]</tt> </h3> @@ -604,16 +604,16 @@ Sets the generated flag for the field <em>name</em> to <em>generated</em>. If the field does not exist, nothing happens. Only fields that have <em>generated</em> set to TRUE are included in the SQL that is generated by <a href="#insert">insert</a>(), <a href="#update">update</a>() or <a href="#del">del</a>(). -<p> <p>See also <a href="ntqsqlrecord.html#isGenerated">isGenerated</a>(). +<p> <p>See also <a href="tqsqlrecord.html#isGenerated">isGenerated</a>(). -<p>Reimplemented from <a href="ntqsqlrecord.html#setGenerated">TQSqlRecord</a>. +<p>Reimplemented from <a href="tqsqlrecord.html#setGenerated">TQSqlRecord</a>. <h3 class=fn>void <a name="setGenerated-2"></a>TQSqlCursor::setGenerated ( int i, bool generated )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the generated flag for the field <em>i</em> to <em>generated</em>. -<p> <p>See also <a href="ntqsqlrecord.html#isGenerated">isGenerated</a>(). +<p> <p>See also <a href="tqsqlrecord.html#isGenerated">isGenerated</a>(). -<p>Reimplemented from <a href="ntqsqlrecord.html#setGenerated-2">TQSqlRecord</a>. +<p>Reimplemented from <a href="tqsqlrecord.html#setGenerated-2">TQSqlRecord</a>. <h3 class=fn>void <a name="setMode"></a>TQSqlCursor::setMode ( int mode )<tt> [virtual]</tt> </h3> Sets the cursor mode to <em>mode</em>. This value can be an OR'ed @@ -639,14 +639,14 @@ cursor edit buffer become invalidated when fields are auto-populated. See the TQSqlCursor constructor documentation for more information. -<h3 class=fn>void <a name="setPrimaryIndex"></a>TQSqlCursor::setPrimaryIndex ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & idx )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setPrimaryIndex"></a>TQSqlCursor::setPrimaryIndex ( const <a href="tqsqlindex.html">TQSqlIndex</a> & idx )<tt> [virtual]</tt> </h3> Sets the primary index associated with the cursor to the index <em>idx</em>. Note that this index must contain a field or set of fields which identify a unique record within the underlying database table or view so that <a href="#update">update</a>() and <a href="#del">del</a>() will execute as expected. <p> <p>See also <a href="#update">update</a>() and <a href="#del">del</a>(). -<h3 class=fn>void <a name="setSort"></a>TQSqlCursor::setSort ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & sort )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setSort"></a>TQSqlCursor::setSort ( const <a href="tqsqlindex.html">TQSqlIndex</a> & sort )<tt> [virtual]</tt> </h3> Sets the current sort to <em>sort</em>. Note that no new records are selected. To select new records, use <a href="#select">select</a>(). The <em>sort</em> will @@ -660,22 +660,22 @@ Sets field <em>name</em>'s trimmed status to <em>trim</em>. If the field <em>nam database any trailing (right-most) spaces are removed. <p> <p>See also <a href="#isTrimmed">isTrimmed</a>() and <a href="ntqvariant.html">TQVariant</a>. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="sort"></a>TQSqlCursor::sort () const +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="sort"></a>TQSqlCursor::sort () const </h3> Returns the current sort, or an empty index if there is no current sort. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQSqlCursor::toString ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * rec, const <a href="ntqstring.html">TQString</a> & prefix, const <a href="ntqstring.html">TQString</a> & fieldSep, const <a href="ntqstring.html">TQString</a> & sep ) const<tt> [virtual protected]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQSqlCursor::toString ( <a href="tqsqlrecord.html">TQSqlRecord</a> * rec, const <a href="ntqstring.html">TQString</a> & prefix, const <a href="ntqstring.html">TQString</a> & fieldSep, const <a href="ntqstring.html">TQString</a> & sep ) const<tt> [virtual protected]</tt> </h3> Returns a formatted string composed of all the fields in <em>rec</em>. Each field is composed of the <em>prefix</em> (e.g. table or view name), ".", the field name, the <em>fieldSep</em> and the field value. If the <em>prefix</em> is empty then each field will begin with the field name. The fields are then joined together separated by <em>sep</em>. Fields -where <a href="ntqsqlrecord.html#isGenerated">isGenerated</a>() returns FALSE are not included. This function +where <a href="tqsqlrecord.html#isGenerated">isGenerated</a>() returns FALSE are not included. This function is useful for generating SQL statements. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-3"></a>TQSqlCursor::toString ( const <a href="ntqstring.html">TQString</a> & prefix, <a href="ntqsqlfield.html">TQSqlField</a> * field, const <a href="ntqstring.html">TQString</a> & fieldSep ) const<tt> [virtual protected]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-3"></a>TQSqlCursor::toString ( const <a href="ntqstring.html">TQString</a> & prefix, <a href="tqsqlfield.html">TQSqlField</a> * field, const <a href="ntqstring.html">TQString</a> & fieldSep ) const<tt> [virtual protected]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns a formatted string composed of the <em>prefix</em> (e.g. table @@ -684,7 +684,7 @@ field value. If the <em>prefix</em> is empty then the string will begin with the <em>field</em> name. This function is useful for generating SQL statements. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-4"></a>TQSqlCursor::toString ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & i, <a href="ntqsqlrecord.html">TQSqlRecord</a> * rec, const <a href="ntqstring.html">TQString</a> & prefix, const <a href="ntqstring.html">TQString</a> & fieldSep, const <a href="ntqstring.html">TQString</a> & sep ) const<tt> [virtual protected]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-4"></a>TQSqlCursor::toString ( const <a href="tqsqlindex.html">TQSqlIndex</a> & i, <a href="tqsqlrecord.html">TQSqlRecord</a> * rec, const <a href="ntqstring.html">TQString</a> & prefix, const <a href="ntqstring.html">TQString</a> & fieldSep, const <a href="ntqstring.html">TQString</a> & sep ) const<tt> [virtual protected]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns a formatted string composed of all the fields in the index @@ -692,7 +692,7 @@ This is an overloaded member function, provided for convenience. It behaves esse name), ".", the field name, the <em>fieldSep</em> and the field value. If the <em>prefix</em> is empty then each field will begin with the field name. The field values are taken from <em>rec</em>. The fields are then -joined together separated by <em>sep</em>. Fields where <a href="ntqsqlrecord.html#isGenerated">isGenerated</a>() +joined together separated by <em>sep</em>. Fields where <a href="tqsqlrecord.html#isGenerated">isGenerated</a>() returns FALSE are ignored. This function is useful for generating SQL statements. @@ -700,7 +700,7 @@ SQL statements. </h3> Updates the database with the current contents of the edit buffer. Returns the number of records which were updated. -For error information, use <a href="ntqsqlquery.html#lastError">lastError</a>(). +For error information, use <a href="tqsqlquery.html#lastError">lastError</a>(). <p> Only records which meet the filter criteria specified by the cursor's primary index are updated. If the cursor does not contain a primary index, no update is performed and 0 is returned. @@ -711,11 +711,11 @@ can move to a valid record. For example: <pre> TQSqlCursor cur( "prices" ); <a name="x2200"></a> cur.<a href="#select">select</a>( "id=202" ); - if ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2199"></a> <a href="ntqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="#primeUpdate">primeUpdate</a>(); - <a name="x2204"></a> double price = buffer-><a href="ntqsqlrecord.html#value">value</a>( "price" ).toDouble(); + if ( cur.<a href="tqsqlquery.html#next">next</a>() ) { + <a name="x2199"></a> <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="#primeUpdate">primeUpdate</a>(); + <a name="x2204"></a> double price = buffer-><a href="tqsqlrecord.html#value">value</a>( "price" ).toDouble(); double newprice = price * 1.05; - <a name="x2203"></a> buffer-><a href="ntqsqlrecord.html#setValue">setValue</a>( "price", newprice ); + <a name="x2203"></a> buffer-><a href="tqsqlrecord.html#setValue">setValue</a>( "price", newprice ); <a name="x2201"></a> cur.<a href="#update">update</a>(); } </pre> @@ -723,7 +723,7 @@ can move to a valid record. For example: and is positioned on the record to be updated. Then a pointer to the cursor's edit buffer is acquired using <a href="#primeUpdate">primeUpdate</a>(). A new value is calculated and placed into the edit buffer with the -<a href="ntqsqlrecord.html#setValue">setValue</a>() call. Finally, an <a href="#update">update</a>() call is made on the cursor +<a href="tqsqlrecord.html#setValue">setValue</a>() call. Finally, an <a href="#update">update</a>() call is made on the cursor which uses the tables's primary index to update the record in the database with the contents of the cursor's edit buffer. Remember: all edit operations (<a href="#insert">insert</a>(), update() and delete()) operate on @@ -731,7 +731,7 @@ the contents of the cursor edit buffer and not on the contents of the cursor itself. <p> Note that if the primary index does not uniquely distinguish records the database may be changed into an inconsistent state. -<p> <p>See also <a href="#setMode">setMode</a>() and <a href="ntqsqlquery.html#lastError">lastError</a>(). +<p> <p>See also <a href="#setMode">setMode</a>() and <a href="tqsqlquery.html#lastError">lastError</a>(). <p>Example: <a href="sql.html#x2201">sql/overview/update/main.cpp</a>. <h3 class=fn>int <a name="update-2"></a>TQSqlCursor::update ( const <a href="ntqstring.html">TQString</a> & filter, bool invalidate = TRUE )<tt> [virtual protected]</tt> @@ -740,13 +740,13 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> Updates the database with the current contents of the cursor edit buffer using the specified <em>filter</em>. Returns the number of records which were updated. -For error information, use <a href="ntqsqlquery.html#lastError">lastError</a>(). +For error information, use <a href="tqsqlquery.html#lastError">lastError</a>(). <p> Only records which meet the filter criteria are updated, otherwise all records in the table are updated. <p> If <em>invalidate</em> is TRUE (the default), the cursor can no longer be navigated. A new <a href="#select">select</a>() call must be made before you can move to a valid record. -<p> <p>See also <a href="#primeUpdate">primeUpdate</a>(), <a href="#setMode">setMode</a>(), and <a href="ntqsqlquery.html#lastError">lastError</a>(). +<p> <p>See also <a href="#primeUpdate">primeUpdate</a>(), <a href="#setMode">setMode</a>(), and <a href="tqsqlquery.html#lastError">lastError</a>(). <!-- eof --> <hr><p> diff --git a/doc/html/qsqldatabase-h.html b/doc/html/tqsqldatabase-h.html index 570c27af9..10df393f4 100644 --- a/doc/html/qsqldatabase-h.html +++ b/doc/html/tqsqldatabase-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqldatabase.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqldatabase.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqldatabase.h Include File</title> +<title>tqsqldatabase.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqldatabase.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqldatabase.h</h1> -<p>This is the verbatim text of the ntqsqldatabase.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqldatabase.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqobject.h" #include "ntqstring.h" -#include "ntqsqlquery.h" +#include "tqsqlquery.h" #include "ntqstringlist.h" #endif // QT_H diff --git a/doc/html/qsqldatabase-members.html b/doc/html/tqsqldatabase-members.html index d3780884b..705dc5a61 100644 --- a/doc/html/qsqldatabase-members.html +++ b/doc/html/tqsqldatabase-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqldatabase.h:75 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqldatabase.h:75 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,87 +32,87 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlDatabase</h1> <p>This is the complete list of member functions for -<a href="ntqsqldatabase.html">TQSqlDatabase</a>, including inherited members. +<a href="tqsqldatabase.html">TQSqlDatabase</a>, including inherited members. <ul> -<li><a href="ntqsqldatabase.html#TQSqlDatabase">TQSqlDatabase</a>() -<li><a href="ntqsqldatabase.html#~TQSqlDatabase">~TQSqlDatabase</a>() -<li><a href="ntqsqldatabase.html#addDatabase">addDatabase</a>() +<li><a href="tqsqldatabase.html#TQSqlDatabase">TQSqlDatabase</a>() +<li><a href="tqsqldatabase.html#~TQSqlDatabase">~TQSqlDatabase</a>() +<li><a href="tqsqldatabase.html#addDatabase">addDatabase</a>() <li><a href="tqobject.html#blockSignals">blockSignals</a>() <li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() <li><a href="tqobject.html#child">child</a>() <li><a href="tqobject.html#childEvent">childEvent</a>() <li><a href="tqobject.html#children">children</a>() <li><a href="tqobject.html#className">className</a>() -<li><a href="ntqsqldatabase.html#close">close</a>() -<li><a href="ntqsqldatabase.html#commit">commit</a>() +<li><a href="tqsqldatabase.html#close">close</a>() +<li><a href="tqsqldatabase.html#commit">commit</a>() <li><a href="tqobject.html#connect">connect</a>() <li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="ntqsqldatabase.html#connectOptions">connectOptions</a>() -<li><a href="ntqsqldatabase.html#contains">contains</a>() +<li><a href="tqsqldatabase.html#connectOptions">connectOptions</a>() +<li><a href="tqsqldatabase.html#contains">contains</a>() <li><a href="tqobject.html#customEvent">customEvent</a>() -<li><a href="ntqsqldatabase.html#database">database</a>() -<li><a href="ntqsqldatabase.html#databaseName">databaseName</a>() +<li><a href="tqsqldatabase.html#database">database</a>() +<li><a href="tqsqldatabase.html#databaseName">databaseName</a>() <li><a href="tqobject.html#deleteLater">deleteLater</a>() <li><a href="tqobject.html#destroyed">destroyed</a>() <li><a href="tqobject.html#disconnect">disconnect</a>() <li><a href="tqobject.html#disconnectNotify">disconnectNotify</a>() -<li><a href="ntqsqldatabase.html#driver">driver</a>() -<li><a href="ntqsqldatabase.html#driverName">driverName</a>() -<li><a href="ntqsqldatabase.html#drivers">drivers</a>() +<li><a href="tqsqldatabase.html#driver">driver</a>() +<li><a href="tqsqldatabase.html#driverName">driverName</a>() +<li><a href="tqsqldatabase.html#drivers">drivers</a>() <li><a href="tqobject.html#dumpObjectInfo">dumpObjectInfo</a>() <li><a href="tqobject.html#dumpObjectTree">dumpObjectTree</a>() <li><a href="tqobject.html#event">event</a>() <li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="ntqsqldatabase.html#exec">exec</a>() +<li><a href="tqsqldatabase.html#exec">exec</a>() <li><a href="tqobject.html#highPriority">highPriority</a>() -<li><a href="ntqsqldatabase.html#hostName">hostName</a>() +<li><a href="tqsqldatabase.html#hostName">hostName</a>() <li><a href="tqobject.html#inherits">inherits</a>() <li><a href="tqobject.html#insertChild">insertChild</a>() <li><a href="tqobject.html#installEventFilter">installEventFilter</a>() <li><a href="tqobject.html#isA">isA</a>() -<li><a href="ntqsqldatabase.html#isDriverAvailable">isDriverAvailable</a>() -<li><a href="ntqsqldatabase.html#isOpen">isOpen</a>() -<li><a href="ntqsqldatabase.html#isOpenError">isOpenError</a>() +<li><a href="tqsqldatabase.html#isDriverAvailable">isDriverAvailable</a>() +<li><a href="tqsqldatabase.html#isOpen">isOpen</a>() +<li><a href="tqsqldatabase.html#isOpenError">isOpenError</a>() <li><a href="tqobject.html#isWidgetType">isWidgetType</a>() <li><a href="tqobject.html#killTimer">killTimer</a>() <li><a href="tqobject.html#killTimers">killTimers</a>() -<li><a href="ntqsqldatabase.html#lastError">lastError</a>() +<li><a href="tqsqldatabase.html#lastError">lastError</a>() <li><a href="tqobject.html#metaObject">metaObject</a>() <li><a href="tqobject.html#name">name</a>() <li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() <li><a href="tqobject.html#objectTrees">objectTrees</a>() -<li><a href="ntqsqldatabase.html#open">open</a>() +<li><a href="tqsqldatabase.html#open">open</a>() <li><a href="tqobject.html#parent">parent</a>() -<li><a href="ntqsqldatabase.html#password">password</a>() -<li><a href="ntqsqldatabase.html#port">port</a>() -<li><a href="ntqsqldatabase.html#primaryIndex">primaryIndex</a>() +<li><a href="tqsqldatabase.html#password">password</a>() +<li><a href="tqsqldatabase.html#port">port</a>() +<li><a href="tqsqldatabase.html#primaryIndex">primaryIndex</a>() <li><a href="tqobject.html#property">property</a>() <li><a href="tqobject.html#queryList">queryList</a>() -<li><a href="ntqsqldatabase.html#record">record</a>() -<li><a href="ntqsqldatabase.html#recordInfo">recordInfo</a>() -<li><a href="ntqsqldatabase.html#registerSqlDriver">registerSqlDriver</a>() +<li><a href="tqsqldatabase.html#record">record</a>() +<li><a href="tqsqldatabase.html#recordInfo">recordInfo</a>() +<li><a href="tqsqldatabase.html#registerSqlDriver">registerSqlDriver</a>() <li><a href="tqobject.html#removeChild">removeChild</a>() -<li><a href="ntqsqldatabase.html#removeDatabase">removeDatabase</a>() +<li><a href="tqsqldatabase.html#removeDatabase">removeDatabase</a>() <li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() -<li><a href="ntqsqldatabase.html#rollback">rollback</a>() +<li><a href="tqsqldatabase.html#rollback">rollback</a>() <li><a href="tqobject.html#sender">sender</a>() -<li><a href="ntqsqldatabase.html#setConnectOptions">setConnectOptions</a>() -<li><a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>() -<li><a href="ntqsqldatabase.html#setHostName">setHostName</a>() +<li><a href="tqsqldatabase.html#setConnectOptions">setConnectOptions</a>() +<li><a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>() +<li><a href="tqsqldatabase.html#setHostName">setHostName</a>() <li><a href="tqobject.html#setName">setName</a>() -<li><a href="ntqsqldatabase.html#setPassword">setPassword</a>() -<li><a href="ntqsqldatabase.html#setPort">setPort</a>() +<li><a href="tqsqldatabase.html#setPassword">setPassword</a>() +<li><a href="tqsqldatabase.html#setPort">setPort</a>() <li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="ntqsqldatabase.html#setUserName">setUserName</a>() +<li><a href="tqsqldatabase.html#setUserName">setUserName</a>() <li><a href="tqobject.html#signalsBlocked">signalsBlocked</a>() <li><a href="tqobject.html#startTimer">startTimer</a>() -<li><a href="ntqsqldatabase.html#tables">tables</a>() +<li><a href="tqsqldatabase.html#tables">tables</a>() <li><a href="tqobject.html#timerEvent">timerEvent</a>() <li><a href="tqobject.html#tr">tr</a>() <li><a href="tqobject.html#trUtf8">trUtf8</a>() -<li><a href="ntqsqldatabase.html#transaction">transaction</a>() -<li><a href="ntqsqldatabase.html#userName">userName</a>() +<li><a href="tqsqldatabase.html#transaction">transaction</a>() +<li><a href="tqsqldatabase.html#userName">userName</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqldatabase.html b/doc/html/tqsqldatabase.html index b9d908512..b7f6315ed 100644 --- a/doc/html/ntqsqldatabase.html +++ b/doc/html/tqsqldatabase.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqldatabase.cpp:353 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqldatabase.cpp:353 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlDatabase class is used to create SQL database connections and to provide transaction handling. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>></tt> +<p><tt>#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a>. -<p><a href="qsqldatabase-members.html">List of all member functions.</a> +<p><a href="tqsqldatabase-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#~TQSqlDatabase"><b>~TQSqlDatabase</b></a> ()</li> @@ -108,12 +108,12 @@ connections and to provide transaction handling. <p> Note that transaction handling is not supported by every SQL database. You can find out whether transactions are supported -using <a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(). +using <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(). <p> The TQSqlDatabase class provides an abstract interface for accessing many types of database backends. Database-specific drivers are used internally to actually access and manipulate -data, (see <a href="ntqsqldriver.html">TQSqlDriver</a>). Result set objects provide the interface -for executing and manipulating SQL queries (see <a href="ntqsqlquery.html">TQSqlQuery</a>). +data, (see <a href="tqsqldriver.html">TQSqlDriver</a>). Result set objects provide the interface +for executing and manipulating SQL queries (see <a href="tqsqlquery.html">TQSqlQuery</a>). <p>See also <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> @@ -139,7 +139,7 @@ database connection will have no functionality. can be loaded dynamically. <p> <p>See also <a href="#registerSqlDriver">registerSqlDriver</a>(). -<h3 class=fn><a name="TQSqlDatabase-2"></a>TQSqlDatabase::TQSqlDatabase ( <a href="ntqsqldriver.html">TQSqlDriver</a> * driver, <a href="tqobject.html">TQObject</a> * parent = 0, const char * objname = 0 )<tt> [protected]</tt> +<h3 class=fn><a name="TQSqlDatabase-2"></a>TQSqlDatabase::TQSqlDatabase ( <a href="tqsqldriver.html">TQSqlDriver</a> * driver, <a href="tqobject.html">TQObject</a> * parent = 0, const char * objname = 0 )<tt> [protected]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Creates a database connection using the driver <em>driver</em>, with @@ -151,7 +151,7 @@ so it should not be deleted. </h3> Destroys the object and frees any allocated resources. -<h3 class=fn><a href="ntqsqldatabase.html">TQSqlDatabase</a> * <a name="addDatabase"></a>TQSqlDatabase::addDatabase ( const <a href="ntqstring.html">TQString</a> & type, const <a href="ntqstring.html">TQString</a> & connectionName = defaultConnection )<tt> [static]</tt> +<h3 class=fn><a href="tqsqldatabase.html">TQSqlDatabase</a> * <a name="addDatabase"></a>TQSqlDatabase::addDatabase ( const <a href="ntqstring.html">TQString</a> & type, const <a href="ntqstring.html">TQString</a> & connectionName = defaultConnection )<tt> [static]</tt> </h3> Adds a database to the list of database connections using the driver <em>type</em> and the connection name <em>connectionName</em>. @@ -171,7 +171,7 @@ than once without specifying <em>connectionName</em>. <p> <p>See also <a href="#database">database</a>() and <a href="#removeDatabase">removeDatabase</a>(). <p>Examples: <a href="sql.html#x2141">sql/overview/connect1/main.cpp</a>, <a href="sql.html#x2147">sql/overview/connection.cpp</a>, and <a href="sqltable-example.html#x2454">sql/sqltable/main.cpp</a>. -<h3 class=fn><a href="ntqsqldatabase.html">TQSqlDatabase</a> * <a name="addDatabase-2"></a>TQSqlDatabase::addDatabase ( <a href="ntqsqldriver.html">TQSqlDriver</a> * driver, const <a href="ntqstring.html">TQString</a> & connectionName = defaultConnection )<tt> [static]</tt> +<h3 class=fn><a href="tqsqldatabase.html">TQSqlDatabase</a> * <a name="addDatabase-2"></a>TQSqlDatabase::addDatabase ( <a href="tqsqldriver.html">TQSqlDriver</a> * driver, const <a href="ntqstring.html">TQString</a> & connectionName = defaultConnection )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function is useful if you need to set up the database connection and instantiate the driver yourself. If you do this, it @@ -180,7 +180,7 @@ application. For example, setting up a custom PostgreSQL connection and instantiating the <a href="sql-driver.html#TQPSQL7">TQPSQL7</a> driver can be done the following way: <p> <pre> - #include "qtdir/src/sql/drivers/psql/qsql_psql.cpp" + #include "qtdir/src/sql/drivers/psql/tqsql_psql.cpp" </pre> (We assume that <tt>qtdir</tt> is the directory where TQt is installed.) @@ -192,8 +192,8 @@ search path. PGconn* con = PQconnectdb( "host=server user=bart password=simpson dbname=springfield" ); TQPSQLDriver* drv = new TQPSQLDriver( con ); TQSqlDatabase* db = TQSqlDatabase::<a href="#addDatabase">addDatabase</a>( drv ); // becomes the new default connection - <a href="ntqsqlquery.html">TQSqlQuery</a> q; - q.<a href="ntqsqlquery.html#exec">exec</a>( "SELECT * FROM people" ); + <a href="tqsqlquery.html">TQSqlQuery</a> q; + q.<a href="tqsqlquery.html#exec">exec</a>( "SELECT * FROM people" ); ... </pre> @@ -222,47 +222,47 @@ an overview of the drivers and their constructor arguments. <td valign="top">TQPSQL7 <td valign="top">TQPSQLDriver <td valign="top">PGconn* connection -<td valign="top"><tt>qsql_psql.cpp</tt> +<td valign="top"><tt>tqsql_psql.cpp</tt> <tr bgcolor="#d0d0d0"> <td valign="top"><a href="sql-driver.html#TQMYSQL3">TQMYSQL3</a> <td valign="top">TQMYSQLDriver <td valign="top">MYSQL* connection -<td valign="top"><tt>qsql_mysql.cpp</tt> +<td valign="top"><tt>tqsql_mysql.cpp</tt> <tr bgcolor="#f0f0f0"> <td valign="top"><a href="sql-driver.html#TQOCI8">TQOCI8</a> <td valign="top">TQOCIDriver <td valign="top">OCIEnv* environment, OCIError* error, OCISvcCtx* serviceContext -<td valign="top"><tt>qsql_oci.cpp</tt> +<td valign="top"><tt>tqsql_oci.cpp</tt> <tr bgcolor="#d0d0d0"> <td valign="top"><a href="sql-driver.html#TQODBC3">TQODBC3</a> <td valign="top">TQODBCDriver <td valign="top">SQLHANDLE environment, SQLHANDLE connection -<td valign="top"><tt>qsql_odbc.cpp</tt> +<td valign="top"><tt>tqsql_odbc.cpp</tt> <tr bgcolor="#f0f0f0"> <td valign="top"><a href="sql-driver.html#TQDB2">TQDB2</a> <td valign="top">TQDB2 <td valign="top">SQLHANDLE environment, SQLHANDLE connection -<td valign="top"><tt>qsql_db2.cpp</tt> +<td valign="top"><tt>tqsql_db2.cpp</tt> <tr bgcolor="#d0d0d0"> <td valign="top"><a href="sql-driver.html#TQTDS7">TQTDS7</a> <td valign="top">TQTDSDriver <td valign="top">LOGINREC* loginRecord, DBPROCESS* dbProcess, const <a href="ntqstring.html">TQString</a>& hostName -<td valign="top"><tt>qsql_tds.cpp</tt> +<td valign="top"><tt>tqsql_tds.cpp</tt> <tr bgcolor="#f0f0f0"> <td valign="top"><a href="sql-driver.html#TQSQLITE">TQSQLITE</a> <td valign="top">TQSQLiteDriver <td valign="top">sqlite* connection -<td valign="top"><tt>qsql_sqlite.cpp</tt> +<td valign="top"><tt>tqsql_sqlite.cpp</tt> <tr bgcolor="#d0d0d0"> <td valign="top"><a href="sql-driver.html#TQIBASE">TQIBASE</a> <td valign="top">TQIBaseDriver <td valign="top">isc_db_handle connection -<td valign="top"><tt>qsql_ibase.cpp</tt> +<td valign="top"><tt>tqsql_ibase.cpp</tt> </table></center> <p> Note: The host name (or service name) is needed when constructing the TQTDSDriver for creating new connections for internal queries. This is to prevent the simultaneous usage of several -<a href="ntqsqlquery.html">TQSqlQuery</a>/<a href="ntqsqlcursor.html">TQSqlCursor</a> objects from blocking each other. +<a href="tqsqlquery.html">TQSqlQuery</a>/<a href="tqsqlcursor.html">TQSqlCursor</a> objects from blocking each other. <p> <b>Warning:</b> The SQL framework takes ownership of the <em>driver</em> pointer, and it should not be deleted. The returned TQSqlDatabase object is owned by the framework and must not be deleted. If you want to @@ -279,16 +279,16 @@ Closes the database connection, freeing any resources acquired. Commits a transaction to the database if the driver supports transactions. Returns TRUE if the operation succeeded; otherwise returns FALSE. -<p> <p>See also <a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>() and <a href="#rollback">rollback</a>(). +<p> <p>See also <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>() and <a href="#rollback">rollback</a>(). <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="connectOptions"></a>TQSqlDatabase::connectOptions () const </h3><p>Returns the database connect options. -See the <a href="ntqsqldatabase.html#connectOptions-prop">"connectOptions"</a> property for details. +See the <a href="tqsqldatabase.html#connectOptions-prop">"connectOptions"</a> property for details. <h3 class=fn>bool <a name="contains"></a>TQSqlDatabase::contains ( const <a href="ntqstring.html">TQString</a> & connectionName = defaultConnection )<tt> [static]</tt> </h3> Returns TRUE if the list of database connections contains <em>connectionName</em>; otherwise returns FALSE. -<h3 class=fn><a href="ntqsqldatabase.html">TQSqlDatabase</a> * <a name="database"></a>TQSqlDatabase::database ( const <a href="ntqstring.html">TQString</a> & connectionName = defaultConnection, bool open = TRUE )<tt> [static]</tt> +<h3 class=fn><a href="tqsqldatabase.html">TQSqlDatabase</a> * <a name="database"></a>TQSqlDatabase::database ( const <a href="ntqstring.html">TQString</a> & connectionName = defaultConnection, bool open = TRUE )<tt> [static]</tt> </h3> Returns the database connection called <em>connectionName</em>. The database connection must have been previously added with @@ -303,8 +303,8 @@ threading and SQL databases. <p>Examples: <a href="sql.html#x2156">sql/overview/basicbrowsing/main.cpp</a> and <a href="sql.html#x2155">sql/overview/create_connections/main.cpp</a>. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="databaseName"></a>TQSqlDatabase::databaseName () const </h3><p>Returns the name of the database. -See the <a href="ntqsqldatabase.html#databaseName-prop">"databaseName"</a> property for details. -<h3 class=fn><a href="ntqsqldriver.html">TQSqlDriver</a> * <a name="driver"></a>TQSqlDatabase::driver () const +See the <a href="tqsqldatabase.html#databaseName-prop">"databaseName"</a> property for details. +<h3 class=fn><a href="tqsqldriver.html">TQSqlDriver</a> * <a name="driver"></a>TQSqlDatabase::driver () const </h3> Returns the database driver used to access the database connection. @@ -328,17 +328,17 @@ over a copy, e.g. </pre> -<h3 class=fn><a href="ntqsqlquery.html">TQSqlQuery</a> <a name="exec"></a>TQSqlDatabase::exec ( const <a href="ntqstring.html">TQString</a> & query = TQString::null ) const +<h3 class=fn><a href="tqsqlquery.html">TQSqlQuery</a> <a name="exec"></a>TQSqlDatabase::exec ( const <a href="ntqstring.html">TQString</a> & query = TQString::null ) const </h3> -Executes a SQL statement (e.g. an <tt>INSERT</tt>, <tt>UPDATE</tt> or <tt>DELETE</tt> statement) on the database, and returns a <a href="ntqsqlquery.html">TQSqlQuery</a> object. +Executes a SQL statement (e.g. an <tt>INSERT</tt>, <tt>UPDATE</tt> or <tt>DELETE</tt> statement) on the database, and returns a <a href="tqsqlquery.html">TQSqlQuery</a> object. Use <a href="#lastError">lastError</a>() to retrieve error information. If <em>query</em> is <a href="ntqstring.html#TQString-null">TQString::null</a>, an empty, invalid query is returned and lastError() is not affected. -<p> <p>See also <a href="ntqsqlquery.html">TQSqlQuery</a> and <a href="#lastError">lastError</a>(). +<p> <p>See also <a href="tqsqlquery.html">TQSqlQuery</a> and <a href="#lastError">lastError</a>(). <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="hostName"></a>TQSqlDatabase::hostName () const </h3><p>Returns the host name where the database resides. -See the <a href="ntqsqldatabase.html#hostName-prop">"hostName"</a> property for details. +See the <a href="tqsqldatabase.html#hostName-prop">"hostName"</a> property for details. <h3 class=fn>bool <a name="isDriverAvailable"></a>TQSqlDatabase::isDriverAvailable ( const <a href="ntqstring.html">TQString</a> & name )<tt> [static]</tt> </h3> Returns TRUE if a driver called <em>name</em> is available; otherwise @@ -356,10 +356,10 @@ Returns TRUE if there was an error opening the database connection; otherwise returns FALSE. Error information can be retrieved using the <a href="#lastError">lastError</a>() function. -<h3 class=fn><a href="ntqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlDatabase::lastError () const +<h3 class=fn><a href="tqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlDatabase::lastError () const </h3> Returns information about the last error that occurred on the -database. See <a href="ntqsqlerror.html">TQSqlError</a> for more information. +database. See <a href="tqsqlerror.html">TQSqlError</a> for more information. <p>Examples: <a href="sql.html#x2148">sql/overview/connection.cpp</a> and <a href="sqltable-example.html#x2455">sql/sqltable/main.cpp</a>. <h3 class=fn>bool <a name="open"></a>TQSqlDatabase::open () @@ -382,46 +382,46 @@ connection and is then discarded. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="password"></a>TQSqlDatabase::password () const </h3><p>Returns the password used to connect to the database. -See the <a href="ntqsqldatabase.html#password-prop">"password"</a> property for details. +See the <a href="tqsqldatabase.html#password-prop">"password"</a> property for details. <h3 class=fn>int <a name="port"></a>TQSqlDatabase::port () const </h3><p>Returns the port used to connect to the database. -See the <a href="ntqsqldatabase.html#port-prop">"port"</a> property for details. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="primaryIndex"></a>TQSqlDatabase::primaryIndex ( const <a href="ntqstring.html">TQString</a> & tablename ) const +See the <a href="tqsqldatabase.html#port-prop">"port"</a> property for details. +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="primaryIndex"></a>TQSqlDatabase::primaryIndex ( const <a href="ntqstring.html">TQString</a> & tablename ) const </h3> Returns the primary index for table <em>tablename</em>. If no primary -index exists an empty <a href="ntqsqlindex.html">TQSqlIndex</a> will be returned. +index exists an empty <a href="tqsqlindex.html">TQSqlIndex</a> will be returned. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> <a name="record"></a>TQSqlDatabase::record ( const <a href="ntqstring.html">TQString</a> & tablename ) const +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> <a name="record"></a>TQSqlDatabase::record ( const <a href="ntqstring.html">TQString</a> & tablename ) const </h3> -Returns a <a href="ntqsqlrecord.html">TQSqlRecord</a> populated with the names of all the fields in +Returns a <a href="tqsqlrecord.html">TQSqlRecord</a> populated with the names of all the fields in the table (or view) called <em>tablename</em>. The order in which the fields appear in the record is undefined. If no such table (or view) exists, an empty record is returned. <p> <p>See also <a href="#recordInfo">recordInfo</a>(). -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> <a name="record-2"></a>TQSqlDatabase::record ( const <a href="ntqsqlquery.html">TQSqlQuery</a> & query ) const +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> <a name="record-2"></a>TQSqlDatabase::record ( const <a href="tqsqlquery.html">TQSqlQuery</a> & query ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns a <a href="ntqsqlrecord.html">TQSqlRecord</a> populated with the names of all the fields +<p> Returns a <a href="tqsqlrecord.html">TQSqlRecord</a> populated with the names of all the fields used in the SQL <em>query</em>. If the query is a "SELECT *" the order in which fields appear in the record is undefined. <p> <p>See also <a href="#recordInfo">recordInfo</a>(). -<h3 class=fn><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo"></a>TQSqlDatabase::recordInfo ( const <a href="ntqstring.html">TQString</a> & tablename ) const +<h3 class=fn><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo"></a>TQSqlDatabase::recordInfo ( const <a href="ntqstring.html">TQString</a> & tablename ) const </h3> -Returns a <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> populated with meta data about the table +Returns a <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> populated with meta data about the table or view <em>tablename</em>. If no such table (or view) exists, an empty record is returned. -<p> <p>See also <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a>, <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a>, and <a href="#record">record</a>(). +<p> <p>See also <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a>, <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a>, and <a href="#record">record</a>(). -<h3 class=fn><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo-2"></a>TQSqlDatabase::recordInfo ( const <a href="ntqsqlquery.html">TQSqlQuery</a> & query ) const +<h3 class=fn><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo-2"></a>TQSqlDatabase::recordInfo ( const <a href="tqsqlquery.html">TQSqlQuery</a> & query ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns a <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> object with meta data for the <a href="ntqsqlquery.html">TQSqlQuery</a> +<p> Returns a <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> object with meta data for the <a href="tqsqlquery.html">TQSqlQuery</a> <em>query</em>. Note that this overloaded function may return less information than the <a href="#recordInfo">recordInfo</a>() function which takes the name of a table as parameter. -<p> <p>See also <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a>, <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a>, and <a href="#record">record</a>(). +<p> <p>See also <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a>, <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a>, and <a href="#record">record</a>(). <h3 class=fn>void <a name="registerSqlDriver"></a>TQSqlDatabase::registerSqlDriver ( const <a href="ntqstring.html">TQString</a> & name, const TQSqlDriverCreatorBase * creator )<tt> [static]</tt> </h3> @@ -446,7 +446,7 @@ database connections. connection when this function is called, otherwise a resource leak will occur. -<h3 class=fn>void <a name="removeDatabase-2"></a>TQSqlDatabase::removeDatabase ( <a href="ntqsqldatabase.html">TQSqlDatabase</a> * db )<tt> [static]</tt> +<h3 class=fn>void <a name="removeDatabase-2"></a>TQSqlDatabase::removeDatabase ( <a href="tqsqldatabase.html">TQSqlDatabase</a> * db )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Removes the database connection <em>db</em> from the list of database @@ -462,27 +462,27 @@ will occur. Rolls a transaction back on the database if the driver supports transactions. Returns TRUE if the operation succeeded; otherwise returns FALSE. -<p> <p>See also <a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(), <a href="#commit">commit</a>(), and <a href="#transaction">transaction</a>(). +<p> <p>See also <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(), <a href="#commit">commit</a>(), and <a href="#transaction">transaction</a>(). <h3 class=fn>void <a name="setConnectOptions"></a>TQSqlDatabase::setConnectOptions ( const <a href="ntqstring.html">TQString</a> & options = TQString::null ) </h3><p>Sets the database connect options to <em>options</em>. -See the <a href="ntqsqldatabase.html#connectOptions-prop">"connectOptions"</a> property for details. +See the <a href="tqsqldatabase.html#connectOptions-prop">"connectOptions"</a> property for details. <h3 class=fn>void <a name="setDatabaseName"></a>TQSqlDatabase::setDatabaseName ( const <a href="ntqstring.html">TQString</a> & name )<tt> [virtual]</tt> </h3><p>Sets the name of the database to <em>name</em>. -See the <a href="ntqsqldatabase.html#databaseName-prop">"databaseName"</a> property for details. +See the <a href="tqsqldatabase.html#databaseName-prop">"databaseName"</a> property for details. <h3 class=fn>void <a name="setHostName"></a>TQSqlDatabase::setHostName ( const <a href="ntqstring.html">TQString</a> & host )<tt> [virtual]</tt> </h3><p>Sets the host name where the database resides to <em>host</em>. -See the <a href="ntqsqldatabase.html#hostName-prop">"hostName"</a> property for details. +See the <a href="tqsqldatabase.html#hostName-prop">"hostName"</a> property for details. <h3 class=fn>void <a name="setPassword"></a>TQSqlDatabase::setPassword ( const <a href="ntqstring.html">TQString</a> & password )<tt> [virtual]</tt> </h3><p>Sets the password used to connect to the database to <em>password</em>. -See the <a href="ntqsqldatabase.html#password-prop">"password"</a> property for details. +See the <a href="tqsqldatabase.html#password-prop">"password"</a> property for details. <h3 class=fn>void <a name="setPort"></a>TQSqlDatabase::setPort ( int p )<tt> [virtual]</tt> </h3><p>Sets the port used to connect to the database to <em>p</em>. -See the <a href="ntqsqldatabase.html#port-prop">"port"</a> property for details. +See the <a href="tqsqldatabase.html#port-prop">"port"</a> property for details. <h3 class=fn>void <a name="setUserName"></a>TQSqlDatabase::setUserName ( const <a href="ntqstring.html">TQString</a> & name )<tt> [virtual]</tt> </h3><p>Sets the user name connected to the database to <em>name</em>. -See the <a href="ntqsqldatabase.html#userName-prop">"userName"</a> property for details. -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="tables"></a>TQSqlDatabase::tables ( <a href="ntqsql.html#TableType-enum">TQSql::TableType</a> type ) const +See the <a href="tqsqldatabase.html#userName-prop">"userName"</a> property for details. +<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="tables"></a>TQSqlDatabase::tables ( <a href="tqsql.html#TableType-enum">TQSql::TableType</a> type ) const </h3> Returns a list of the database's tables, system tables and views, as specified by the parameter <em>type</em>. @@ -522,11 +522,11 @@ over a copy, e.g. Begins a transaction on the database if the driver supports transactions. Returns TRUE if the operation succeeded; otherwise returns FALSE. -<p> <p>See also <a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(), <a href="#commit">commit</a>(), and <a href="#rollback">rollback</a>(). +<p> <p>See also <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(), <a href="#commit">commit</a>(), and <a href="#rollback">rollback</a>(). <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="userName"></a>TQSqlDatabase::userName () const </h3><p>Returns the user name connected to the database. -See the <a href="ntqsqldatabase.html#userName-prop">"userName"</a> property for details. +See the <a href="tqsqldatabase.html#userName-prop">"userName"</a> property for details. <hr><h2>Property Documentation</h2> <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="connectOptions-prop"></a>connectOptions</h3> <p>This property holds the database connect options. diff --git a/doc/html/qsqldriver-h.html b/doc/html/tqsqldriver-h.html index 1d420d5ab..0854508ac 100644 --- a/doc/html/qsqldriver-h.html +++ b/doc/html/tqsqldriver-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqldriver.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqldriver.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqldriver.h Include File</title> +<title>tqsqldriver.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqldriver.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqldriver.h</h1> -<p>This is the verbatim text of the ntqsqldriver.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqldriver.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -80,10 +80,10 @@ body { background: #ffffff; color: black; } #include "tqobject.h" #include "ntqptrdict.h" #include "ntqstring.h" -#include "ntqsqlerror.h" -#include "ntqsqlquery.h" -#include "ntqsqlfield.h" -#include "ntqsqlindex.h" +#include "tqsqlerror.h" +#include "tqsqlquery.h" +#include "tqsqlfield.h" +#include "tqsqlindex.h" #include "ntqstringlist.h" #include "ntqmap.h" #endif // QT_H diff --git a/doc/html/qsqldriver-members.html b/doc/html/tqsqldriver-members.html index 826b31e6c..1a71bc534 100644 --- a/doc/html/qsqldriver-members.html +++ b/doc/html/tqsqldriver-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqldriver.h:64 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqldriver.h:64 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,23 +32,23 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlDriver</h1> <p>This is the complete list of member functions for -<a href="ntqsqldriver.html">TQSqlDriver</a>, including inherited members. +<a href="tqsqldriver.html">TQSqlDriver</a>, including inherited members. <ul> -<li><a href="ntqsqldriver.html#TQSqlDriver">TQSqlDriver</a>() -<li><a href="ntqsqldriver.html#~TQSqlDriver">~TQSqlDriver</a>() -<li><a href="ntqsqldriver.html#beginTransaction">beginTransaction</a>() +<li><a href="tqsqldriver.html#TQSqlDriver">TQSqlDriver</a>() +<li><a href="tqsqldriver.html#~TQSqlDriver">~TQSqlDriver</a>() +<li><a href="tqsqldriver.html#beginTransaction">beginTransaction</a>() <li><a href="tqobject.html#blockSignals">blockSignals</a>() <li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() <li><a href="tqobject.html#child">child</a>() <li><a href="tqobject.html#childEvent">childEvent</a>() <li><a href="tqobject.html#children">children</a>() <li><a href="tqobject.html#className">className</a>() -<li><a href="ntqsqldriver.html#close">close</a>() -<li><a href="ntqsqldriver.html#commitTransaction">commitTransaction</a>() +<li><a href="tqsqldriver.html#close">close</a>() +<li><a href="tqsqldriver.html#commitTransaction">commitTransaction</a>() <li><a href="tqobject.html#connect">connect</a>() <li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="ntqsqldriver.html#createQuery">createQuery</a>() +<li><a href="tqsqldriver.html#createQuery">createQuery</a>() <li><a href="tqobject.html#customEvent">customEvent</a>() <li><a href="tqobject.html#deleteLater">deleteLater</a>() <li><a href="tqobject.html#destroyed">destroyed</a>() @@ -58,43 +58,43 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#dumpObjectTree">dumpObjectTree</a>() <li><a href="tqobject.html#event">event</a>() <li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="ntqsqldriver.html#formatValue">formatValue</a>() -<li><a href="ntqsqldriver.html#hasFeature">hasFeature</a>() +<li><a href="tqsqldriver.html#formatValue">formatValue</a>() +<li><a href="tqsqldriver.html#hasFeature">hasFeature</a>() <li><a href="tqobject.html#highPriority">highPriority</a>() <li><a href="tqobject.html#inherits">inherits</a>() <li><a href="tqobject.html#insertChild">insertChild</a>() <li><a href="tqobject.html#installEventFilter">installEventFilter</a>() <li><a href="tqobject.html#isA">isA</a>() -<li><a href="ntqsqldriver.html#isOpen">isOpen</a>() -<li><a href="ntqsqldriver.html#isOpenError">isOpenError</a>() +<li><a href="tqsqldriver.html#isOpen">isOpen</a>() +<li><a href="tqsqldriver.html#isOpenError">isOpenError</a>() <li><a href="tqobject.html#isWidgetType">isWidgetType</a>() <li><a href="tqobject.html#killTimer">killTimer</a>() <li><a href="tqobject.html#killTimers">killTimers</a>() -<li><a href="ntqsqldriver.html#lastError">lastError</a>() +<li><a href="tqsqldriver.html#lastError">lastError</a>() <li><a href="tqobject.html#metaObject">metaObject</a>() <li><a href="tqobject.html#name">name</a>() <li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() -<li><a href="ntqsqldriver.html#nullText">nullText</a>() +<li><a href="tqsqldriver.html#nullText">nullText</a>() <li><a href="tqobject.html#objectTrees">objectTrees</a>() -<li><a href="ntqsqldriver.html#open">open</a>() +<li><a href="tqsqldriver.html#open">open</a>() <li><a href="tqobject.html#parent">parent</a>() -<li><a href="ntqsqldriver.html#primaryIndex">primaryIndex</a>() +<li><a href="tqsqldriver.html#primaryIndex">primaryIndex</a>() <li><a href="tqobject.html#property">property</a>() <li><a href="tqobject.html#queryList">queryList</a>() -<li><a href="ntqsqldriver.html#record">record</a>() -<li><a href="ntqsqldriver.html#recordInfo">recordInfo</a>() +<li><a href="tqsqldriver.html#record">record</a>() +<li><a href="tqsqldriver.html#recordInfo">recordInfo</a>() <li><a href="tqobject.html#removeChild">removeChild</a>() <li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() -<li><a href="ntqsqldriver.html#rollbackTransaction">rollbackTransaction</a>() +<li><a href="tqsqldriver.html#rollbackTransaction">rollbackTransaction</a>() <li><a href="tqobject.html#sender">sender</a>() -<li><a href="ntqsqldriver.html#setLastError">setLastError</a>() +<li><a href="tqsqldriver.html#setLastError">setLastError</a>() <li><a href="tqobject.html#setName">setName</a>() -<li><a href="ntqsqldriver.html#setOpen">setOpen</a>() -<li><a href="ntqsqldriver.html#setOpenError">setOpenError</a>() +<li><a href="tqsqldriver.html#setOpen">setOpen</a>() +<li><a href="tqsqldriver.html#setOpenError">setOpenError</a>() <li><a href="tqobject.html#setProperty">setProperty</a>() <li><a href="tqobject.html#signalsBlocked">signalsBlocked</a>() <li><a href="tqobject.html#startTimer">startTimer</a>() -<li><a href="ntqsqldriver.html#tables">tables</a>() +<li><a href="tqsqldriver.html#tables">tables</a>() <li><a href="tqobject.html#timerEvent">timerEvent</a>() <li><a href="tqobject.html#tr">tr</a>() <li><a href="tqobject.html#trUtf8">trUtf8</a>() diff --git a/doc/html/ntqsqldriver.html b/doc/html/tqsqldriver.html index 8f6e652b7..2a4d05b4c 100644 --- a/doc/html/ntqsqldriver.html +++ b/doc/html/tqsqldriver.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqldriver.cpp:52 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqldriver.cpp:52 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlDriver class is an abstract base class for accessing SQL databases. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqldriver-h.html">ntqsqldriver.h</a>></tt> +<p><tt>#include <<a href="tqsqldriver-h.html">tqsqldriver.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a>. -<p><a href="qsqldriver-members.html">List of all member functions.</a> +<p><a href="tqsqldriver-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn>enum <a href="#DriverFeature-enum"><b>DriverFeature</b></a> { Transactions, QuerySize, BLOB, Unicode, PreparedQueries, NamedPlaceholders, PositionalPlaceholders }</li> @@ -75,7 +75,7 @@ The TQSqlDriver class is an abstract base class for accessing SQL databases. <p> -<p> This class should not be used directly. Use <a href="ntqsqldatabase.html">TQSqlDatabase</a> instead. +<p> This class should not be used directly. Use <a href="tqsqldatabase.html">TQSqlDatabase</a> instead. <p>See also <a href="database.html">Database Classes</a>. <hr><h2>Member Type Documentation</h2> @@ -88,7 +88,7 @@ SQL databases. <li><tt>TQSqlDriver::QuerySize</tt> - whether the database is capable of reporting the size of a query. Note that some databases do not support returning the size (i.e. number of rows returned) of a query, in which case -<a href="ntqsqlquery.html#size">TQSqlQuery::size</a>() will return -1 +<a href="tqsqlquery.html#size">TQSqlQuery::size</a>() will return -1 <li><tt>TQSqlDriver::BLOB</tt> - whether the driver supports Binary Large Object fields <li><tt>TQSqlDriver::Unicode</tt> - whether the driver supports Unicode strings if the database server does @@ -132,14 +132,14 @@ a transaction. If successful, return TRUE, otherwise return FALSE. The default implementation returns FALSE. <p> <p>See also <a href="#beginTransaction">beginTransaction</a>() and <a href="#rollbackTransaction">rollbackTransaction</a>(). -<h3 class=fn><a href="ntqsqlquery.html">TQSqlQuery</a> <a name="createQuery"></a>TQSqlDriver::createQuery () const<tt> [pure virtual]</tt> +<h3 class=fn><a href="tqsqlquery.html">TQSqlQuery</a> <a name="createQuery"></a>TQSqlDriver::createQuery () const<tt> [pure virtual]</tt> </h3> <p> Creates an empty SQL result on the database. Derived classes must -reimplement this function and return a <a href="ntqsqlquery.html">TQSqlQuery</a> object +reimplement this function and return a <a href="tqsqlquery.html">TQSqlQuery</a> object appropriate for their database to the caller. <p> -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="formatValue"></a>TQSqlDriver::formatValue ( const <a href="ntqsqlfield.html">TQSqlField</a> * field, bool trimStrings = FALSE ) const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="formatValue"></a>TQSqlDriver::formatValue ( const <a href="tqsqlfield.html">TQSqlField</a> * field, bool trimStrings = FALSE ) const<tt> [virtual]</tt> </h3> Returns a string representation of the <em>field</em> value for the database. This is used, for example, when constructing INSERT and @@ -165,7 +165,7 @@ and the result returned. <p> <p>See also <a href="ntqvariant.html#toString">TQVariant::toString</a>(). <p> -<h3 class=fn>bool <a name="hasFeature"></a>TQSqlDriver::hasFeature ( <a href="ntqsqldriver.html#DriverFeature-enum">DriverFeature</a> f ) const<tt> [pure virtual]</tt> +<h3 class=fn>bool <a name="hasFeature"></a>TQSqlDriver::hasFeature ( <a href="tqsqldriver.html#DriverFeature-enum">DriverFeature</a> f ) const<tt> [pure virtual]</tt> </h3> <p> Returns TRUE if the driver supports feature <em>f</em>; otherwise @@ -184,9 +184,9 @@ FALSE. Returns TRUE if the there was an error opening the database connection; otherwise returns FALSE. -<h3 class=fn><a href="ntqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlDriver::lastError () const +<h3 class=fn><a href="tqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlDriver::lastError () const </h3> -Returns a <a href="ntqsqlerror.html">TQSqlError</a> object which contains information about the +Returns a <a href="tqsqlerror.html">TQSqlError</a> object which contains information about the last error that occurred on the database. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="nullText"></a>TQSqlDriver::nullText () const<tt> [virtual]</tt> @@ -214,32 +214,32 @@ connection options <em>connOpts</em>. <p> Returns TRUE on success and FALSE on failure. <p> <p>See also <a href="#setOpen">setOpen</a>(). -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="primaryIndex"></a>TQSqlDriver::primaryIndex ( const <a href="ntqstring.html">TQString</a> & tableName ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="primaryIndex"></a>TQSqlDriver::primaryIndex ( const <a href="ntqstring.html">TQString</a> & tableName ) const<tt> [virtual]</tt> </h3> Returns the primary index for table <em>tableName</em>. Returns an empty -<a href="ntqsqlindex.html">TQSqlIndex</a> if the table doesn't have a primary index. The default +<a href="tqsqlindex.html">TQSqlIndex</a> if the table doesn't have a primary index. The default implementation returns an empty index. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> <a name="record"></a>TQSqlDriver::record ( const <a href="ntqstring.html">TQString</a> & tableName ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> <a name="record"></a>TQSqlDriver::record ( const <a href="ntqstring.html">TQString</a> & tableName ) const<tt> [virtual]</tt> </h3> -Returns a <a href="ntqsqlrecord.html">TQSqlRecord</a> populated with the names of the fields in +Returns a <a href="tqsqlrecord.html">TQSqlRecord</a> populated with the names of the fields in table <em>tableName</em>. If no such table exists, an empty record is returned. The default implementation returns an empty record. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> <a name="record-2"></a>TQSqlDriver::record ( const <a href="ntqsqlquery.html">TQSqlQuery</a> & query ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> <a name="record-2"></a>TQSqlDriver::record ( const <a href="tqsqlquery.html">TQSqlQuery</a> & query ) const<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns a <a href="ntqsqlrecord.html">TQSqlRecord</a> populated with the names of the fields in the +<p> Returns a <a href="tqsqlrecord.html">TQSqlRecord</a> populated with the names of the fields in the SQL <em>query</em>. The default implementation returns an empty record. -<h3 class=fn><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo"></a>TQSqlDriver::recordInfo ( const <a href="ntqstring.html">TQString</a> & tablename ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo"></a>TQSqlDriver::recordInfo ( const <a href="ntqstring.html">TQString</a> & tablename ) const<tt> [virtual]</tt> </h3> -Returns a <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> object with meta data about the table <em>tablename</em>. +Returns a <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> object with meta data about the table <em>tablename</em>. -<h3 class=fn><a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo-2"></a>TQSqlDriver::recordInfo ( const <a href="ntqsqlquery.html">TQSqlQuery</a> & query ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> <a name="recordInfo-2"></a>TQSqlDriver::recordInfo ( const <a href="tqsqlquery.html">TQSqlQuery</a> & query ) const<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns a <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> object with meta data for the <a href="ntqsqlquery.html">TQSqlQuery</a> +<p> Returns a <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> object with meta data for the <a href="tqsqlquery.html">TQSqlQuery</a> <em>query</em>. Note that this overloaded function may return less information than the <a href="#recordInfo">recordInfo</a>() function which takes the name of a table as parameter. @@ -251,7 +251,7 @@ rollback a transaction. If successful, return TRUE, otherwise return FALSE. The default implementation returns FALSE. <p> <p>See also <a href="#beginTransaction">beginTransaction</a>() and <a href="#commitTransaction">commitTransaction</a>(). -<h3 class=fn>void <a name="setLastError"></a>TQSqlDriver::setLastError ( const <a href="ntqsqlerror.html">TQSqlError</a> & e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="setLastError"></a>TQSqlDriver::setLastError ( const <a href="tqsqlerror.html">TQSqlError</a> & e )<tt> [virtual protected]</tt> </h3> Protected function which allows derived classes to set the value of the last error, <em>e</em>, that occurred on the database. @@ -280,7 +280,7 @@ should be returned. Due to binary compatibility, the string contains the value of the enum TQSql::TableTypes as text. An empty string should be treated as TQSql::Tables for downward compatibility. -<p> <p>See also <a href="ntqsql.html#TableType-enum">TQSql::TableType</a>. +<p> <p>See also <a href="tqsql.html#TableType-enum">TQSql::TableType</a>. <!-- eof --> <hr><p> diff --git a/doc/html/qsqldriverplugin-h.html b/doc/html/tqsqldriverplugin-h.html index 442a23fa7..c5070e11e 100644 --- a/doc/html/qsqldriverplugin-h.html +++ b/doc/html/tqsqldriverplugin-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqldriverplugin.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqldriverplugin.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqldriverplugin.h Include File</title> +<title>tqsqldriverplugin.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,13 +29,13 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqldriverplugin.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqldriverplugin.h</h1> -<p>This is the verbatim text of the ntqsqldriverplugin.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqldriverplugin.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** -** $Id: qt/ntqsqldriverplugin.h 3.3.8 edited Jan 11 14:46 $ +** $Id: qt/tqsqldriverplugin.h 3.3.8 edited Jan 11 14:46 $ ** ** Definition of TQSqlDriverPlugin class ** diff --git a/doc/html/qsqldriverplugin-members.html b/doc/html/tqsqldriverplugin-members.html index 649aa6667..ee6946bf6 100644 --- a/doc/html/qsqldriverplugin-members.html +++ b/doc/html/tqsqldriverplugin-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqldriverplugin.h:52 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqldriverplugin.h:52 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,13 +32,13 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlDriverPlugin</h1> <p>This is the complete list of member functions for -<a href="ntqsqldriverplugin.html">TQSqlDriverPlugin</a>, including inherited members. +<a href="tqsqldriverplugin.html">TQSqlDriverPlugin</a>, including inherited members. <ul> -<li><a href="ntqsqldriverplugin.html#TQSqlDriverPlugin">TQSqlDriverPlugin</a>() -<li><a href="ntqsqldriverplugin.html#~TQSqlDriverPlugin">~TQSqlDriverPlugin</a>() -<li><a href="ntqsqldriverplugin.html#create">create</a>() -<li><a href="ntqsqldriverplugin.html#keys">keys</a>() +<li><a href="tqsqldriverplugin.html#TQSqlDriverPlugin">TQSqlDriverPlugin</a>() +<li><a href="tqsqldriverplugin.html#~TQSqlDriverPlugin">~TQSqlDriverPlugin</a>() +<li><a href="tqsqldriverplugin.html#create">create</a>() +<li><a href="tqsqldriverplugin.html#keys">keys</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqldriverplugin.html b/doc/html/tqsqldriverplugin.html index 4a948e20e..e46a63da8 100644 --- a/doc/html/ntqsqldriverplugin.html +++ b/doc/html/tqsqldriverplugin.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqldriverplugin.cpp:45 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqldriverplugin.cpp:45 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQSqlDriverPlugin class provides an abstract base for custom TQSqlDriver plugins. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqldriverplugin-h.html">ntqsqldriverplugin.h</a>></tt> -<p><a href="qsqldriverplugin-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqldriverplugin-h.html">tqsqldriverplugin.h</a>></tt> +<p><a href="tqsqldriverplugin-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlDriverPlugin"><b>TQSqlDriverPlugin</b></a> ()</li> @@ -45,7 +45,7 @@ body { background: #ffffff; color: black; } <hr><a name="details"></a><h2>Detailed Description</h2> -The TQSqlDriverPlugin class provides an abstract base for custom <a href="ntqsqldriver.html">TQSqlDriver</a> plugins. +The TQSqlDriverPlugin class provides an abstract base for custom <a href="tqsqldriver.html">TQSqlDriver</a> plugins. <p> <p> The SQL driver plugin is a simple plugin interface that makes it @@ -72,10 +72,10 @@ Destroys the SQL driver plugin. <p> You never have to call this explicitly. TQt destroys a plugin automatically when it is no longer used. -<h3 class=fn><a href="ntqsqldriver.html">TQSqlDriver</a> * <a name="create"></a>TQSqlDriverPlugin::create ( const <a href="ntqstring.html">TQString</a> & key )<tt> [pure virtual]</tt> +<h3 class=fn><a href="tqsqldriver.html">TQSqlDriver</a> * <a name="create"></a>TQSqlDriverPlugin::create ( const <a href="ntqstring.html">TQString</a> & key )<tt> [pure virtual]</tt> </h3> -<p> Creates and returns a <a href="ntqsqldriver.html">TQSqlDriver</a> object for the driver key <em>key</em>. +<p> Creates and returns a <a href="tqsqldriver.html">TQSqlDriver</a> object for the driver key <em>key</em>. The driver key is usually the class name of the required driver. <p> <p>See also <a href="#keys">keys</a>(). diff --git a/doc/html/qsqleditorfactory-h.html b/doc/html/tqsqleditorfactory-h.html index cd1185ef8..91e9b4bb0 100644 --- a/doc/html/qsqleditorfactory-h.html +++ b/doc/html/tqsqleditorfactory-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqleditorfactory.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqleditorfactory.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqleditorfactory.h Include File</title> +<title>tqsqleditorfactory.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqleditorfactory.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqleditorfactory.h</h1> -<p>This is the verbatim text of the ntqsqleditorfactory.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqleditorfactory.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; } #define TQSQLEDITORFACTORY_H #ifndef QT_H -#include "ntqeditorfactory.h" +#include "tqeditorfactory.h" #endif // QT_H #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) diff --git a/doc/html/qsqleditorfactory-members.html b/doc/html/tqsqleditorfactory-members.html index 7d8cb8a27..3a7c555a6 100644 --- a/doc/html/qsqleditorfactory-members.html +++ b/doc/html/tqsqleditorfactory-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqleditorfactory.h:54 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqleditorfactory.h:54 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,11 +32,11 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlEditorFactory</h1> <p>This is the complete list of member functions for -<a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>, including inherited members. +<a href="tqsqleditorfactory.html">TQSqlEditorFactory</a>, including inherited members. <ul> -<li><a href="ntqsqleditorfactory.html#TQSqlEditorFactory">TQSqlEditorFactory</a>() -<li><a href="ntqsqleditorfactory.html#~TQSqlEditorFactory">~TQSqlEditorFactory</a>() +<li><a href="tqsqleditorfactory.html#TQSqlEditorFactory">TQSqlEditorFactory</a>() +<li><a href="tqsqleditorfactory.html#~TQSqlEditorFactory">~TQSqlEditorFactory</a>() <li><a href="tqobject.html#blockSignals">blockSignals</a>() <li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() <li><a href="tqobject.html#child">child</a>() @@ -45,9 +45,9 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#className">className</a>() <li><a href="tqobject.html#connect">connect</a>() <li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="ntqsqleditorfactory.html#createEditor">createEditor</a>() +<li><a href="tqsqleditorfactory.html#createEditor">createEditor</a>() <li><a href="tqobject.html#customEvent">customEvent</a>() -<li><a href="ntqsqleditorfactory.html#defaultFactory">defaultFactory</a>() +<li><a href="tqsqleditorfactory.html#defaultFactory">defaultFactory</a>() <li><a href="tqobject.html#deleteLater">deleteLater</a>() <li><a href="tqobject.html#destroyed">destroyed</a>() <li><a href="tqobject.html#disconnect">disconnect</a>() @@ -59,7 +59,7 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#highPriority">highPriority</a>() <li><a href="tqobject.html#inherits">inherits</a>() <li><a href="tqobject.html#insertChild">insertChild</a>() -<li><a href="ntqsqleditorfactory.html#installDefaultFactory">installDefaultFactory</a>() +<li><a href="tqsqleditorfactory.html#installDefaultFactory">installDefaultFactory</a>() <li><a href="tqobject.html#installEventFilter">installEventFilter</a>() <li><a href="tqobject.html#isA">isA</a>() <li><a href="tqobject.html#isWidgetType">isWidgetType</a>() diff --git a/doc/html/ntqsqleditorfactory.html b/doc/html/tqsqleditorfactory.html index 8ce355d79..875681207 100644 --- a/doc/html/ntqsqleditorfactory.html +++ b/doc/html/tqsqleditorfactory.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqleditorfactory.cpp:49 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqleditorfactory.cpp:49 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlEditorFactory class is used to create the editors used by TQDataTable and TQSqlForm. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqleditorfactory-h.html">ntqsqleditorfactory.h</a>></tt> -<p>Inherits <a href="ntqeditorfactory.html">TQEditorFactory</a>. -<p><a href="qsqleditorfactory-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqleditorfactory-h.html">tqsqleditorfactory.h</a>></tt> +<p>Inherits <a href="tqeditorfactory.html">TQEditorFactory</a>. +<p><a href="tqsqleditorfactory-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlEditorFactory"><b>TQSqlEditorFactory</b></a> ( TQObject * parent = 0, const char * name = 0 )</li> @@ -53,18 +53,18 @@ used by TQDataTable and TQSqlForm. The TQSqlEditorFactory class is used to create the editors -used by <a href="ntqdatatable.html">TQDataTable</a> and <a href="ntqsqlform.html">TQSqlForm</a>. +used by <a href="tqdatatable.html">TQDataTable</a> and <a href="tqsqlform.html">TQSqlForm</a>. <p> <p> TQSqlEditorFactory is used by TQDataTable and TQSqlForm to -automatically create appropriate editors for a given <a href="ntqsqlfield.html">TQSqlField</a>. +automatically create appropriate editors for a given <a href="tqsqlfield.html">TQSqlField</a>. For example if the field is a TQVariant::String a <a href="ntqlineedit.html">TQLineEdit</a> would be the default editor, whereas a TQVariant::Int's default editor would be a <a href="ntqspinbox.html">TQSpinBox</a>. <p> If you want to create different editors for fields with the same data type, subclass TQSqlEditorFactory and reimplement the <a href="#createEditor">createEditor</a>() function. -<p> <p>See also <a href="ntqdatatable.html">TQDataTable</a>, <a href="ntqsqlform.html">TQSqlForm</a>, and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="tqdatatable.html">TQDataTable</a>, <a href="tqsqlform.html">TQSqlForm</a>, and <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQSqlEditorFactory"></a>TQSqlEditorFactory::TQSqlEditorFactory ( <a href="tqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) @@ -82,20 +82,20 @@ Creates and returns the appropriate editor widget for the <a href="ntqvariant.ht <p> The widget that is returned has the parent <em>parent</em> (which may be zero). If <em>variant</em> is invalid, 0 is returned. -<p>Reimplemented from <a href="ntqeditorfactory.html#createEditor">TQEditorFactory</a>. -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="createEditor-2"></a>TQSqlEditorFactory::createEditor ( <a href="ntqwidget.html">TQWidget</a> * parent, const <a href="ntqsqlfield.html">TQSqlField</a> * field )<tt> [virtual]</tt> +<p>Reimplemented from <a href="tqeditorfactory.html#createEditor">TQEditorFactory</a>. +<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="createEditor-2"></a>TQSqlEditorFactory::createEditor ( <a href="ntqwidget.html">TQWidget</a> * parent, const <a href="tqsqlfield.html">TQSqlField</a> * field )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Creates and returns the appropriate editor for the <a href="ntqsqlfield.html">TQSqlField</a> <em>field</em>. +<p> Creates and returns the appropriate editor for the <a href="tqsqlfield.html">TQSqlField</a> <em>field</em>. -<h3 class=fn><a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> * <a name="defaultFactory"></a>TQSqlEditorFactory::defaultFactory ()<tt> [static]</tt> +<h3 class=fn><a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> * <a name="defaultFactory"></a>TQSqlEditorFactory::defaultFactory ()<tt> [static]</tt> </h3> Returns an instance of a default editor factory. -<h3 class=fn>void <a name="installDefaultFactory"></a>TQSqlEditorFactory::installDefaultFactory ( <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a> * factory )<tt> [static]</tt> +<h3 class=fn>void <a name="installDefaultFactory"></a>TQSqlEditorFactory::installDefaultFactory ( <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> * factory )<tt> [static]</tt> </h3> Replaces the default editor factory with <em>factory</em>. All -<a href="ntqdatatable.html">TQDataTable</a> and <a href="ntqsqlform.html">TQSqlForm</a> instantiations will use this new factory +<a href="tqdatatable.html">TQDataTable</a> and <a href="tqsqlform.html">TQSqlForm</a> instantiations will use this new factory for creating field editors. <em>TQSqlEditorFactory takes ownership of \a factory, and destroys it when it is no longer needed.</em> <!-- eof --> diff --git a/doc/html/qsqlerror-h.html b/doc/html/tqsqlerror-h.html index 4b1a2bdf6..025cd9c20 100644 --- a/doc/html/qsqlerror-h.html +++ b/doc/html/tqsqlerror-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlerror.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlerror.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlerror.h Include File</title> +<title>tqsqlerror.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlerror.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlerror.h</h1> -<p>This is the verbatim text of the ntqsqlerror.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlerror.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** diff --git a/doc/html/qsqlerror-members.html b/doc/html/tqsqlerror-members.html index 3e742f449..bb2045291 100644 --- a/doc/html/qsqlerror-members.html +++ b/doc/html/tqsqlerror-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlerror.h:53 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlerror.h:53 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,22 +32,22 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlError</h1> <p>This is the complete list of member functions for -<a href="ntqsqlerror.html">TQSqlError</a>, including inherited members. +<a href="tqsqlerror.html">TQSqlError</a>, including inherited members. <ul> -<li><a href="ntqsqlerror.html#TQSqlError">TQSqlError</a>() -<li><a href="ntqsqlerror.html#~TQSqlError">~TQSqlError</a>() -<li><a href="ntqsqlerror.html#databaseText">databaseText</a>() -<li><a href="ntqsqlerror.html#driverText">driverText</a>() -<li><a href="ntqsqlerror.html#number">number</a>() -<li><a href="ntqsqlerror.html#operator-eq">operator=</a>() -<li><a href="ntqsqlerror.html#setDatabaseText">setDatabaseText</a>() -<li><a href="ntqsqlerror.html#setDriverText">setDriverText</a>() -<li><a href="ntqsqlerror.html#setNumber">setNumber</a>() -<li><a href="ntqsqlerror.html#setType">setType</a>() -<li><a href="ntqsqlerror.html#showMessage">showMessage</a>() -<li><a href="ntqsqlerror.html#text">text</a>() -<li><a href="ntqsqlerror.html#type">type</a>() +<li><a href="tqsqlerror.html#TQSqlError">TQSqlError</a>() +<li><a href="tqsqlerror.html#~TQSqlError">~TQSqlError</a>() +<li><a href="tqsqlerror.html#databaseText">databaseText</a>() +<li><a href="tqsqlerror.html#driverText">driverText</a>() +<li><a href="tqsqlerror.html#number">number</a>() +<li><a href="tqsqlerror.html#operator-eq">operator=</a>() +<li><a href="tqsqlerror.html#setDatabaseText">setDatabaseText</a>() +<li><a href="tqsqlerror.html#setDriverText">setDriverText</a>() +<li><a href="tqsqlerror.html#setNumber">setNumber</a>() +<li><a href="tqsqlerror.html#setType">setType</a>() +<li><a href="tqsqlerror.html#showMessage">showMessage</a>() +<li><a href="tqsqlerror.html#text">text</a>() +<li><a href="tqsqlerror.html#type">type</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqlerror.html b/doc/html/tqsqlerror.html index 37c25dfd5..d1b84a21a 100644 --- a/doc/html/ntqsqlerror.html +++ b/doc/html/tqsqlerror.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlerror.cpp:42 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlerror.cpp:42 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQSqlError class provides SQL database error information. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlerror-h.html">ntqsqlerror.h</a>></tt> -<p><a href="qsqlerror-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlerror-h.html">tqsqlerror.h</a>></tt> +<p><a href="tqsqlerror-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn>enum <a href="#Type-enum"><b>Type</b></a> { None, Connection, Statement, Transaction, Unknown }</li> @@ -81,7 +81,7 @@ can be obtained using this class. Constructs an error containing the driver error text <em>driverText</em>, the database-specific error text <em>databaseText</em>, the type <em>type</em> and the optional error number <em>number</em>. -<h3 class=fn><a name="TQSqlError-2"></a>TQSqlError::TQSqlError ( const <a href="ntqsqlerror.html">TQSqlError</a> & other ) +<h3 class=fn><a name="TQSqlError-2"></a>TQSqlError::TQSqlError ( const <a href="tqsqlerror.html">TQSqlError</a> & other ) </h3> Creates a copy of <em>other</em>. @@ -104,7 +104,7 @@ contain database-specific descriptions. Returns the database-specific error number, or -1 if it cannot be determined. -<h3 class=fn><a href="ntqsqlerror.html">TQSqlError</a> & <a name="operator-eq"></a>TQSqlError::operator= ( const <a href="ntqsqlerror.html">TQSqlError</a> & other ) +<h3 class=fn><a href="tqsqlerror.html">TQSqlError</a> & <a name="operator-eq"></a>TQSqlError::operator= ( const <a href="tqsqlerror.html">TQSqlError</a> & other ) </h3> Sets the error equal to <em>other</em>. diff --git a/doc/html/qsqlfield-h.html b/doc/html/tqsqlfield-h.html index b7b6365cd..a7b3f1403 100644 --- a/doc/html/qsqlfield-h.html +++ b/doc/html/tqsqlfield-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlfield.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlfield.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlfield.h Include File</title> +<title>tqsqlfield.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlfield.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlfield.h</h1> -<p>This is the verbatim text of the ntqsqlfield.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlfield.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** diff --git a/doc/html/qsqlfield-members.html b/doc/html/tqsqlfield-members.html index 7c249e576..5cc1a70ff 100644 --- a/doc/html/qsqlfield-members.html +++ b/doc/html/tqsqlfield-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlfield.h:60 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlfield.h:60 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,23 +32,23 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlField</h1> <p>This is the complete list of member functions for -<a href="ntqsqlfield.html">TQSqlField</a>, including inherited members. +<a href="tqsqlfield.html">TQSqlField</a>, including inherited members. <ul> -<li><a href="ntqsqlfield.html#TQSqlField">TQSqlField</a>() -<li><a href="ntqsqlfield.html#~TQSqlField">~TQSqlField</a>() -<li><a href="ntqsqlfield.html#clear">clear</a>() -<li><a href="ntqsqlfield.html#isNull">isNull</a>() -<li><a href="ntqsqlfield.html#isReadOnly">isReadOnly</a>() -<li><a href="ntqsqlfield.html#name">name</a>() -<li><a href="ntqsqlfield.html#operator-eq">operator=</a>() -<li><a href="ntqsqlfield.html#operator-eq-eq">operator==</a>() -<li><a href="ntqsqlfield.html#setName">setName</a>() -<li><a href="ntqsqlfield.html#setNull">setNull</a>() -<li><a href="ntqsqlfield.html#setReadOnly">setReadOnly</a>() -<li><a href="ntqsqlfield.html#setValue">setValue</a>() -<li><a href="ntqsqlfield.html#type">type</a>() -<li><a href="ntqsqlfield.html#value">value</a>() +<li><a href="tqsqlfield.html#TQSqlField">TQSqlField</a>() +<li><a href="tqsqlfield.html#~TQSqlField">~TQSqlField</a>() +<li><a href="tqsqlfield.html#clear">clear</a>() +<li><a href="tqsqlfield.html#isNull">isNull</a>() +<li><a href="tqsqlfield.html#isReadOnly">isReadOnly</a>() +<li><a href="tqsqlfield.html#name">name</a>() +<li><a href="tqsqlfield.html#operator-eq">operator=</a>() +<li><a href="tqsqlfield.html#operator-eq-eq">operator==</a>() +<li><a href="tqsqlfield.html#setName">setName</a>() +<li><a href="tqsqlfield.html#setNull">setNull</a>() +<li><a href="tqsqlfield.html#setReadOnly">setReadOnly</a>() +<li><a href="tqsqlfield.html#setValue">setValue</a>() +<li><a href="tqsqlfield.html#type">type</a>() +<li><a href="tqsqlfield.html#value">value</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqlfield.html b/doc/html/tqsqlfield.html index ba809da54..e89721e25 100644 --- a/doc/html/ntqsqlfield.html +++ b/doc/html/tqsqlfield.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlfield.cpp:42 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlfield.cpp:42 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; } <p>The TQSqlField class manipulates the fields in SQL database tables and views. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlfield-h.html">ntqsqlfield.h</a>></tt> -<p><a href="qsqlfield-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlfield-h.html">tqsqlfield.h</a>></tt> +<p><a href="tqsqlfield-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlField"><b>TQSqlField</b></a> ( const TQString & fieldName = TQString::null, TQVariant::Type type = TQVariant::Invalid )</li> @@ -80,12 +80,12 @@ field data type where possible: </pre> <p> TQSqlField objects are rarely created explicitly in application -code. They are usually accessed indirectly through <a href="ntqsqlrecord.html">TQSqlRecord</a> -or <a href="ntqsqlcursor.html">TQSqlCursor</a> which already contain a list of fields. For +code. They are usually accessed indirectly through <a href="tqsqlrecord.html">TQSqlRecord</a> +or <a href="tqsqlcursor.html">TQSqlCursor</a> which already contain a list of fields. For example: <p> <pre> - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "Employee" ); // create cursor using the 'Employee' table - TQSqlField* f = cur.<a href="ntqsqlrecord.html#field">field</a>( "name" ); // use the 'name' field + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "Employee" ); // create cursor using the 'Employee' table + TQSqlField* f = cur.<a href="tqsqlrecord.html#field">field</a>( "name" ); // use the 'name' field f-><a href="#setValue">setValue</a>( "Dave" ); // set field value ... </pre> @@ -93,8 +93,8 @@ example: <p> In practice we rarely need to extract a pointer to a field at all. The previous example would normally be written: <p> <pre> - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "Employee" ); - cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "name", "Dave" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "Employee" ); + cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "name", "Dave" ); ... </pre> @@ -105,7 +105,7 @@ The previous example would normally be written: </h3> Constructs an empty field called <em>fieldName</em> of type <em>type</em>. -<h3 class=fn><a name="TQSqlField-2"></a>TQSqlField::TQSqlField ( const <a href="ntqsqlfield.html">TQSqlField</a> & other ) +<h3 class=fn><a name="TQSqlField-2"></a>TQSqlField::TQSqlField ( const <a href="tqsqlfield.html">TQSqlField</a> & other ) </h3> Constructs a copy of <em>other</em>. @@ -137,11 +137,11 @@ FALSE. <p> Returns the name of the field. <p>Example: <a href="sql.html#x2249">sql/overview/table4/main.cpp</a>. -<h3 class=fn><a href="ntqsqlfield.html">TQSqlField</a> & <a name="operator-eq"></a>TQSqlField::operator= ( const <a href="ntqsqlfield.html">TQSqlField</a> & other ) +<h3 class=fn><a href="tqsqlfield.html">TQSqlField</a> & <a name="operator-eq"></a>TQSqlField::operator= ( const <a href="tqsqlfield.html">TQSqlField</a> & other ) </h3> Sets the field equal to <em>other</em>. -<h3 class=fn>bool <a name="operator-eq-eq"></a>TQSqlField::operator== ( const <a href="ntqsqlfield.html">TQSqlField</a> & other ) const +<h3 class=fn>bool <a name="operator-eq-eq"></a>TQSqlField::operator== ( const <a href="tqsqlfield.html">TQSqlField</a> & other ) const </h3> Returns TRUE if the field is equal to <em>other</em>; otherwise returns FALSE. Fields are considered equal when the following field @@ -180,8 +180,8 @@ made to cast it to the proper type. This preserves the data type of the field in the case of assignment, e.g. a <a href="ntqstring.html">TQString</a> to an integer data type. For example: <p> <pre> - <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "Employee" ); // 'Employee' table - TQSqlField* f = cur.<a href="ntqsqlrecord.html#field">field</a>( "student_count" ); // an integer field + <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "Employee" ); // 'Employee' table + TQSqlField* f = cur.<a href="tqsqlrecord.html#field">field</a>( "student_count" ); // an integer field ... f-><a href="#setValue">setValue</a>( myLineEdit->text() ); // cast the line edit text to an integer </pre> diff --git a/doc/html/qsqlfieldinfo-members.html b/doc/html/tqsqlfieldinfo-members.html index 7782c4aa3..648ce03b0 100644 --- a/doc/html/qsqlfieldinfo-members.html +++ b/doc/html/tqsqlfieldinfo-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlfield.h:110 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlfield.h:110 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,27 +32,27 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlFieldInfo</h1> <p>This is the complete list of member functions for -<a href="qsqlfieldinfo.html">TQSqlFieldInfo</a>, including inherited members. +<a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a>, including inherited members. <ul> -<li><a href="qsqlfieldinfo.html#TQSqlFieldInfo">TQSqlFieldInfo</a>() -<li><a href="qsqlfieldinfo.html#~TQSqlFieldInfo">~TQSqlFieldInfo</a>() -<li><a href="qsqlfieldinfo.html#defaultValue">defaultValue</a>() -<li><a href="qsqlfieldinfo.html#isCalculated">isCalculated</a>() -<li><a href="qsqlfieldinfo.html#isGenerated">isGenerated</a>() -<li><a href="qsqlfieldinfo.html#isRequired">isRequired</a>() -<li><a href="qsqlfieldinfo.html#isTrim">isTrim</a>() -<li><a href="qsqlfieldinfo.html#length">length</a>() -<li><a href="qsqlfieldinfo.html#name">name</a>() -<li><a href="qsqlfieldinfo.html#operator-eq">operator=</a>() -<li><a href="qsqlfieldinfo.html#operator-eq-eq">operator==</a>() -<li><a href="qsqlfieldinfo.html#precision">precision</a>() -<li><a href="qsqlfieldinfo.html#setCalculated">setCalculated</a>() -<li><a href="qsqlfieldinfo.html#setGenerated">setGenerated</a>() -<li><a href="qsqlfieldinfo.html#setTrim">setTrim</a>() -<li><a href="qsqlfieldinfo.html#toField">toField</a>() -<li><a href="qsqlfieldinfo.html#type">type</a>() -<li><a href="qsqlfieldinfo.html#typeID">typeID</a>() +<li><a href="tqsqlfieldinfo.html#TQSqlFieldInfo">TQSqlFieldInfo</a>() +<li><a href="tqsqlfieldinfo.html#~TQSqlFieldInfo">~TQSqlFieldInfo</a>() +<li><a href="tqsqlfieldinfo.html#defaultValue">defaultValue</a>() +<li><a href="tqsqlfieldinfo.html#isCalculated">isCalculated</a>() +<li><a href="tqsqlfieldinfo.html#isGenerated">isGenerated</a>() +<li><a href="tqsqlfieldinfo.html#isRequired">isRequired</a>() +<li><a href="tqsqlfieldinfo.html#isTrim">isTrim</a>() +<li><a href="tqsqlfieldinfo.html#length">length</a>() +<li><a href="tqsqlfieldinfo.html#name">name</a>() +<li><a href="tqsqlfieldinfo.html#operator-eq">operator=</a>() +<li><a href="tqsqlfieldinfo.html#operator-eq-eq">operator==</a>() +<li><a href="tqsqlfieldinfo.html#precision">precision</a>() +<li><a href="tqsqlfieldinfo.html#setCalculated">setCalculated</a>() +<li><a href="tqsqlfieldinfo.html#setGenerated">setGenerated</a>() +<li><a href="tqsqlfieldinfo.html#setTrim">setTrim</a>() +<li><a href="tqsqlfieldinfo.html#toField">toField</a>() +<li><a href="tqsqlfieldinfo.html#type">type</a>() +<li><a href="tqsqlfieldinfo.html#typeID">typeID</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/qsqlfieldinfo.html b/doc/html/tqsqlfieldinfo.html index 19e834a56..64909fb3b 100644 --- a/doc/html/qsqlfieldinfo.html +++ b/doc/html/tqsqlfieldinfo.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlfield.cpp:304 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlfield.cpp:304 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQSqlFieldInfo class stores meta data associated with a SQL field. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlfield-h.html">ntqsqlfield.h</a>></tt> -<p><a href="qsqlfieldinfo-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlfield-h.html">tqsqlfield.h</a>></tt> +<p><a href="tqsqlfieldinfo-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlFieldInfo"><b>TQSqlFieldInfo</b></a> ( const TQString & name = TQString::null, TQVariant::Type typ = TQVariant::Invalid, int required = -1, int len = -1, int prec = -1, const TQVariant & defValue = TQVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )</li> @@ -65,7 +65,7 @@ The TQSqlFieldInfo class stores meta data associated with a SQL field. <p> <p> TQSqlFieldInfo objects only store meta data; field values are -stored in <a href="ntqsqlfield.html">TQSqlField</a> objects. +stored in <a href="tqsqlfield.html">TQSqlField</a> objects. <p> All values must be set in the constructor, and may be retrieved using <a href="#isRequired">isRequired</a>(), <a href="#type">type</a>(), <a href="#length">length</a>(), <a href="#precision">precision</a>(), <a href="#defaultValue">defaultValue</a>(), <a href="#name">name</a>(), <a href="#isGenerated">isGenerated</a>() and <a href="#typeID">typeID</a>(). @@ -93,25 +93,25 @@ no default value or it cannot be determined. <tr bgcolor="#f0f0f0"> <td valign="top"><em>typeID</em> <td valign="top">the internal typeID of the database system (only useful for low-level programming). 0 if unknown. <tr bgcolor="#d0d0d0"> <td valign="top"><em>generated</em> <td valign="top">TRUE indicates that this field should be -included in auto-generated SQL statments, e.g. in <a href="ntqsqlcursor.html">TQSqlCursor</a>. +included in auto-generated SQL statments, e.g. in <a href="tqsqlcursor.html">TQSqlCursor</a>. <tr bgcolor="#f0f0f0"> <td valign="top"><em>trim</em> <td valign="top">TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. <tr bgcolor="#d0d0d0"> <td valign="top"><em>calculated</em> <td valign="top">TRUE indicates that the value of this field is calculated. The value of calculated fields can by modified by subclassing TQSqlCursor and overriding -<a href="ntqsqlcursor.html#calculateField">TQSqlCursor::calculateField</a>(). +<a href="tqsqlcursor.html#calculateField">TQSqlCursor::calculateField</a>(). </table></center> -<h3 class=fn><a name="TQSqlFieldInfo-2"></a>TQSqlFieldInfo::TQSqlFieldInfo ( const <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> & other ) +<h3 class=fn><a name="TQSqlFieldInfo-2"></a>TQSqlFieldInfo::TQSqlFieldInfo ( const <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> & other ) </h3> Constructs a copy of <em>other</em>. -<h3 class=fn><a name="TQSqlFieldInfo-3"></a>TQSqlFieldInfo::TQSqlFieldInfo ( const <a href="ntqsqlfield.html">TQSqlField</a> & other, bool generated = TRUE ) +<h3 class=fn><a name="TQSqlFieldInfo-3"></a>TQSqlFieldInfo::TQSqlFieldInfo ( const <a href="tqsqlfield.html">TQSqlField</a> & other, bool generated = TRUE ) </h3> Creates a TQSqlFieldInfo object with the type and the name of the -<a href="ntqsqlfield.html">TQSqlField</a> <em>other</em>. If <em>generated</em> is TRUE this field will be -included in auto-generated SQL statments, e.g. in <a href="ntqsqlcursor.html">TQSqlCursor</a>. +<a href="tqsqlfield.html">TQSqlField</a> <em>other</em>. If <em>generated</em> is TRUE this field will be +included in auto-generated SQL statments, e.g. in <a href="tqsqlcursor.html">TQSqlCursor</a>. <h3 class=fn><a name="~TQSqlFieldInfo"></a>TQSqlFieldInfo::~TQSqlFieldInfo ()<tt> [virtual]</tt> </h3> @@ -132,7 +132,7 @@ Returns TRUE if the field is calculated; otherwise returns FALSE. <h3 class=fn>bool <a name="isGenerated"></a>TQSqlFieldInfo::isGenerated () const </h3> Returns TRUE if the field should be included in auto-generated -SQL statments, e.g. in <a href="ntqsqlcursor.html">TQSqlCursor</a>; otherwise returns FALSE. +SQL statments, e.g. in <a href="tqsqlcursor.html">TQSqlCursor</a>; otherwise returns FALSE. <p> <p>See also <a href="#setGenerated">setGenerated</a>(). <h3 class=fn>int <a name="isRequired"></a>TQSqlFieldInfo::isRequired () const @@ -161,11 +161,11 @@ be determined -1 is returned. Returns the name of the field in the SQL table. <p>Examples: <a href="sql.html#x2260">sql/overview/subclass3/main.cpp</a> and <a href="sql.html#x2264">sql/overview/subclass4/main.cpp</a>. -<h3 class=fn><a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> & <a name="operator-eq"></a>TQSqlFieldInfo::operator= ( const <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> & other ) +<h3 class=fn><a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> & <a name="operator-eq"></a>TQSqlFieldInfo::operator= ( const <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> & other ) </h3> Assigns <em>other</em> to this field info and returns a reference to it. -<h3 class=fn>bool <a name="operator-eq-eq"></a>TQSqlFieldInfo::operator== ( const <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> & f ) const +<h3 class=fn>bool <a name="operator-eq-eq"></a>TQSqlFieldInfo::operator== ( const <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> & f ) const </h3> Returns TRUE if this fieldinfo is equal to <em>f</em>; otherwise returns FALSE. @@ -181,13 +181,13 @@ or it cannot be determined. </h3> <em>calc</em> set to TRUE indicates that this field is a calculated field. The value of calculated fields can by modified by subclassing -<a href="ntqsqlcursor.html">TQSqlCursor</a> and overriding <a href="ntqsqlcursor.html#calculateField">TQSqlCursor::calculateField</a>(). +<a href="tqsqlcursor.html">TQSqlCursor</a> and overriding <a href="tqsqlcursor.html#calculateField">TQSqlCursor::calculateField</a>(). <p> <p>See also <a href="#isCalculated">isCalculated</a>(). <h3 class=fn>void <a name="setGenerated"></a>TQSqlFieldInfo::setGenerated ( bool gen )<tt> [virtual]</tt> </h3> <em>gen</em> set to FALSE indicates that this field should not appear -in auto-generated SQL statements (for example in <a href="ntqsqlcursor.html">TQSqlCursor</a>). +in auto-generated SQL statements (for example in <a href="tqsqlcursor.html">TQSqlCursor</a>). <p> <p>See also <a href="#isGenerated">isGenerated</a>(). <h3 class=fn>void <a name="setTrim"></a>TQSqlFieldInfo::setTrim ( bool trim )<tt> [virtual]</tt> @@ -197,9 +197,9 @@ character fields. This does not affect the field value but only its representation inside widgets. <p> <p>See also <a href="#isTrim">isTrim</a>(). -<h3 class=fn><a href="ntqsqlfield.html">TQSqlField</a> <a name="toField"></a>TQSqlFieldInfo::toField () const +<h3 class=fn><a href="tqsqlfield.html">TQSqlField</a> <a name="toField"></a>TQSqlFieldInfo::toField () const </h3> -Returns an empty <a href="ntqsqlfield.html">TQSqlField</a> based on the information in this +Returns an empty <a href="tqsqlfield.html">TQSqlField</a> based on the information in this TQSqlFieldInfo. <h3 class=fn><a href="ntqvariant.html#Type-enum">TQVariant::Type</a> <a name="type"></a>TQSqlFieldInfo::type () const diff --git a/doc/html/qsqlform-h.html b/doc/html/tqsqlform-h.html index 46126e802..984cd209c 100644 --- a/doc/html/qsqlform-h.html +++ b/doc/html/tqsqlform-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlform.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlform.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlform.h Include File</title> +<title>tqsqlform.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlform.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlform.h</h1> -<p>This is the verbatim text of the ntqsqlform.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlform.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** diff --git a/doc/html/qsqlform-members.html b/doc/html/tqsqlform-members.html index 0fd701171..ed0d58495 100644 --- a/doc/html/qsqlform-members.html +++ b/doc/html/tqsqlform-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlform.h:60 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlform.h:60 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,22 +32,22 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlForm</h1> <p>This is the complete list of member functions for -<a href="ntqsqlform.html">TQSqlForm</a>, including inherited members. +<a href="tqsqlform.html">TQSqlForm</a>, including inherited members. <ul> -<li><a href="ntqsqlform.html#TQSqlForm">TQSqlForm</a>() -<li><a href="ntqsqlform.html#~TQSqlForm">~TQSqlForm</a>() +<li><a href="tqsqlform.html#TQSqlForm">TQSqlForm</a>() +<li><a href="tqsqlform.html#~TQSqlForm">~TQSqlForm</a>() <li><a href="tqobject.html#blockSignals">blockSignals</a>() <li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() <li><a href="tqobject.html#child">child</a>() <li><a href="tqobject.html#childEvent">childEvent</a>() <li><a href="tqobject.html#children">children</a>() <li><a href="tqobject.html#className">className</a>() -<li><a href="ntqsqlform.html#clear">clear</a>() -<li><a href="ntqsqlform.html#clearValues">clearValues</a>() +<li><a href="tqsqlform.html#clear">clear</a>() +<li><a href="tqsqlform.html#clearValues">clearValues</a>() <li><a href="tqobject.html#connect">connect</a>() <li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="ntqsqlform.html#count">count</a>() +<li><a href="tqsqlform.html#count">count</a>() <li><a href="tqobject.html#customEvent">customEvent</a>() <li><a href="tqobject.html#deleteLater">deleteLater</a>() <li><a href="tqobject.html#destroyed">destroyed</a>() @@ -57,13 +57,13 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#dumpObjectTree">dumpObjectTree</a>() <li><a href="tqobject.html#event">event</a>() <li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="ntqsqlform.html#fieldToWidget">fieldToWidget</a>() +<li><a href="tqsqlform.html#fieldToWidget">fieldToWidget</a>() <li><a href="tqobject.html#highPriority">highPriority</a>() <li><a href="tqobject.html#inherits">inherits</a>() -<li><a href="ntqsqlform.html#insert">insert</a>() +<li><a href="tqsqlform.html#insert">insert</a>() <li><a href="tqobject.html#insertChild">insertChild</a>() <li><a href="tqobject.html#installEventFilter">installEventFilter</a>() -<li><a href="ntqsqlform.html#installPropertyMap">installPropertyMap</a>() +<li><a href="tqsqlform.html#installPropertyMap">installPropertyMap</a>() <li><a href="tqobject.html#isA">isA</a>() <li><a href="tqobject.html#isWidgetType">isWidgetType</a>() <li><a href="tqobject.html#killTimer">killTimer</a>() @@ -75,24 +75,24 @@ body { background: #ffffff; color: black; } <li><a href="tqobject.html#parent">parent</a>() <li><a href="tqobject.html#property">property</a>() <li><a href="tqobject.html#queryList">queryList</a>() -<li><a href="ntqsqlform.html#readField">readField</a>() -<li><a href="ntqsqlform.html#readFields">readFields</a>() -<li><a href="ntqsqlform.html#remove">remove</a>() +<li><a href="tqsqlform.html#readField">readField</a>() +<li><a href="tqsqlform.html#readFields">readFields</a>() +<li><a href="tqsqlform.html#remove">remove</a>() <li><a href="tqobject.html#removeChild">removeChild</a>() <li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() <li><a href="tqobject.html#sender">sender</a>() <li><a href="tqobject.html#setName">setName</a>() <li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="ntqsqlform.html#setRecord">setRecord</a>() +<li><a href="tqsqlform.html#setRecord">setRecord</a>() <li><a href="tqobject.html#signalsBlocked">signalsBlocked</a>() <li><a href="tqobject.html#startTimer">startTimer</a>() <li><a href="tqobject.html#timerEvent">timerEvent</a>() <li><a href="tqobject.html#tr">tr</a>() <li><a href="tqobject.html#trUtf8">trUtf8</a>() -<li><a href="ntqsqlform.html#widget">widget</a>() -<li><a href="ntqsqlform.html#widgetToField">widgetToField</a>() -<li><a href="ntqsqlform.html#writeField">writeField</a>() -<li><a href="ntqsqlform.html#writeFields">writeFields</a>() +<li><a href="tqsqlform.html#widget">widget</a>() +<li><a href="tqsqlform.html#widgetToField">widgetToField</a>() +<li><a href="tqsqlform.html#writeField">writeField</a>() +<li><a href="tqsqlform.html#writeFields">writeFields</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqlform.html b/doc/html/tqsqlform.html index 7140ba469..00cb1b2a2 100644 --- a/doc/html/ntqsqlform.html +++ b/doc/html/tqsqlform.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlform.cpp:61 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlform.cpp:61 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlForm class creates and manages data entry forms tied to SQL databases. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlform-h.html">ntqsqlform.h</a>></tt> +<p><tt>#include <<a href="tqsqlform-h.html">tqsqlform.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a>. -<p><a href="qsqlform-members.html">List of all member functions.</a> +<p><a href="tqsqlform-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlForm"><b>TQSqlForm</b></a> ( TQObject * parent = 0, const char * name = 0 )</li> @@ -86,22 +86,22 @@ the database's fields. the values in the editor widgets. </ul> <p> Note that a TQSqlForm does not access the database directly, but -most often via TQSqlFields which are part of a <a href="ntqsqlcursor.html">TQSqlCursor</a>. A -<a href="ntqsqlcursor.html#insert">TQSqlCursor::insert</a>(), <a href="ntqsqlcursor.html#update">TQSqlCursor::update</a>() or <a href="ntqsqlcursor.html#del">TQSqlCursor::del</a>() +most often via TQSqlFields which are part of a <a href="tqsqlcursor.html">TQSqlCursor</a>. A +<a href="tqsqlcursor.html#insert">TQSqlCursor::insert</a>(), <a href="tqsqlcursor.html#update">TQSqlCursor::update</a>() or <a href="tqsqlcursor.html#del">TQSqlCursor::del</a>() call is needed to actually write values to the database. <p> Some sample code to initialize a form successfully: <p> <pre> <a href="ntqlineedit.html">TQLineEdit</a> myEditor( this ); TQSqlForm myForm( this ); - <a href="ntqsqlcursor.html">TQSqlCursor</a> myCursor( "mytable" ); + <a href="tqsqlcursor.html">TQSqlCursor</a> myCursor( "mytable" ); // Execute a query to make the cursor valid - myCursor.<a href="ntqsqlcursor.html#select">select</a>(); + myCursor.<a href="tqsqlcursor.html#select">select</a>(); // Move the cursor to a valid record (the first record) - myCursor.<a href="ntqsqlquery.html#next">next</a>(); + myCursor.<a href="tqsqlquery.html#next">next</a>(); // Set the form's record pointer to the cursor's edit buffer (which // contains the current record's values) - myForm.<a href="#setRecord">setRecord</a>( myCursor.<a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() ); + myForm.<a href="#setRecord">setRecord</a>( myCursor.<a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() ); // Insert a field into the form that uses myEditor to edit the // field 'somefield' in 'mytable' @@ -114,15 +114,15 @@ call is needed to actually write values to the database. ... // Update the database myForm.<a href="#writeFields">writeFields</a>(); // Update the cursor's edit buffer from the form - myCursor.<a href="ntqsqlcursor.html#update">update</a>(); // Update the database from the cursor's buffer + myCursor.<a href="tqsqlcursor.html#update">update</a>(); // Update the database from the cursor's buffer </pre> <p> If you want to use custom editors for displaying and editing data -fields, you must install a custom <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>. The form +fields, you must install a custom <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>. The form uses this object to get or set the value of a widget. <p> Note that <a href="designer-manual.html">TQt Designer</a> provides a visual means of creating data-aware forms. -<p> <p>See also <a href="#installPropertyMap">installPropertyMap</a>(), <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>, and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="#installPropertyMap">installPropertyMap</a>(), <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>, and <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQSqlForm"></a>TQSqlForm::TQSqlForm ( <a href="tqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) @@ -147,7 +147,7 @@ FALSE), each field is also set to NULL. </h3> Returns the number of widgets in the form. -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="fieldToWidget"></a>TQSqlForm::fieldToWidget ( <a href="ntqsqlfield.html">TQSqlField</a> * field ) const +<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="fieldToWidget"></a>TQSqlForm::fieldToWidget ( <a href="tqsqlfield.html">TQSqlField</a> * field ) const </h3> Returns the widget that field <em>field</em> is mapped to. @@ -159,19 +159,19 @@ with an edit buffer, use <a href="#setRecord">setRecord</a>(). <p> <p>See also <a href="#setRecord">setRecord</a>(). <p>Examples: <a href="sql.html#x2225">sql/overview/form1/main.cpp</a> and <a href="sql.html#x2231">sql/overview/form2/main.cpp</a>. -<h3 class=fn>void <a name="insert-2"></a>TQSqlForm::insert ( <a href="ntqwidget.html">TQWidget</a> * widget, <a href="ntqsqlfield.html">TQSqlField</a> * field )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="insert-2"></a>TQSqlForm::insert ( <a href="ntqwidget.html">TQWidget</a> * widget, <a href="tqsqlfield.html">TQSqlField</a> * field )<tt> [virtual protected]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a <em>widget</em>, and the <em>field</em> it is to be mapped to, into the form. -<h3 class=fn>void <a name="installPropertyMap"></a>TQSqlForm::installPropertyMap ( <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> * pmap ) +<h3 class=fn>void <a name="installPropertyMap"></a>TQSqlForm::installPropertyMap ( <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> * pmap ) </h3> -Installs a custom <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>. This is useful if you plan to +Installs a custom <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>. This is useful if you plan to create your own custom editor widgets. <p> TQSqlForm takes ownership of <em>pmap</em>, so <em>pmap</em> is deleted when TQSqlForm goes out of scope. -<p> <p>See also <a href="ntqdatatable.html#installEditorFactory">TQDataTable::installEditorFactory</a>(). +<p> <p>See also <a href="tqdatatable.html#installEditorFactory">TQDataTable::installEditorFactory</a>(). <p>Example: <a href="sql.html#x2237">sql/overview/custom1/main.cpp</a>. <h3 class=fn>void <a name="readField"></a>TQSqlForm::readField ( <a href="ntqwidget.html">TQWidget</a> * widget )<tt> [virtual slot]</tt> @@ -195,7 +195,7 @@ form. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Removes <em>field</em> from the form. -<h3 class=fn>void <a name="setRecord"></a>TQSqlForm::setRecord ( <a href="ntqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setRecord"></a>TQSqlForm::setRecord ( <a href="tqsqlrecord.html">TQSqlRecord</a> * buf )<tt> [virtual]</tt> </h3> Sets <em>buf</em> as the record buffer for the form. To force the display of the data from <em>buf</em>, use <a href="#readFields">readFields</a>(). @@ -207,7 +207,7 @@ display of the data from <em>buf</em>, use <a href="#readFields">readFields</a>( Returns the <em>i</em>-th widget in the form. Useful for traversing the widgets in the form. -<h3 class=fn><a href="ntqsqlfield.html">TQSqlField</a> * <a name="widgetToField"></a>TQSqlForm::widgetToField ( <a href="ntqwidget.html">TQWidget</a> * widget ) const +<h3 class=fn><a href="tqsqlfield.html">TQSqlField</a> * <a name="widgetToField"></a>TQSqlForm::widgetToField ( <a href="ntqwidget.html">TQWidget</a> * widget ) const </h3> Returns the SQL field that widget <em>widget</em> is mapped to. @@ -220,8 +220,8 @@ mapped to. Nothing happens if no SQL field is mapped to the <em>widget</em>. </h3> Updates the SQL fields with values from the widgets they are mapped to. To actually update the database with the contents of -the record buffer, use <a href="ntqsqlcursor.html#insert">TQSqlCursor::insert</a>(), <a href="ntqsqlcursor.html#update">TQSqlCursor::update</a>() -or <a href="ntqsqlcursor.html#del">TQSqlCursor::del</a>() as appropriate. +the record buffer, use <a href="tqsqlcursor.html#insert">TQSqlCursor::insert</a>(), <a href="tqsqlcursor.html#update">TQSqlCursor::update</a>() +or <a href="tqsqlcursor.html#del">TQSqlCursor::del</a>() as appropriate. <p>Example: <a href="sql.html#x2234">sql/overview/form2/main.cpp</a>. <!-- eof --> diff --git a/doc/html/qsqlindex-h.html b/doc/html/tqsqlindex-h.html index ecc1b1969..fc30e1a31 100644 --- a/doc/html/qsqlindex-h.html +++ b/doc/html/tqsqlindex-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlindex.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlindex.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlindex.h Include File</title> +<title>tqsqlindex.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlindex.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlindex.h</h1> -<p>This is the verbatim text of the ntqsqlindex.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlindex.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -79,8 +79,8 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqstring.h" #include "ntqstringlist.h" -#include "ntqsqlfield.h" -#include "ntqsqlrecord.h" +#include "tqsqlfield.h" +#include "tqsqlrecord.h" #endif // QT_H #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) diff --git a/doc/html/tqsqlindex-members.html b/doc/html/tqsqlindex-members.html new file mode 100644 index 000000000..276e05e9f --- /dev/null +++ b/doc/html/tqsqlindex-members.html @@ -0,0 +1,75 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlindex.h:59 --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>TQSqlIndex Member List</title> +<style type="text/css"><!-- +fn { margin-left: 1cm; text-indent: -1cm; } +a:link { color: #004faf; text-decoration: none } +a:visited { color: #672967; text-decoration: none } +body { background: #ffffff; color: black; } +--></style> +</head> +<body> + +<table border="0" cellpadding="0" cellspacing="0" width="100%"> +<tr bgcolor="#E5E5E5"> +<td valign=center> + <a href="index.html"> +<font color="#004faf">Home</font></a> + | <a href="classes.html"> +<font color="#004faf">All Classes</font></a> + | <a href="mainclasses.html"> +<font color="#004faf">Main Classes</font></a> + | <a href="annotated.html"> +<font color="#004faf">Annotated</font></a> + | <a href="groups.html"> +<font color="#004faf">Grouped Classes</font></a> + | <a href="functions.html"> +<font color="#004faf">Functions</font></a> +</td> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlIndex</h1> + +<p>This is the complete list of member functions for +<a href="tqsqlindex.html">TQSqlIndex</a>, including inherited members. + +<ul> +<li><a href="tqsqlindex.html#TQSqlIndex">TQSqlIndex</a>() +<li><a href="tqsqlindex.html#~TQSqlIndex">~TQSqlIndex</a>() +<li><a href="tqsqlindex.html#append">append</a>() +<li><a href="tqsqlrecord.html#clear">clear</a>() +<li><a href="tqsqlrecord.html#clearValues">clearValues</a>() +<li><a href="tqsqlrecord.html#contains">contains</a>() +<li><a href="tqsqlrecord.html#count">count</a>() +<li><a href="tqsqlindex.html#cursorName">cursorName</a>() +<li><a href="tqsqlrecord.html#field">field</a>() +<li><a href="tqsqlrecord.html#fieldName">fieldName</a>() +<li><a href="tqsqlindex.html#fromStringList">fromStringList</a>() +<li><a href="tqsqlrecord.html#insert">insert</a>() +<li><a href="tqsqlindex.html#isDescending">isDescending</a>() +<li><a href="tqsqlrecord.html#isEmpty">isEmpty</a>() +<li><a href="tqsqlrecord.html#isGenerated">isGenerated</a>() +<li><a href="tqsqlrecord.html#isNull">isNull</a>() +<li><a href="tqsqlindex.html#name">name</a>() +<li><a href="tqsqlindex.html#operator-eq">operator=</a>() +<li><a href="tqsqlrecord.html#position">position</a>() +<li><a href="tqsqlrecord.html#remove">remove</a>() +<li><a href="tqsqlindex.html#setCursorName">setCursorName</a>() +<li><a href="tqsqlindex.html#setDescending">setDescending</a>() +<li><a href="tqsqlrecord.html#setGenerated">setGenerated</a>() +<li><a href="tqsqlindex.html#setName">setName</a>() +<li><a href="tqsqlrecord.html#setNull">setNull</a>() +<li><a href="tqsqlrecord.html#setValue">setValue</a>() +<li><a href="tqsqlrecord.html#toString">toString</a>() +<li><a href="tqsqlrecord.html#toStringList">toStringList</a>() +<li><a href="tqsqlrecord.html#value">value</a>() +</ul> +<!-- eof --> +<p><address><hr><div align=center> +<table width=100% cellspacing=0 border=0><tr> +<td>Copyright © 2007 +<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> +<td align=right><div align=right>TQt 3.3.8</div> +</table></div></address></body> +</html> diff --git a/doc/html/ntqsqlindex.html b/doc/html/tqsqlindex.html index 453e195c5..334fdb838 100644 --- a/doc/html/ntqsqlindex.html +++ b/doc/html/tqsqlindex.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlindex.cpp:43 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlindex.cpp:43 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlIndex class provides functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlindex-h.html">ntqsqlindex.h</a>></tt> -<p>Inherits <a href="ntqsqlrecord.html">TQSqlRecord</a>. -<p><a href="qsqlindex-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlindex-h.html">tqsqlindex.h</a>></tt> +<p>Inherits <a href="tqsqlrecord.html">TQSqlRecord</a>. +<p><a href="tqsqlindex-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlIndex"><b>TQSqlIndex</b></a> ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )</li> @@ -60,15 +60,15 @@ describe TQSqlCursor and TQSqlDatabase indexes. The TQSqlIndex class provides functions to manipulate and -describe <a href="ntqsqlcursor.html">TQSqlCursor</a> and <a href="ntqsqldatabase.html">TQSqlDatabase</a> indexes. +describe <a href="tqsqlcursor.html">TQSqlCursor</a> and <a href="tqsqldatabase.html">TQSqlDatabase</a> indexes. <p> <p> This class is used to describe and manipulate TQSqlCursor and TQSqlDatabase indexes. An index refers to a single table or view in a database. Information about the fields that comprise the index can be used to generate SQL statements, or to affect the -behavior of a <a href="ntqsqlcursor.html">TQSqlCursor</a> object. -<p> Normally, TQSqlIndex objects are created by <a href="ntqsqldatabase.html">TQSqlDatabase</a> or +behavior of a <a href="tqsqlcursor.html">TQSqlCursor</a> object. +<p> Normally, TQSqlIndex objects are created by <a href="tqsqldatabase.html">TQSqlDatabase</a> or TQSqlCursor. <p>See also <a href="database.html">Database Classes</a>. @@ -78,7 +78,7 @@ TQSqlCursor. Constructs an empty index using the cursor name <em>cursorname</em> and index name <em>name</em>. -<h3 class=fn><a name="TQSqlIndex-2"></a>TQSqlIndex::TQSqlIndex ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & other ) +<h3 class=fn><a name="TQSqlIndex-2"></a>TQSqlIndex::TQSqlIndex ( const <a href="tqsqlindex.html">TQSqlIndex</a> & other ) </h3> Constructs a copy of <em>other</em>. @@ -86,13 +86,13 @@ Constructs a copy of <em>other</em>. </h3> Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="append"></a>TQSqlIndex::append ( const <a href="ntqsqlfield.html">TQSqlField</a> & field )<tt> [virtual]</tt> +<h3 class=fn>void <a name="append"></a>TQSqlIndex::append ( const <a href="tqsqlfield.html">TQSqlField</a> & field )<tt> [virtual]</tt> </h3> Appends the field <em>field</em> to the list of indexed fields. The field is appended with an ascending sort order. -<p>Reimplemented from <a href="ntqsqlrecord.html#append">TQSqlRecord</a>. -<h3 class=fn>void <a name="append-2"></a>TQSqlIndex::append ( const <a href="ntqsqlfield.html">TQSqlField</a> & field, bool desc )<tt> [virtual]</tt> +<p>Reimplemented from <a href="tqsqlrecord.html#append">TQSqlRecord</a>. +<h3 class=fn>void <a name="append-2"></a>TQSqlIndex::append ( const <a href="tqsqlfield.html">TQSqlField</a> & field, bool desc )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Appends the field <em>field</em> to the list of indexed fields. The @@ -104,14 +104,14 @@ TRUE. <p> Returns the name of the cursor which the index is associated with. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> <a name="fromStringList"></a>TQSqlIndex::fromStringList ( const <a href="ntqstringlist.html">TQStringList</a> & l, const <a href="ntqsqlcursor.html">TQSqlCursor</a> * cursor )<tt> [static]</tt> +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="fromStringList"></a>TQSqlIndex::fromStringList ( const <a href="ntqstringlist.html">TQStringList</a> & l, const <a href="tqsqlcursor.html">TQSqlCursor</a> * cursor )<tt> [static]</tt> </h3> Returns an index based on the field descriptions in <em>l</em> and the cursor <em>cursor</em>. The field descriptions should be in the same -format that <a href="ntqsqlrecord.html#toStringList">toStringList</a>() produces, for example, a surname field +format that <a href="tqsqlrecord.html#toStringList">toStringList</a>() produces, for example, a surname field in the people table might be in one of these forms: "surname", "surname DESC" or "people.surname ASC". -<p> <p>See also <a href="ntqsqlrecord.html#toStringList">toStringList</a>(). +<p> <p>See also <a href="tqsqlrecord.html#toStringList">toStringList</a>(). <h3 class=fn>bool <a name="isDescending"></a>TQSqlIndex::isDescending ( int i ) const </h3> @@ -123,7 +123,7 @@ order; otherwise returns FALSE. <p> Returns the name of the index. -<h3 class=fn><a href="ntqsqlindex.html">TQSqlIndex</a> & <a name="operator-eq"></a>TQSqlIndex::operator= ( const <a href="ntqsqlindex.html">TQSqlIndex</a> & other ) +<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> & <a name="operator-eq"></a>TQSqlIndex::operator= ( const <a href="tqsqlindex.html">TQSqlIndex</a> & other ) </h3> Sets the index equal to <em>other</em>. diff --git a/doc/html/qsqlpropertymap-h.html b/doc/html/tqsqlpropertymap-h.html index 299e5ee5f..22ec16c5d 100644 --- a/doc/html/qsqlpropertymap-h.html +++ b/doc/html/tqsqlpropertymap-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlpropertymap.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlpropertymap.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlpropertymap.h Include File</title> +<title>tqsqlpropertymap.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlpropertymap.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlpropertymap.h</h1> -<p>This is the verbatim text of the ntqsqlpropertymap.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlpropertymap.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** diff --git a/doc/html/qsqlpropertymap-members.html b/doc/html/tqsqlpropertymap-members.html index a7724e3af..b0bc357ab 100644 --- a/doc/html/qsqlpropertymap-members.html +++ b/doc/html/tqsqlpropertymap-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlpropertymap.h:50 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlpropertymap.h:50 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,17 +32,17 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlPropertyMap</h1> <p>This is the complete list of member functions for -<a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>, including inherited members. +<a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>, including inherited members. <ul> -<li><a href="ntqsqlpropertymap.html#TQSqlPropertyMap">TQSqlPropertyMap</a>() -<li><a href="ntqsqlpropertymap.html#~TQSqlPropertyMap">~TQSqlPropertyMap</a>() -<li><a href="ntqsqlpropertymap.html#defaultMap">defaultMap</a>() -<li><a href="ntqsqlpropertymap.html#insert">insert</a>() -<li><a href="ntqsqlpropertymap.html#installDefaultMap">installDefaultMap</a>() -<li><a href="ntqsqlpropertymap.html#property">property</a>() -<li><a href="ntqsqlpropertymap.html#remove">remove</a>() -<li><a href="ntqsqlpropertymap.html#setProperty">setProperty</a>() +<li><a href="tqsqlpropertymap.html#TQSqlPropertyMap">TQSqlPropertyMap</a>() +<li><a href="tqsqlpropertymap.html#~TQSqlPropertyMap">~TQSqlPropertyMap</a>() +<li><a href="tqsqlpropertymap.html#defaultMap">defaultMap</a>() +<li><a href="tqsqlpropertymap.html#insert">insert</a>() +<li><a href="tqsqlpropertymap.html#installDefaultMap">installDefaultMap</a>() +<li><a href="tqsqlpropertymap.html#property">property</a>() +<li><a href="tqsqlpropertymap.html#remove">remove</a>() +<li><a href="tqsqlpropertymap.html#setProperty">setProperty</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqlpropertymap.html b/doc/html/tqsqlpropertymap.html index 4f2b65864..bd2c0771e 100644 --- a/doc/html/ntqsqlpropertymap.html +++ b/doc/html/tqsqlpropertymap.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlpropertymap.cpp:53 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlpropertymap.cpp:53 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQSqlPropertyMap class is used to map widgets to SQL fields. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlpropertymap-h.html">ntqsqlpropertymap.h</a>></tt> -<p><a href="qsqlpropertymap-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlpropertymap-h.html">tqsqlpropertymap.h</a>></tt> +<p><a href="tqsqlpropertymap-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlPropertyMap"><b>TQSqlPropertyMap</b></a> ()</li> @@ -64,8 +64,8 @@ insert and extract values to/from the editor. <p> For example, a <a href="ntqlineedit.html">TQLineEdit</a> can be used to edit text strings and other data types in TQDataTables or TQSqlForms. Several properties are defined in TQLineEdit, but only the <em>text</em> property is used to -insert and extract text from a TQLineEdit. Both <a href="ntqdatatable.html">TQDataTable</a> and -<a href="ntqsqlform.html">TQSqlForm</a> use the global TQSqlPropertyMap for inserting and +insert and extract text from a TQLineEdit. Both <a href="tqdatatable.html">TQDataTable</a> and +<a href="tqsqlform.html">TQSqlForm</a> use the global TQSqlPropertyMap for inserting and extracting values to and from an editor widget. The global property map defines several common widgets and properties that are suitable for many applications. You can add and remove widget @@ -75,28 +75,28 @@ TQSqlForm, you must install your own TQSqlPropertyMap for that table or form. Example: <p> <pre> TQSqlPropertyMap *myMap = new TQSqlPropertyMap(); - <a href="ntqsqlform.html">TQSqlForm</a> *myForm = new <a href="ntqsqlform.html">TQSqlForm</a>( this ); + <a href="tqsqlform.html">TQSqlForm</a> *myForm = new <a href="tqsqlform.html">TQSqlForm</a>( this ); MyEditor myEditor( this ); // Set the TQSqlForm's record buffer to the update buffer of // a pre-existing TQSqlCursor called 'cur'. - myForm-><a href="ntqsqlform.html#setRecord">setRecord</a>( cur->primeUpdate() ); + myForm-><a href="tqsqlform.html#setRecord">setRecord</a>( cur->primeUpdate() ); // Install the customized map myMap-><a href="#insert">insert</a>( "MyEditor", "content" ); - myForm-><a href="ntqsqlform.html#installPropertyMap">installPropertyMap</a>( myMap ); // myForm now owns myMap + myForm-><a href="tqsqlform.html#installPropertyMap">installPropertyMap</a>( myMap ); // myForm now owns myMap ... // Insert a field into the form that uses a myEditor to edit the // field 'somefield' - myForm-><a href="ntqsqlform.html#insert">insert</a>( &myEditor, "somefield" ); + myForm-><a href="tqsqlform.html#insert">insert</a>( &myEditor, "somefield" ); // Update myEditor with the value from the mapped database field - myForm-><a href="ntqsqlform.html#readFields">readFields</a>(); + myForm-><a href="tqsqlform.html#readFields">readFields</a>(); ... // Let the user edit the form ... // Update the database fields with the values in the form - myForm-><a href="ntqsqlform.html#writeFields">writeFields</a>(); + myForm-><a href="tqsqlform.html#writeFields">writeFields</a>(); ... </pre> @@ -111,7 +111,7 @@ new default map.) ... </pre> -<p> <p>See also <a href="ntqdatatable.html">TQDataTable</a>, <a href="ntqsqlform.html">TQSqlForm</a>, <a href="ntqsqleditorfactory.html">TQSqlEditorFactory</a>, and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="tqdatatable.html">TQDataTable</a>, <a href="tqsqlform.html">TQSqlForm</a>, <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a>, and <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQSqlPropertyMap"></a>TQSqlPropertyMap::TQSqlPropertyMap () @@ -154,10 +154,10 @@ new default map.) Destroys the TQSqlPropertyMap. <p> Note that if the TQSqlPropertyMap is installed with installPropertyMap() the object it was installed into, e.g. the -<a href="ntqsqlform.html">TQSqlForm</a>, takes ownership and will delete the TQSqlPropertyMap when +<a href="tqsqlform.html">TQSqlForm</a>, takes ownership and will delete the TQSqlPropertyMap when necessary. -<h3 class=fn><a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> * <a name="defaultMap"></a>TQSqlPropertyMap::defaultMap ()<tt> [static]</tt> +<h3 class=fn><a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> * <a name="defaultMap"></a>TQSqlPropertyMap::defaultMap ()<tt> [static]</tt> </h3> Returns the application global TQSqlPropertyMap. @@ -167,10 +167,10 @@ Insert a new classname/property pair, which is used for custom SQL field editors. There <em>must</em> be a <tt>TQ_PROPERTY</tt> clause in the <em>classname</em> class declaration for the <em>property</em>. <p>Example: <a href="sql.html#x2239">sql/overview/custom1/main.cpp</a>. -<h3 class=fn>void <a name="installDefaultMap"></a>TQSqlPropertyMap::installDefaultMap ( <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a> * map )<tt> [static]</tt> +<h3 class=fn>void <a name="installDefaultMap"></a>TQSqlPropertyMap::installDefaultMap ( <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a> * map )<tt> [static]</tt> </h3> Replaces the global default property map with <em>map</em>. All -<a href="ntqdatatable.html">TQDataTable</a> and <a href="ntqsqlform.html">TQSqlForm</a> instantiations will use this new map for +<a href="tqdatatable.html">TQDataTable</a> and <a href="tqsqlform.html">TQSqlForm</a> instantiations will use this new map for inserting and extracting values to and from editors. <em>TQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.</em> diff --git a/doc/html/qsqlquery-h.html b/doc/html/tqsqlquery-h.html index 690576bde..f012751b8 100644 --- a/doc/html/qsqlquery-h.html +++ b/doc/html/tqsqlquery-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlquery.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlquery.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlquery.h Include File</title> +<title>tqsqlquery.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlquery.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlquery.h</h1> -<p>This is the verbatim text of the ntqsqlquery.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlquery.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -81,9 +81,9 @@ body { background: #ffffff; color: black; } #include "ntqstring.h" #include "ntqvariant.h" #include "ntqvaluelist.h" -#include "ntqsqlerror.h" -#include "ntqsqlfield.h" -#include "ntqsql.h" +#include "tqsqlerror.h" +#include "tqsqlfield.h" +#include "tqsql.h" #endif // QT_H #ifndef TQT_NO_SQL diff --git a/doc/html/tqsqlquery-members.html b/doc/html/tqsqlquery-members.html new file mode 100644 index 000000000..c96007d75 --- /dev/null +++ b/doc/html/tqsqlquery-members.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlquery.h:69 --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>TQSqlQuery Member List</title> +<style type="text/css"><!-- +fn { margin-left: 1cm; text-indent: -1cm; } +a:link { color: #004faf; text-decoration: none } +a:visited { color: #672967; text-decoration: none } +body { background: #ffffff; color: black; } +--></style> +</head> +<body> + +<table border="0" cellpadding="0" cellspacing="0" width="100%"> +<tr bgcolor="#E5E5E5"> +<td valign=center> + <a href="index.html"> +<font color="#004faf">Home</font></a> + | <a href="classes.html"> +<font color="#004faf">All Classes</font></a> + | <a href="mainclasses.html"> +<font color="#004faf">Main Classes</font></a> + | <a href="annotated.html"> +<font color="#004faf">Annotated</font></a> + | <a href="groups.html"> +<font color="#004faf">Grouped Classes</font></a> + | <a href="functions.html"> +<font color="#004faf">Functions</font></a> +</td> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlQuery</h1> + +<p>This is the complete list of member functions for +<a href="tqsqlquery.html">TQSqlQuery</a>, including inherited members. + +<ul> +<li><a href="tqsqlquery.html#TQSqlQuery">TQSqlQuery</a>() +<li><a href="tqsqlquery.html#~TQSqlQuery">~TQSqlQuery</a>() +<li><a href="tqsqlquery.html#addBindValue">addBindValue</a>() +<li><a href="tqsqlquery.html#afterSeek">afterSeek</a>() +<li><a href="tqsqlquery.html#at">at</a>() +<li><a href="tqsqlquery.html#beforeSeek">beforeSeek</a>() +<li><a href="tqsqlquery.html#bindValue">bindValue</a>() +<li><a href="tqsqlquery.html#boundValue">boundValue</a>() +<li><a href="tqsqlquery.html#boundValues">boundValues</a>() +<li><a href="tqsqlquery.html#driver">driver</a>() +<li><a href="tqsqlquery.html#exec">exec</a>() +<li><a href="tqsqlquery.html#executedQuery">executedQuery</a>() +<li><a href="tqsqlquery.html#first">first</a>() +<li><a href="tqsqlquery.html#isActive">isActive</a>() +<li><a href="tqsqlquery.html#isForwardOnly">isForwardOnly</a>() +<li><a href="tqsqlquery.html#isNull">isNull</a>() +<li><a href="tqsqlquery.html#isSelect">isSelect</a>() +<li><a href="tqsqlquery.html#isValid">isValid</a>() +<li><a href="tqsqlquery.html#last">last</a>() +<li><a href="tqsqlquery.html#lastError">lastError</a>() +<li><a href="tqsqlquery.html#lastQuery">lastQuery</a>() +<li><a href="tqsqlquery.html#next">next</a>() +<li><a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() +<li><a href="tqsqlquery.html#operator-eq">operator=</a>() +<li><a href="tqsqlquery.html#prepare">prepare</a>() +<li><a href="tqsqlquery.html#prev">prev</a>() +<li><a href="tqsqlquery.html#result">result</a>() +<li><a href="tqsqlquery.html#seek">seek</a>() +<li><a href="tqsqlquery.html#setForwardOnly">setForwardOnly</a>() +<li><a href="tqsqlquery.html#size">size</a>() +<li><a href="tqsqlquery.html#value">value</a>() +</ul> +<!-- eof --> +<p><address><hr><div align=center> +<table width=100% cellspacing=0 border=0><tr> +<td>Copyright © 2007 +<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> +<td align=right><div align=right>TQt 3.3.8</div> +</table></div></address></body> +</html> diff --git a/doc/html/ntqsqlquery.html b/doc/html/tqsqlquery.html index 9cda539c0..56e8929f5 100644 --- a/doc/html/ntqsqlquery.html +++ b/doc/html/tqsqlquery.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlquery.cpp:79 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlquery.cpp:79 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlQuery class provides a means of executing and manipulating SQL statements. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlquery-h.html">ntqsqlquery.h</a>></tt> -<p>Inherited by <a href="ntqsqlcursor.html">TQSqlCursor</a>. -<p><a href="qsqlquery-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlquery-h.html">tqsqlquery.h</a>></tt> +<p>Inherited by <a href="tqsqlcursor.html">TQSqlCursor</a>. +<p><a href="tqsqlquery-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlQuery"><b>TQSqlQuery</b></a> ( TQSqlResult * r )</li> @@ -93,7 +93,7 @@ manipulating SQL statements. <p> TQSqlQuery encapsulates the functionality involved in creating, navigating and retrieving data from SQL queries which are executed -on a <a href="ntqsqldatabase.html">TQSqlDatabase</a>. It can be used to execute DML (data +on a <a href="tqsqldatabase.html">TQSqlDatabase</a>. It can be used to execute DML (data manipulation language) statements, e.g. <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt> and <tt>DELETE</tt>, and also DDL (data definition language) statements, e.g. <tt>CREATE TABLE</tt>. It can also be used to execute database-specific commands which are not standard SQL @@ -132,9 +132,9 @@ TQVariants. <p> To access the data returned by a query, use the value() method. Each field in the data returned by a SELECT statement is accessed by passing the field's position in the statement, starting from 0. -Information about the fields can be obtained via <a href="ntqsqldatabase.html#record">TQSqlDatabase::record</a>(). +Information about the fields can be obtained via <a href="tqsqldatabase.html#record">TQSqlDatabase::record</a>(). For the sake of efficiency there are no functions to access a field -by name. (The <a href="ntqsqlcursor.html">TQSqlCursor</a> class provides a higher-level interface +by name. (The <a href="tqsqlcursor.html">TQSqlCursor</a> class provides a higher-level interface with field access by name and automatic SQL generation.) <p> TQSqlQuery supports prepared query execution and the binding of parameter values to placeholders. Some databases don't support @@ -176,7 +176,7 @@ binding approaches. <b>Note:</b> Using positional binding with named placeholders will only work if the database supports prepared queries. This can be -checked with <a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>() using TQSqlDriver::PreparedQueries +checked with <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>() using TQSqlDriver::PreparedQueries as argument for driver feature. <p> <b>Binding values using positional placeholders #1</b> <pre> @@ -212,29 +212,29 @@ the out parameter. int i = query.<a href="#boundValue">boundValue</a>( 1 ).toInt(); // i is 65. </pre> -<p> <p>See also <a href="ntqsqldatabase.html">TQSqlDatabase</a>, <a href="ntqsqlcursor.html">TQSqlCursor</a>, <a href="ntqvariant.html">TQVariant</a>, and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="tqsqldatabase.html">TQSqlDatabase</a>, <a href="tqsqlcursor.html">TQSqlCursor</a>, <a href="ntqvariant.html">TQVariant</a>, and <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQSqlQuery"></a>TQSqlQuery::TQSqlQuery ( <a href="ntqsqlresult.html">TQSqlResult</a> * r ) +<h3 class=fn><a name="TQSqlQuery"></a>TQSqlQuery::TQSqlQuery ( <a href="tqsqlresult.html">TQSqlResult</a> * r ) </h3> -Creates a TQSqlQuery object which uses the <a href="ntqsqlresult.html">TQSqlResult</a> <em>r</em> to +Creates a TQSqlQuery object which uses the <a href="tqsqlresult.html">TQSqlResult</a> <em>r</em> to communicate with a database. -<h3 class=fn><a name="TQSqlQuery-2"></a>TQSqlQuery::TQSqlQuery ( const <a href="ntqstring.html">TQString</a> & query = TQString::null, <a href="ntqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) +<h3 class=fn><a name="TQSqlQuery-2"></a>TQSqlQuery::TQSqlQuery ( const <a href="ntqstring.html">TQString</a> & query = TQString::null, <a href="tqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) </h3> Creates a TQSqlQuery object using the SQL <em>query</em> and the database <em>db</em>. If <em>db</em> is 0, (the default), the application's default database is used. If <em>query</em> is not a null string, it will be executed. -<p> <p>See also <a href="ntqsqldatabase.html">TQSqlDatabase</a>. +<p> <p>See also <a href="tqsqldatabase.html">TQSqlDatabase</a>. -<h3 class=fn>explicit <a name="TQSqlQuery-3"></a>TQSqlQuery::TQSqlQuery ( <a href="ntqsqldatabase.html">TQSqlDatabase</a> * db ) +<h3 class=fn>explicit <a name="TQSqlQuery-3"></a>TQSqlQuery::TQSqlQuery ( <a href="tqsqldatabase.html">TQSqlDatabase</a> * db ) </h3> Creates a TQSqlQuery object using the database <em>db</em>. If <em>db</em> is 0, the application's default database is used. -<p> <p>See also <a href="ntqsqldatabase.html">TQSqlDatabase</a>. +<p> <p>See also <a href="tqsqldatabase.html">TQSqlDatabase</a>. -<h3 class=fn><a name="TQSqlQuery-4"></a>TQSqlQuery::TQSqlQuery ( const <a href="ntqsqlquery.html">TQSqlQuery</a> & other ) +<h3 class=fn><a name="TQSqlQuery-4"></a>TQSqlQuery::TQSqlQuery ( const <a href="tqsqlquery.html">TQSqlQuery</a> & other ) </h3> Constructs a copy of <em>other</em>. @@ -242,19 +242,19 @@ Constructs a copy of <em>other</em>. </h3> Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="addBindValue"></a>TQSqlQuery::addBindValue ( const <a href="ntqvariant.html">TQVariant</a> & val, <a href="ntqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) +<h3 class=fn>void <a name="addBindValue"></a>TQSqlQuery::addBindValue ( const <a href="ntqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) </h3> Adds the value <em>val</em> to the list of values when using positional value binding. The order of the <a href="#addBindValue">addBindValue</a>() calls determines which placeholder a value will be bound to in the prepared query. -If <em>type</em> is <a href="ntqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="ntqsql.html#ParameterType-enum">TQSql::InOut</a>, the placeholder will +If <em>type</em> is <a href="tqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="tqsql.html#ParameterType-enum">TQSql::InOut</a>, the placeholder will be overwritten with data from the database after the <a href="#exec">exec</a>() call. <p> <p>See also <a href="#bindValue">bindValue</a>(), <a href="#prepare">prepare</a>(), and <a href="#exec">exec</a>(). <h3 class=fn>void <a name="addBindValue-2"></a>TQSqlQuery::addBindValue ( const <a href="ntqvariant.html">TQVariant</a> & val ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Binds the placeholder with type <a href="ntqsql.html#ParameterType-enum">TQSql::In</a>. +<p> Binds the placeholder with type <a href="tqsql.html#ParameterType-enum">TQSql::In</a>. <h3 class=fn>void <a name="afterSeek"></a>TQSqlQuery::afterSeek ()<tt> [virtual protected]</tt> </h3> @@ -276,31 +276,31 @@ Protected virtual function called before the internal record pointer is moved to a new record. The default implementation does nothing. -<h3 class=fn>void <a name="bindValue"></a>TQSqlQuery::bindValue ( const <a href="ntqstring.html">TQString</a> & placeholder, const <a href="ntqvariant.html">TQVariant</a> & val, <a href="ntqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) +<h3 class=fn>void <a name="bindValue"></a>TQSqlQuery::bindValue ( const <a href="ntqstring.html">TQString</a> & placeholder, const <a href="ntqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) </h3> Set the placeholder <em>placeholder</em> to be bound to value <em>val</em> in the prepared statement. Note that the placeholder mark (e.g <tt>:</tt>) must be included when specifying the placeholder name. If <em>type</em> -is <a href="ntqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="ntqsql.html#ParameterType-enum">TQSql::InOut</a>, the placeholder will be +is <a href="tqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="tqsql.html#ParameterType-enum">TQSql::InOut</a>, the placeholder will be overwritten with data from the database after the <a href="#exec">exec</a>() call. <p> <p>See also <a href="#addBindValue">addBindValue</a>(), <a href="#prepare">prepare</a>(), and <a href="#exec">exec</a>(). <h3 class=fn>void <a name="bindValue-2"></a>TQSqlQuery::bindValue ( const <a href="ntqstring.html">TQString</a> & placeholder, const <a href="ntqvariant.html">TQVariant</a> & val ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Binds the placeholder with type <a href="ntqsql.html#ParameterType-enum">TQSql::In</a>. +<p> Binds the placeholder with type <a href="tqsql.html#ParameterType-enum">TQSql::In</a>. <h3 class=fn>void <a name="bindValue-3"></a>TQSqlQuery::bindValue ( int pos, const <a href="ntqvariant.html">TQVariant</a> & val ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Binds the placeholder at position <em>pos</em> with type <a href="ntqsql.html#ParameterType-enum">TQSql::In</a>. +<p> Binds the placeholder at position <em>pos</em> with type <a href="tqsql.html#ParameterType-enum">TQSql::In</a>. -<h3 class=fn>void <a name="bindValue-4"></a>TQSqlQuery::bindValue ( int pos, const <a href="ntqvariant.html">TQVariant</a> & val, <a href="ntqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) +<h3 class=fn>void <a name="bindValue-4"></a>TQSqlQuery::bindValue ( int pos, const <a href="ntqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Set the placeholder in position <em>pos</em> to be bound to value <em>val</em> in the prepared statement. Field numbering starts at 0. If <em>type</em> -is <a href="ntqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="ntqsql.html#ParameterType-enum">TQSql::InOut</a>, the placeholder will be +is <a href="tqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="tqsql.html#ParameterType-enum">TQSql::InOut</a>, the placeholder will be overwritten with data from the database after the <a href="#exec">exec</a>() call. <p> <p>See also <a href="#addBindValue">addBindValue</a>(), <a href="#prepare">prepare</a>(), and <a href="#exec">exec</a>(). @@ -338,7 +338,7 @@ Returns a map of the bound values. </pre> -<h3 class=fn>const <a href="ntqsqldriver.html">TQSqlDriver</a> * <a name="driver"></a>TQSqlQuery::driver () const +<h3 class=fn>const <a href="tqsqldriver.html">TQSqlDriver</a> * <a name="driver"></a>TQSqlQuery::driver () const </h3> Returns the database driver associated with the query. @@ -426,11 +426,11 @@ set to an invalid position and FALSE is returned. <p> <p>See also <a href="#next">next</a>(), <a href="#prev">prev</a>(), <a href="#first">first</a>(), <a href="#seek">seek</a>(), <a href="#at">at</a>(), <a href="#isActive">isActive</a>(), and <a href="#isValid">isValid</a>(). <p>Example: <a href="sql.html#x2172">sql/overview/navigating/main.cpp</a>. -<h3 class=fn><a href="ntqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlQuery::lastError () const +<h3 class=fn><a href="tqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlQuery::lastError () const </h3> Returns error information about the last error (if any) that occurred. -<p> <p>See also <a href="ntqsqlerror.html">TQSqlError</a>. +<p> <p>See also <a href="tqsqlerror.html">TQSqlError</a>. <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="lastQuery"></a>TQSqlQuery::lastQuery () const </h3> @@ -466,10 +466,10 @@ Returns the number of rows affected by the result's SQL statement, or -1 if it cannot be determined. Note that for <tt>SELECT</tt> statements, the value is undefined; see <a href="#size">size</a>() instead. If the query is not active (<a href="#isActive">isActive</a>() returns FALSE), -1 is returned. -<p> <p>See also <a href="#size">size</a>() and <a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(). +<p> <p>See also <a href="#size">size</a>() and <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(). <p>Examples: <a href="sql.html#x2164">sql/overview/basicbrowsing2/main.cpp</a> and <a href="sql.html#x2168">sql/overview/basicdatamanip/main.cpp</a>. -<h3 class=fn><a href="ntqsqlquery.html">TQSqlQuery</a> & <a name="operator-eq"></a>TQSqlQuery::operator= ( const <a href="ntqsqlquery.html">TQSqlQuery</a> & other ) +<h3 class=fn><a href="tqsqlquery.html">TQSqlQuery</a> & <a name="operator-eq"></a>TQSqlQuery::operator= ( const <a href="tqsqlquery.html">TQSqlQuery</a> & other ) </h3> Assigns <em>other</em> to the query. @@ -502,7 +502,7 @@ before the first record and FALSE is returned. If the record is successfully retrieved, TRUE is returned. <p> <p>See also <a href="#next">next</a>(), <a href="#first">first</a>(), <a href="#last">last</a>(), <a href="#seek">seek</a>(), <a href="#at">at</a>(), <a href="#isActive">isActive</a>(), and <a href="#isValid">isValid</a>(). -<h3 class=fn>const <a href="ntqsqlresult.html">TQSqlResult</a> * <a name="result"></a>TQSqlQuery::result () const +<h3 class=fn>const <a href="tqsqlresult.html">TQSqlResult</a> * <a name="result"></a>TQSqlQuery::result () const </h3> Returns the result associated with the query. @@ -551,7 +551,7 @@ navigating the results. Forward only mode needs far less memory since results do not need to be cached. <p> Forward only mode is off by default. <p> Forward only mode cannot be used with data aware widgets like -<a href="ntqdatatable.html">TQDataTable</a>, since they must to be able to scroll backward as well +<a href="tqdatatable.html">TQDataTable</a>, since they must to be able to scroll backward as well as forward. <p> <p>See also <a href="#isForwardOnly">isForwardOnly</a>(), <a href="#next">next</a>(), and <a href="#seek">seek</a>(). @@ -565,7 +565,7 @@ return -1. If the query is not active (<a href="#isActive">isActive</a>() return -1 is returned. <p> To determine the number of rows affected by a non-SELECT statement, use <a href="#numRowsAffected">numRowsAffected</a>(). -<p> <p>See also <a href="#isActive">isActive</a>(), <a href="#numRowsAffected">numRowsAffected</a>(), and <a href="ntqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(). +<p> <p>See also <a href="#isActive">isActive</a>(), <a href="#numRowsAffected">numRowsAffected</a>(), and <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(). <p>Example: <a href="sql.html#x2174">sql/overview/navigating/main.cpp</a>. <h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="value"></a>TQSqlQuery::value ( int i ) const<tt> [virtual]</tt> diff --git a/doc/html/qsqlrecord-h.html b/doc/html/tqsqlrecord-h.html index f6c74f6f3..262cc4e4e 100644 --- a/doc/html/qsqlrecord-h.html +++ b/doc/html/tqsqlrecord-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlrecord.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlrecord.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlrecord.h Include File</title> +<title>tqsqlrecord.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlrecord.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlrecord.h</h1> -<p>This is the verbatim text of the ntqsqlrecord.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlrecord.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; } #include "ntqstring.h" #include "ntqstringlist.h" #include "ntqvariant.h" -#include "ntqsqlfield.h" +#include "tqsqlfield.h" #endif // QT_H #ifndef TQT_NO_SQL diff --git a/doc/html/qsqlrecord-members.html b/doc/html/tqsqlrecord-members.html index 55a06353d..14bda38d0 100644 --- a/doc/html/qsqlrecord-members.html +++ b/doc/html/tqsqlrecord-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlrecord.h:62 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlrecord.h:62 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,31 +32,31 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlRecord</h1> <p>This is the complete list of member functions for -<a href="ntqsqlrecord.html">TQSqlRecord</a>, including inherited members. +<a href="tqsqlrecord.html">TQSqlRecord</a>, including inherited members. <ul> -<li><a href="ntqsqlrecord.html#TQSqlRecord">TQSqlRecord</a>() -<li><a href="ntqsqlrecord.html#~TQSqlRecord">~TQSqlRecord</a>() -<li><a href="ntqsqlrecord.html#append">append</a>() -<li><a href="ntqsqlrecord.html#clear">clear</a>() -<li><a href="ntqsqlrecord.html#clearValues">clearValues</a>() -<li><a href="ntqsqlrecord.html#contains">contains</a>() -<li><a href="ntqsqlrecord.html#count">count</a>() -<li><a href="ntqsqlrecord.html#field">field</a>() -<li><a href="ntqsqlrecord.html#fieldName">fieldName</a>() -<li><a href="ntqsqlrecord.html#insert">insert</a>() -<li><a href="ntqsqlrecord.html#isEmpty">isEmpty</a>() -<li><a href="ntqsqlrecord.html#isGenerated">isGenerated</a>() -<li><a href="ntqsqlrecord.html#isNull">isNull</a>() -<li><a href="ntqsqlrecord.html#operator-eq">operator=</a>() -<li><a href="ntqsqlrecord.html#position">position</a>() -<li><a href="ntqsqlrecord.html#remove">remove</a>() -<li><a href="ntqsqlrecord.html#setGenerated">setGenerated</a>() -<li><a href="ntqsqlrecord.html#setNull">setNull</a>() -<li><a href="ntqsqlrecord.html#setValue">setValue</a>() -<li><a href="ntqsqlrecord.html#toString">toString</a>() -<li><a href="ntqsqlrecord.html#toStringList">toStringList</a>() -<li><a href="ntqsqlrecord.html#value">value</a>() +<li><a href="tqsqlrecord.html#TQSqlRecord">TQSqlRecord</a>() +<li><a href="tqsqlrecord.html#~TQSqlRecord">~TQSqlRecord</a>() +<li><a href="tqsqlrecord.html#append">append</a>() +<li><a href="tqsqlrecord.html#clear">clear</a>() +<li><a href="tqsqlrecord.html#clearValues">clearValues</a>() +<li><a href="tqsqlrecord.html#contains">contains</a>() +<li><a href="tqsqlrecord.html#count">count</a>() +<li><a href="tqsqlrecord.html#field">field</a>() +<li><a href="tqsqlrecord.html#fieldName">fieldName</a>() +<li><a href="tqsqlrecord.html#insert">insert</a>() +<li><a href="tqsqlrecord.html#isEmpty">isEmpty</a>() +<li><a href="tqsqlrecord.html#isGenerated">isGenerated</a>() +<li><a href="tqsqlrecord.html#isNull">isNull</a>() +<li><a href="tqsqlrecord.html#operator-eq">operator=</a>() +<li><a href="tqsqlrecord.html#position">position</a>() +<li><a href="tqsqlrecord.html#remove">remove</a>() +<li><a href="tqsqlrecord.html#setGenerated">setGenerated</a>() +<li><a href="tqsqlrecord.html#setNull">setNull</a>() +<li><a href="tqsqlrecord.html#setValue">setValue</a>() +<li><a href="tqsqlrecord.html#toString">toString</a>() +<li><a href="tqsqlrecord.html#toStringList">toStringList</a>() +<li><a href="tqsqlrecord.html#value">value</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqlrecord.html b/doc/html/tqsqlrecord.html index 9d13a2470..78ac9a199 100644 --- a/doc/html/ntqsqlrecord.html +++ b/doc/html/tqsqlrecord.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlrecord.cpp:151 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlrecord.cpp:151 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlRecord class encapsulates a database record, i.e. a set of database fields. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlrecord-h.html">ntqsqlrecord.h</a>></tt> -<p>Inherited by <a href="ntqsqlcursor.html">TQSqlCursor</a> and <a href="ntqsqlindex.html">TQSqlIndex</a>. -<p><a href="qsqlrecord-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlrecord-h.html">tqsqlrecord.h</a>></tt> +<p>Inherited by <a href="tqsqlcursor.html">TQSqlCursor</a> and <a href="tqsqlindex.html">TQSqlIndex</a>. +<p><a href="tqsqlrecord-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlRecord"><b>TQSqlRecord</b></a> ()</li> @@ -88,14 +88,14 @@ the record in time O(1). If multiple TQSqlRecord instances share the same data and one is modifying the record's data then this modifying instance makes a copy and modifies its private copy - thus it does not affect other instances. -<p> <p>See also <a href="qsqlrecordinfo.html">TQSqlRecordInfo</a> and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a> and <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQSqlRecord"></a>TQSqlRecord::TQSqlRecord () </h3> Constructs an empty record. -<h3 class=fn><a name="TQSqlRecord-2"></a>TQSqlRecord::TQSqlRecord ( const <a href="ntqsqlrecord.html">TQSqlRecord</a> & other ) +<h3 class=fn><a name="TQSqlRecord-2"></a>TQSqlRecord::TQSqlRecord ( const <a href="tqsqlrecord.html">TQSqlRecord</a> & other ) </h3> Constructs a copy of <em>other</em>. @@ -103,17 +103,17 @@ Constructs a copy of <em>other</em>. </h3> Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="append"></a>TQSqlRecord::append ( const <a href="ntqsqlfield.html">TQSqlField</a> & field )<tt> [virtual]</tt> +<h3 class=fn>void <a name="append"></a>TQSqlRecord::append ( const <a href="tqsqlfield.html">TQSqlField</a> & field )<tt> [virtual]</tt> </h3> Append a copy of field <em>field</em> to the end of the record. -<p>Reimplemented in <a href="ntqsqlindex.html#append">TQSqlIndex</a>. +<p>Reimplemented in <a href="tqsqlindex.html#append">TQSqlIndex</a>. <h3 class=fn>void <a name="clear"></a>TQSqlRecord::clear ()<tt> [virtual]</tt> </h3> Removes all the record's fields. <p> <p>See also <a href="#clearValues">clearValues</a>(). -<p>Reimplemented in <a href="ntqsqlcursor.html#clear">TQSqlCursor</a>. +<p>Reimplemented in <a href="tqsqlcursor.html#clear">TQSqlCursor</a>. <h3 class=fn>void <a name="clearValues"></a>TQSqlRecord::clearValues ( bool nullify = FALSE )<tt> [virtual]</tt> </h3> Clears the value of all fields in the record. If <em>nullify</em> is @@ -128,22 +128,22 @@ otherwise returns FALSE. </h3> Returns the number of fields in the record. -<h3 class=fn><a href="ntqsqlfield.html">TQSqlField</a> * <a name="field"></a>TQSqlRecord::field ( int i ) +<h3 class=fn><a href="tqsqlfield.html">TQSqlField</a> * <a name="field"></a>TQSqlRecord::field ( int i ) </h3> Returns the field at position <em>i</em> within the record, or 0 if it cannot be found. -<h3 class=fn><a href="ntqsqlfield.html">TQSqlField</a> * <a name="field-2"></a>TQSqlRecord::field ( const <a href="ntqstring.html">TQString</a> & name ) +<h3 class=fn><a href="tqsqlfield.html">TQSqlField</a> * <a name="field-2"></a>TQSqlRecord::field ( const <a href="ntqstring.html">TQString</a> & name ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the field called <em>name</em> within the record, or 0 if it cannot be found. Field names are not case-sensitive. -<h3 class=fn>const <a href="ntqsqlfield.html">TQSqlField</a> * <a name="field-3"></a>TQSqlRecord::field ( int i ) const +<h3 class=fn>const <a href="tqsqlfield.html">TQSqlField</a> * <a name="field-3"></a>TQSqlRecord::field ( int i ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> -<h3 class=fn>const <a href="ntqsqlfield.html">TQSqlField</a> * <a name="field-4"></a>TQSqlRecord::field ( const <a href="ntqstring.html">TQString</a> & name ) const +<h3 class=fn>const <a href="tqsqlfield.html">TQSqlField</a> * <a name="field-4"></a>TQSqlRecord::field ( const <a href="ntqstring.html">TQString</a> & name ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the field called <em>name</em> within the record, or 0 if it @@ -154,7 +154,7 @@ cannot be found. Field names are not case-sensitive. Returns the name of the field at position <em>i</em>. If the field does not exist, <a href="ntqstring.html#TQString-null">TQString::null</a> is returned. -<h3 class=fn>void <a name="insert"></a>TQSqlRecord::insert ( int pos, const <a href="ntqsqlfield.html">TQSqlField</a> & field )<tt> [virtual]</tt> +<h3 class=fn>void <a name="insert"></a>TQSqlRecord::insert ( int pos, const <a href="tqsqlfield.html">TQSqlField</a> & field )<tt> [virtual]</tt> </h3> Insert a copy of <em>field</em> at position <em>pos</em>. If a field already exists at <em>pos</em>, it is removed. @@ -190,7 +190,7 @@ This is an overloaded member function, provided for convenience. It behaves esse position <em>i</em>; otherwise returns FALSE. <p> <p>See also <a href="#fieldName">fieldName</a>(). -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> & <a name="operator-eq"></a>TQSqlRecord::operator= ( const <a href="ntqsqlrecord.html">TQSqlRecord</a> & other ) +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> & <a name="operator-eq"></a>TQSqlRecord::operator= ( const <a href="tqsqlrecord.html">TQSqlRecord</a> & other ) </h3> Sets the record equal to <em>other</em>. @@ -206,22 +206,22 @@ returned. Removes the field at <em>pos</em>. If <em>pos</em> does not exist, nothing happens. -<p>Reimplemented in <a href="ntqsqlcursor.html#remove">TQSqlCursor</a>. +<p>Reimplemented in <a href="tqsqlcursor.html#remove">TQSqlCursor</a>. <h3 class=fn>void <a name="setGenerated"></a>TQSqlRecord::setGenerated ( const <a href="ntqstring.html">TQString</a> & name, bool generated )<tt> [virtual]</tt> </h3> Sets the generated flag for the field called <em>name</em> to <em>generated</em>. If the field does not exist, nothing happens. Only fields that have <em>generated</em> set to TRUE are included in the SQL -that is generated, e.g. by <a href="ntqsqlcursor.html">TQSqlCursor</a>. +that is generated, e.g. by <a href="tqsqlcursor.html">TQSqlCursor</a>. <p> <p>See also <a href="#isGenerated">isGenerated</a>(). -<p>Reimplemented in <a href="ntqsqlcursor.html#setGenerated">TQSqlCursor</a>. +<p>Reimplemented in <a href="tqsqlcursor.html#setGenerated">TQSqlCursor</a>. <h3 class=fn>void <a name="setGenerated-2"></a>TQSqlRecord::setGenerated ( int i, bool generated )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the generated flag for the field <em>i</em> to <em>generated</em>. <p> <p>See also <a href="#isGenerated">isGenerated</a>(). -<p>Reimplemented in <a href="ntqsqlcursor.html#setGenerated-2">TQSqlCursor</a>. +<p>Reimplemented in <a href="tqsqlcursor.html#setGenerated-2">TQSqlCursor</a>. <h3 class=fn>void <a name="setNull"></a>TQSqlRecord::setNull ( int i )<tt> [virtual]</tt> </h3> Sets the value of field <em>i</em> to NULL. If the field does not exist, @@ -238,7 +238,7 @@ does not exist, nothing happens. Sets the value of the field at position <em>i</em> to <em>val</em>. If the field does not exist, nothing happens. -<p>Examples: <a href="sql.html#x2196">sql/overview/insert/main.cpp</a>, <a href="ntqsqlcursor.html#x2448">sql/overview/insert2/main.cpp</a>, <a href="sql.html#x2270">sql/overview/subclass5/main.cpp</a>, <a href="sql.html#x2203">sql/overview/update/main.cpp</a>, and <a href="sqltable-example.html#x2464">sql/sqltable/main.cpp</a>. +<p>Examples: <a href="sql.html#x2196">sql/overview/insert/main.cpp</a>, <a href="tqsqlcursor.html#x2448">sql/overview/insert2/main.cpp</a>, <a href="sql.html#x2270">sql/overview/subclass5/main.cpp</a>, <a href="sql.html#x2203">sql/overview/update/main.cpp</a>, and <a href="sqltable-example.html#x2464">sql/sqltable/main.cpp</a>. <h3 class=fn>void <a name="setValue-2"></a>TQSqlRecord::setValue ( const <a href="ntqstring.html">TQString</a> & name, const <a href="ntqvariant.html">TQVariant</a> & val )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -269,8 +269,8 @@ a table name, all fields are prefixed in the form: Returns the value of the field located at position <em>i</em> in the record. If field <em>i</em> does not exist the resultant behaviour is undefined. -<p> This function should be used with <a href="ntqsqlquery.html">TQSqlQuery</a>s. When working -with a <a href="ntqsqlcursor.html">TQSqlCursor</a> the <a href="ntqsqlquery.html#value">value(const +<p> This function should be used with <a href="tqsqlquery.html">TQSqlQuery</a>s. When working +with a <a href="tqsqlcursor.html">TQSqlCursor</a> the <a href="tqsqlquery.html#value">value(const TQString&)</a> overload which uses field names is more appropriate. diff --git a/doc/html/qsqlrecordinfo-members.html b/doc/html/tqsqlrecordinfo-members.html index c9bf79395..f92e6f1fe 100644 --- a/doc/html/qsqlrecordinfo-members.html +++ b/doc/html/tqsqlrecordinfo-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlrecord.h:122 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlrecord.h:122 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,13 +32,13 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlRecordInfo</h1> <p>This is the complete list of member functions for -<a href="qsqlrecordinfo.html">TQSqlRecordInfo</a>, including inherited members. +<a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a>, including inherited members. <ul> -<li><a href="qsqlrecordinfo.html#TQSqlRecordInfo">TQSqlRecordInfo</a>() -<li><a href="qsqlrecordinfo.html#contains">contains</a>() -<li><a href="qsqlrecordinfo.html#find">find</a>() -<li><a href="qsqlrecordinfo.html#toRecord">toRecord</a>() +<li><a href="tqsqlrecordinfo.html#TQSqlRecordInfo">TQSqlRecordInfo</a>() +<li><a href="tqsqlrecordinfo.html#contains">contains</a>() +<li><a href="tqsqlrecordinfo.html#find">find</a>() +<li><a href="tqsqlrecordinfo.html#toRecord">toRecord</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/qsqlrecordinfo.html b/doc/html/tqsqlrecordinfo.html index f6b5820c1..4c4dac0c7 100644 --- a/doc/html/qsqlrecordinfo.html +++ b/doc/html/tqsqlrecordinfo.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlrecord.cpp:686 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlrecord.cpp:686 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQSqlRecordInfo class encapsulates a set of database field meta data. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlrecord-h.html">ntqsqlrecord.h</a>></tt> -<p><a href="qsqlrecordinfo-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlrecord-h.html">tqsqlrecord.h</a>></tt> +<p><a href="tqsqlrecordinfo-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlRecordInfo"><b>TQSqlRecordInfo</b></a> ()</li> @@ -52,9 +52,9 @@ The TQSqlRecordInfo class encapsulates a set of database field meta data. <p> This class is a <a href="ntqvaluelist.html">TQValueList</a> that holds a set of database field meta data. Use <a href="#contains">contains</a>() to see if a given field name exists in the -record, and use <a href="#find">find</a>() to get a <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> record for a named +record, and use <a href="#find">find</a>() to get a <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> record for a named field. -<p> <p>See also <a href="ntqvaluelist.html">TQValueList</a>, <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a>, and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="ntqvaluelist.html">TQValueList</a>, <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a>, and <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQSqlRecordInfo"></a>TQSqlRecordInfo::TQSqlRecordInfo () @@ -67,25 +67,25 @@ field. <p> Constructs a copy of <em>other</em>. -<h3 class=fn><a name="TQSqlRecordInfo-3"></a>TQSqlRecordInfo::TQSqlRecordInfo ( const <a href="ntqsqlrecord.html">TQSqlRecord</a> & other ) +<h3 class=fn><a name="TQSqlRecordInfo-3"></a>TQSqlRecordInfo::TQSqlRecordInfo ( const <a href="tqsqlrecord.html">TQSqlRecord</a> & other ) </h3> Constructs a TQSqlRecordInfo object based on the fields in the -<a href="ntqsqlrecord.html">TQSqlRecord</a> <em>other</em>. +<a href="tqsqlrecord.html">TQSqlRecord</a> <em>other</em>. <h3 class=fn>size_type <a name="contains"></a>TQSqlRecordInfo::contains ( const <a href="ntqstring.html">TQString</a> & fieldName ) const </h3> Returns the number of times a field called <em>fieldName</em> occurs in the record. Returns 0 if no field by that name could be found. -<h3 class=fn><a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> <a name="find"></a>TQSqlRecordInfo::find ( const <a href="ntqstring.html">TQString</a> & fieldName ) const +<h3 class=fn><a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> <a name="find"></a>TQSqlRecordInfo::find ( const <a href="ntqstring.html">TQString</a> & fieldName ) const </h3> -Returns a <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> object for the first field in the record +Returns a <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> object for the first field in the record which has the field name <em>fieldName</em>. If no matching field is found then an empty TQSqlFieldInfo object is returned. -<h3 class=fn><a href="ntqsqlrecord.html">TQSqlRecord</a> <a name="toRecord"></a>TQSqlRecordInfo::toRecord () const +<h3 class=fn><a href="tqsqlrecord.html">TQSqlRecord</a> <a name="toRecord"></a>TQSqlRecordInfo::toRecord () const </h3> -Returns an empty <a href="ntqsqlrecord.html">TQSqlRecord</a> based on the field information +Returns an empty <a href="tqsqlrecord.html">TQSqlRecord</a> based on the field information in this TQSqlRecordInfo. <!-- eof --> diff --git a/doc/html/qsqlresult-h.html b/doc/html/tqsqlresult-h.html index 58d32909a..1c9a00c5a 100644 --- a/doc/html/qsqlresult-h.html +++ b/doc/html/tqsqlresult-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlresult.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlresult.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlresult.h Include File</title> +<title>tqsqlresult.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlresult.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlresult.h</h1> -<p>This is the verbatim text of the ntqsqlresult.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlresult.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -79,9 +79,9 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqstring.h" #include "ntqvariant.h" -#include "ntqsqlerror.h" -#include "ntqsqlfield.h" -#include "ntqsql.h" +#include "tqsqlerror.h" +#include "tqsqlfield.h" +#include "tqsql.h" #endif // QT_H #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) diff --git a/doc/html/qsqlresult-members.html b/doc/html/tqsqlresult-members.html index b31895878..3f31ea3fe 100644 --- a/doc/html/qsqlresult-members.html +++ b/doc/html/tqsqlresult-members.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlresult.h:62 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlresult.h:62 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -32,35 +32,35 @@ body { background: #ffffff; color: black; } <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlResult</h1> <p>This is the complete list of member functions for -<a href="ntqsqlresult.html">TQSqlResult</a>, including inherited members. +<a href="tqsqlresult.html">TQSqlResult</a>, including inherited members. <ul> -<li><a href="ntqsqlresult.html#TQSqlResult">TQSqlResult</a>() -<li><a href="ntqsqlresult.html#~TQSqlResult">~TQSqlResult</a>() -<li><a href="ntqsqlresult.html#at">at</a>() -<li><a href="ntqsqlresult.html#data">data</a>() -<li><a href="ntqsqlresult.html#driver">driver</a>() -<li><a href="ntqsqlresult.html#fetch">fetch</a>() -<li><a href="ntqsqlresult.html#fetchFirst">fetchFirst</a>() -<li><a href="ntqsqlresult.html#fetchLast">fetchLast</a>() -<li><a href="ntqsqlresult.html#fetchNext">fetchNext</a>() -<li><a href="ntqsqlresult.html#fetchPrev">fetchPrev</a>() -<li><a href="ntqsqlresult.html#isActive">isActive</a>() -<li><a href="ntqsqlresult.html#isForwardOnly">isForwardOnly</a>() -<li><a href="ntqsqlresult.html#isNull">isNull</a>() -<li><a href="ntqsqlresult.html#isSelect">isSelect</a>() -<li><a href="ntqsqlresult.html#isValid">isValid</a>() -<li><a href="ntqsqlresult.html#lastError">lastError</a>() -<li><a href="ntqsqlresult.html#lastQuery">lastQuery</a>() -<li><a href="ntqsqlresult.html#numRowsAffected">numRowsAffected</a>() -<li><a href="ntqsqlresult.html#reset">reset</a>() -<li><a href="ntqsqlresult.html#setActive">setActive</a>() -<li><a href="ntqsqlresult.html#setAt">setAt</a>() -<li><a href="ntqsqlresult.html#setForwardOnly">setForwardOnly</a>() -<li><a href="ntqsqlresult.html#setLastError">setLastError</a>() -<li><a href="ntqsqlresult.html#setQuery">setQuery</a>() -<li><a href="ntqsqlresult.html#setSelect">setSelect</a>() -<li><a href="ntqsqlresult.html#size">size</a>() +<li><a href="tqsqlresult.html#TQSqlResult">TQSqlResult</a>() +<li><a href="tqsqlresult.html#~TQSqlResult">~TQSqlResult</a>() +<li><a href="tqsqlresult.html#at">at</a>() +<li><a href="tqsqlresult.html#data">data</a>() +<li><a href="tqsqlresult.html#driver">driver</a>() +<li><a href="tqsqlresult.html#fetch">fetch</a>() +<li><a href="tqsqlresult.html#fetchFirst">fetchFirst</a>() +<li><a href="tqsqlresult.html#fetchLast">fetchLast</a>() +<li><a href="tqsqlresult.html#fetchNext">fetchNext</a>() +<li><a href="tqsqlresult.html#fetchPrev">fetchPrev</a>() +<li><a href="tqsqlresult.html#isActive">isActive</a>() +<li><a href="tqsqlresult.html#isForwardOnly">isForwardOnly</a>() +<li><a href="tqsqlresult.html#isNull">isNull</a>() +<li><a href="tqsqlresult.html#isSelect">isSelect</a>() +<li><a href="tqsqlresult.html#isValid">isValid</a>() +<li><a href="tqsqlresult.html#lastError">lastError</a>() +<li><a href="tqsqlresult.html#lastQuery">lastQuery</a>() +<li><a href="tqsqlresult.html#numRowsAffected">numRowsAffected</a>() +<li><a href="tqsqlresult.html#reset">reset</a>() +<li><a href="tqsqlresult.html#setActive">setActive</a>() +<li><a href="tqsqlresult.html#setAt">setAt</a>() +<li><a href="tqsqlresult.html#setForwardOnly">setForwardOnly</a>() +<li><a href="tqsqlresult.html#setLastError">setLastError</a>() +<li><a href="tqsqlresult.html#setQuery">setQuery</a>() +<li><a href="tqsqlresult.html#setSelect">setSelect</a>() +<li><a href="tqsqlresult.html#size">size</a>() </ul> <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/ntqsqlresult.html b/doc/html/tqsqlresult.html index c05ad1743..46fe310d9 100644 --- a/doc/html/ntqsqlresult.html +++ b/doc/html/tqsqlresult.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlresult.cpp:54 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlresult.cpp:54 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; } <p>The TQSqlResult class provides an abstract interface for accessing data from SQL databases. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlresult-h.html">ntqsqlresult.h</a>></tt> -<p><a href="qsqlresult-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlresult-h.html">tqsqlresult.h</a>></tt> +<p><a href="tqsqlresult-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn>virtual <a href="#~TQSqlResult"><b>~TQSqlResult</b></a> ()</li> @@ -75,13 +75,13 @@ The TQSqlResult class provides an abstract interface for accessing data from SQL databases. <p> -<p> Normally you would use <a href="ntqsqlquery.html">TQSqlQuery</a> instead of TQSqlResult since TQSqlQuery +<p> Normally you would use <a href="tqsqlquery.html">TQSqlQuery</a> instead of TQSqlResult since TQSqlQuery provides a generic wrapper for database-specific implementations of TQSqlResult. -<p> <p>See also <a href="ntqsql.html">TQSql</a> and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="tqsql.html">TQSql</a> and <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQSqlResult"></a>TQSqlResult::TQSqlResult ( const <a href="ntqsqldriver.html">TQSqlDriver</a> * db )<tt> [protected]</tt> +<h3 class=fn><a name="TQSqlResult"></a>TQSqlResult::TQSqlResult ( const <a href="tqsqldriver.html">TQSqlDriver</a> * db )<tt> [protected]</tt> </h3> Protected constructor which creates a TQSqlResult using database <em>db</em>. The object is initialized to an inactive state. @@ -102,7 +102,7 @@ positioned on a valid record and <em>i</em> is non-negative. Derived classes must reimplement this function and return the value of field <em>i</em>, or TQVariant() if it cannot be determined. -<h3 class=fn>const <a href="ntqsqldriver.html">TQSqlDriver</a> * <a name="driver"></a>TQSqlResult::driver () const<tt> [protected]</tt> +<h3 class=fn>const <a href="tqsqldriver.html">TQSqlDriver</a> * <a name="driver"></a>TQSqlResult::driver () const<tt> [protected]</tt> </h3> Returns the driver associated with the result. @@ -180,7 +180,7 @@ Returns TRUE if the result is positioned on a valid record (that is, the result is not positioned before the first or after the last record); otherwise returns FALSE. -<h3 class=fn><a href="ntqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlResult::lastError () const<tt> [protected]</tt> +<h3 class=fn><a href="tqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlResult::lastError () const<tt> [protected]</tt> </h3> Returns the last error associated with the result. @@ -224,7 +224,7 @@ mode needs far less memory since results do not have to be cached. forward only mode is off by default. <p> <p>See also <a href="#fetchNext">fetchNext</a>(). -<h3 class=fn>void <a name="setLastError"></a>TQSqlResult::setLastError ( const <a href="ntqsqlerror.html">TQSqlError</a> & e )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="setLastError"></a>TQSqlResult::setLastError ( const <a href="tqsqlerror.html">TQSqlError</a> & e )<tt> [virtual protected]</tt> </h3> Protected function provided for derived classes to set the last error to the value of <em>e</em>. diff --git a/doc/html/qsqlselectcursor-h.html b/doc/html/tqsqlselectcursor-h.html index 0f96650e4..c1aadf86d 100644 --- a/doc/html/qsqlselectcursor-h.html +++ b/doc/html/tqsqlselectcursor-h.html @@ -1,9 +1,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/ntqsqlselectcursor.h:1 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlselectcursor.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>ntqsqlselectcursor.h Include File</title> +<title>tqsqlselectcursor.h Include File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } @@ -29,9 +29,9 @@ body { background: #ffffff; color: black; } | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>ntqsqlselectcursor.h</h1> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqsqlselectcursor.h</h1> -<p>This is the verbatim text of the ntqsqlselectcursor.h include file. It is provided only for illustration; the copyright remains with Trolltech. +<p>This is the verbatim text of the tqsqlselectcursor.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /**************************************************************************** @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; } #define TQSQLSELECTCURSOR_H #ifndef QT_H -#include "ntqsqlcursor.h" +#include "tqsqlcursor.h" #endif // QT_H #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) diff --git a/doc/html/tqsqlselectcursor-members.html b/doc/html/tqsqlselectcursor-members.html new file mode 100644 index 000000000..cf1b17721 --- /dev/null +++ b/doc/html/tqsqlselectcursor-members.html @@ -0,0 +1,121 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqsqlselectcursor.h:54 --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>TQSqlSelectCursor Member List</title> +<style type="text/css"><!-- +fn { margin-left: 1cm; text-indent: -1cm; } +a:link { color: #004faf; text-decoration: none } +a:visited { color: #672967; text-decoration: none } +body { background: #ffffff; color: black; } +--></style> +</head> +<body> + +<table border="0" cellpadding="0" cellspacing="0" width="100%"> +<tr bgcolor="#E5E5E5"> +<td valign=center> + <a href="index.html"> +<font color="#004faf">Home</font></a> + | <a href="classes.html"> +<font color="#004faf">All Classes</font></a> + | <a href="mainclasses.html"> +<font color="#004faf">Main Classes</font></a> + | <a href="annotated.html"> +<font color="#004faf">Annotated</font></a> + | <a href="groups.html"> +<font color="#004faf">Grouped Classes</font></a> + | <a href="functions.html"> +<font color="#004faf">Functions</font></a> +</td> +<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQSqlSelectCursor</h1> + +<p>This is the complete list of member functions for +<a href="tqsqlselectcursor.html">TQSqlSelectCursor</a>, including inherited members. + +<ul> +<li><a href="tqsqlselectcursor.html#TQSqlSelectCursor">TQSqlSelectCursor</a>() +<li><a href="tqsqlselectcursor.html#~TQSqlSelectCursor">~TQSqlSelectCursor</a>() +<li><a href="tqsqlquery.html#addBindValue">addBindValue</a>() +<li><a href="tqsqlquery.html#afterSeek">afterSeek</a>() +<li><a href="tqsqlcursor.html#append">append</a>() +<li><a href="tqsqlquery.html#at">at</a>() +<li><a href="tqsqlquery.html#beforeSeek">beforeSeek</a>() +<li><a href="tqsqlquery.html#bindValue">bindValue</a>() +<li><a href="tqsqlquery.html#boundValue">boundValue</a>() +<li><a href="tqsqlquery.html#boundValues">boundValues</a>() +<li><a href="tqsqlcursor.html#calculateField">calculateField</a>() +<li><a href="tqsqlcursor.html#canDelete">canDelete</a>() +<li><a href="tqsqlcursor.html#canInsert">canInsert</a>() +<li><a href="tqsqlcursor.html#canUpdate">canUpdate</a>() +<li><a href="tqsqlcursor.html#clear">clear</a>() +<li><a href="tqsqlrecord.html#clearValues">clearValues</a>() +<li><a href="tqsqlrecord.html#contains">contains</a>() +<li><a href="tqsqlrecord.html#count">count</a>() +<li><a href="tqsqlcursor.html#del">del</a>() +<li><a href="tqsqlquery.html#driver">driver</a>() +<li><a href="tqsqlcursor.html#editBuffer">editBuffer</a>() +<li><a href="tqsqlquery.html#exec">exec</a>() +<li><a href="tqsqlquery.html#executedQuery">executedQuery</a>() +<li><a href="tqsqlrecord.html#field">field</a>() +<li><a href="tqsqlrecord.html#fieldName">fieldName</a>() +<li><a href="tqsqlcursor.html#filter">filter</a>() +<li><a href="tqsqlquery.html#first">first</a>() +<li><a href="tqsqlcursor.html#index">index</a>() +<li><a href="tqsqlcursor.html#insert">insert</a>() +<li><a href="tqsqlquery.html#isActive">isActive</a>() +<li><a href="tqsqlcursor.html#isCalculated">isCalculated</a>() +<li><a href="tqsqlrecord.html#isEmpty">isEmpty</a>() +<li><a href="tqsqlquery.html#isForwardOnly">isForwardOnly</a>() +<li><a href="tqsqlrecord.html#isGenerated">isGenerated</a>() +<li><a href="tqsqlcursor.html#isNull">isNull</a>() +<li><a href="tqsqlcursor.html#isReadOnly">isReadOnly</a>() +<li><a href="tqsqlquery.html#isSelect">isSelect</a>() +<li><a href="tqsqlcursor.html#isTrimmed">isTrimmed</a>() +<li><a href="tqsqlquery.html#isValid">isValid</a>() +<li><a href="tqsqlquery.html#last">last</a>() +<li><a href="tqsqlquery.html#lastError">lastError</a>() +<li><a href="tqsqlquery.html#lastQuery">lastQuery</a>() +<li><a href="tqsqlcursor.html#mode">mode</a>() +<li><a href="tqsqlcursor.html#name">name</a>() +<li><a href="tqsqlquery.html#next">next</a>() +<li><a href="tqsqlquery.html#numRowsAffected">numRowsAffected</a>() +<li><a href="tqsqlcursor.html#operator-eq">operator=</a>() +<li><a href="tqsqlrecord.html#position">position</a>() +<li><a href="tqsqlquery.html#prepare">prepare</a>() +<li><a href="tqsqlquery.html#prev">prev</a>() +<li><a href="tqsqlcursor.html#primaryIndex">primaryIndex</a>() +<li><a href="tqsqlcursor.html#primeDelete">primeDelete</a>() +<li><a href="tqsqlcursor.html#primeInsert">primeInsert</a>() +<li><a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() +<li><a href="tqsqlcursor.html#remove">remove</a>() +<li><a href="tqsqlquery.html#result">result</a>() +<li><a href="tqsqlquery.html#seek">seek</a>() +<li><a href="tqsqlcursor.html#select">select</a>() +<li><a href="tqsqlcursor.html#setCalculated">setCalculated</a>() +<li><a href="tqsqlcursor.html#setFilter">setFilter</a>() +<li><a href="tqsqlquery.html#setForwardOnly">setForwardOnly</a>() +<li><a href="tqsqlcursor.html#setGenerated">setGenerated</a>() +<li><a href="tqsqlcursor.html#setMode">setMode</a>() +<li><a href="tqsqlcursor.html#setName">setName</a>() +<li><a href="tqsqlrecord.html#setNull">setNull</a>() +<li><a href="tqsqlcursor.html#setPrimaryIndex">setPrimaryIndex</a>() +<li><a href="tqsqlcursor.html#setSort">setSort</a>() +<li><a href="tqsqlcursor.html#setTrimmed">setTrimmed</a>() +<li><a href="tqsqlrecord.html#setValue">setValue</a>() +<li><a href="tqsqlquery.html#size">size</a>() +<li><a href="tqsqlcursor.html#sort">sort</a>() +<li><a href="tqsqlcursor.html#toString">toString</a>() +<li><a href="tqsqlrecord.html#toStringList">toStringList</a>() +<li><a href="tqsqlcursor.html#update">update</a>() +<li><a href="tqsqlquery.html#value">value</a>() +</ul> +<!-- eof --> +<p><address><hr><div align=center> +<table width=100% cellspacing=0 border=0><tr> +<td>Copyright © 2007 +<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> +<td align=right><div align=right>TQt 3.3.8</div> +</table></div></address></body> +</html> diff --git a/doc/html/ntqsqlselectcursor.html b/doc/html/tqsqlselectcursor.html index e1a943498..97a56fcc2 100644 --- a/doc/html/ntqsqlselectcursor.html +++ b/doc/html/tqsqlselectcursor.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/qsqlselectcursor.cpp:50 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/sql/tqsqlselectcursor.cpp:50 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; } <p>The TQSqlSelectCursor class provides browsing of general SQL SELECT statements. <a href="#details">More...</a> -<p><tt>#include <<a href="qsqlselectcursor-h.html">ntqsqlselectcursor.h</a>></tt> -<p>Inherits <a href="ntqsqlcursor.html">TQSqlCursor</a>. -<p><a href="qsqlselectcursor-members.html">List of all member functions.</a> +<p><tt>#include <<a href="tqsqlselectcursor-h.html">tqsqlselectcursor.h</a>></tt> +<p>Inherits <a href="tqsqlcursor.html">TQSqlCursor</a>. +<p><a href="tqsqlselectcursor-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li class=fn><a href="#TQSqlSelectCursor"><b>TQSqlSelectCursor</b></a> ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )</li> @@ -55,28 +55,28 @@ display result sets from general SQL <tt>SELECT</tt> statements in data-aware TQt widgets. TQSqlSelectCursor is read-only and does not support <tt>INSERT</tt>, <tt>UPDATE</tt> or <tt>DELETE</tt> operations. <p> Pass the query in at construction time, or use the -<a href="ntqsqlquery.html#exec">TQSqlSelectCursor::exec</a>() function. +<a href="tqsqlquery.html#exec">TQSqlSelectCursor::exec</a>() function. <p> Example: <pre> ... TQSqlSelectCursor* cur = new TQSqlSelectCursor( "SELECT id, firstname, lastname FROM author" ); - <a href="ntqdatatable.html">TQDataTable</a>* table = new <a href="ntqdatatable.html">TQDataTable</a>( this ); - table-><a href="ntqdatatable.html#setSqlCursor">setSqlCursor</a>( cur, TRUE, TRUE ); - table-><a href="ntqdatatable.html#refresh">refresh</a>(); + <a href="tqdatatable.html">TQDataTable</a>* table = new <a href="tqdatatable.html">TQDataTable</a>( this ); + table-><a href="tqdatatable.html#setSqlCursor">setSqlCursor</a>( cur, TRUE, TRUE ); + table-><a href="tqdatatable.html#refresh">refresh</a>(); ... - cur-><a href="ntqsqlquery.html#exec">exec</a>( "SELECT * FROM books" ); - table-><a href="ntqdatatable.html#refresh">refresh</a>(); + cur-><a href="tqsqlquery.html#exec">exec</a>( "SELECT * FROM books" ); + table-><a href="tqdatatable.html#refresh">refresh</a>(); ... </pre> <p>See also <a href="database.html">Database Classes</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQSqlSelectCursor"></a>TQSqlSelectCursor::TQSqlSelectCursor ( const <a href="ntqstring.html">TQString</a> & query = TQString::null, <a href="ntqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) +<h3 class=fn><a name="TQSqlSelectCursor"></a>TQSqlSelectCursor::TQSqlSelectCursor ( const <a href="ntqstring.html">TQString</a> & query = TQString::null, <a href="tqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) </h3> Constructs a read only cursor on database <em>db</em> using the query <em>query</em>. -<h3 class=fn><a name="TQSqlSelectCursor-2"></a>TQSqlSelectCursor::TQSqlSelectCursor ( const <a href="ntqsqlselectcursor.html">TQSqlSelectCursor</a> & other ) +<h3 class=fn><a name="TQSqlSelectCursor-2"></a>TQSqlSelectCursor::TQSqlSelectCursor ( const <a href="tqsqlselectcursor.html">TQSqlSelectCursor</a> & other ) </h3> Constructs a copy of <em>other</em> <h3 class=fn><a name="~TQSqlSelectCursor"></a>TQSqlSelectCursor::~TQSqlSelectCursor () </h3> Destroys the object and frees any allocated resources diff --git a/doc/html/whatsthis b/doc/html/whatsthis index 4c9f85663..2e40a05ea 100644 --- a/doc/html/whatsthis +++ b/doc/html/whatsthis @@ -1,13 +1,13 @@ 2D area that can contain QCanvasItem objects. | QCanvas 2D transformations of a coordinate system. | QWMatrix -Abstract base class for accessing SQL databases. | QSqlDriver +Abstract base class for accessing SQL databases. | TQSqlDriver Abstract base class for custom menu items in popup menus. | QCustomMenuItem Abstract base class for implementations of additional COM interfaces. | QAxAggregated Abstract base class of internal layout iterators. | QGLayoutIterator Abstract base for Qt/Embedded graphics driver plugins. | QGfxDriverPlugin Abstract base for Qt/Embedded keyboard driver plugins. | QKbdDriverPlugin Abstract base for Qt/Embedded mouse driver plugins. | QMouseDriverPlugin -Abstract base for custom QSqlDriver plugins. | QSqlDriverPlugin +Abstract base for custom TQSqlDriver plugins. | TQSqlDriverPlugin Abstract base for custom QStyle plugins. | QStylePlugin Abstract base for custom QTextCodec plugins. | QTextCodecPlugin Abstract base for custom TQWidget plugins. | QWidgetPlugin @@ -15,7 +15,7 @@ Abstract base for custom image format plugins. | QImageFormatPlugin Abstract base for fixed-size grids. | QGridView Abstract class that provides an API to initalize and access a COM object. | QAxBase Abstract graphic object on a QCanvas. | QCanvasItem -Abstract interface for accessing data from SQL databases. | QSqlResult +Abstract interface for accessing data from SQL databases. | TQSqlResult Abstract item that a QLayout manipulates. | QLayoutItem Abstract user interface action that can appear both in menus and tool bars. | QAction Abstraction for date and edit editors. | QDateTimeEditBase @@ -47,8 +47,8 @@ Base class for implementing QTextEdit syntax highlighters. | QSyntaxHighlighter Basic functions for reading and writing text using a TQIODevice. | QTextStream Blank space in a layout. | QSpacerItem Bridge between application objects and script code. | QAxScriptManager -Browsing and editing of SQL tables and views. | QSqlCursor -Browsing of general SQL SELECT statements. | QSqlSelectCursor +Browsing and editing of SQL tables and views. | TQSqlCursor +Browsing of general SQL SELECT statements. | TQSqlSelectCursor Buffered TCP connection. | QSocket Bundles signals from identifiable senders. | QSignalMapper CDE look and feel. | QCDEStyle @@ -92,9 +92,9 @@ Creates QScreen objects for Qt/Embedded. | QGfxDriverFactory Creates QStyle objects. | QStyleFactory Creates QWSKeyboardHandler objects for Qt/Embedded. | QKbdDriverFactory Creates QWSMouseHandler objects for Qt/Embedded. | QMouseDriverFactory -Creates and manages data entry forms tied to SQL databases. | QSqlForm +Creates and manages data entry forms tied to SQL databases. | TQSqlForm Creates well-compressed PNG animations. | QPNGImagePacker -Data manipulation and navigation for data entry forms. | QDataBrowser +Data manipulation and navigation for data entry forms. | TQDataBrowser Date and time functions. | QDateTime Date editor. | QDateEdit Date functions. | QDate @@ -122,10 +122,10 @@ Drag and drop object for transferring plain and Unicode text. | QTextDrag Drag object for a list of URI references. | QUriDrag Ellipse or ellipse segment on a QCanvas. | QCanvasEllipse Encapsulates MIME-based data transfer. | QDragObject -Encapsulates a database record, i.e. a set of database fields. | QSqlRecord +Encapsulates a database record, i.e. a set of database fields. | TQSqlRecord Encapsulates a drag item. | QIconDragItem Encapsulates a key sequence as used by accelerators. | QKeySequence -Encapsulates a set of database field meta data. | QSqlRecordInfo +Encapsulates a set of database field meta data. | TQSqlRecordInfo Encapsulates an OpenGL rendering context. | QGLContext Encapsulates the common Look and Feel of a GUI. | QCommonStyle Encapsulation of a set of text styles. | QStyleSheetItem @@ -146,13 +146,13 @@ Extensible provider of mime-typed data. | QMimeSourceFactory Factory that makes QImageFormat objects. | QImageFormatType Feedback on the progress of a slow operation. | QProgressDialog File previewing in QFileDialog. | QFilePreview -Flexible SQL table widget that supports browsing and editing. | QDataTable +Flexible SQL table widget that supports browsing and editing. | TQDataTable Flexible editable table widget. | QTable Font metrics information. | QFontMetrics Font used for drawing text. | QFont For the dynamic creation of widgets from TQt Designer .ui files. | QWidgetFactory Framework for wizard dialogs. | QWizard -Functions to manipulate and describe QSqlCursor and QSqlDatabase indexes. | QSqlIndex +Functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes. | TQSqlIndex General information about fonts. | QFontInfo Group box frame with a title. | QGroupBox Group of widget colors. | QColorGroup @@ -235,10 +235,10 @@ Maintains the list of widgets in the focus chain. | QFocusData Manages and lays out QDockWindows. | QDockArea Manages the GUI application's control flow and main settings. | QApplication Manages the event queue. | QEventLoop -Manipulates the fields in SQL database tables and views. | QSqlField +Manipulates the fields in SQL database tables and views. | TQSqlField Maps open-standard MIME to Mac flavors. | QMacMime Maps open-standard MIME to Window Clipboard formats. | QWindowsMime -Means of executing and manipulating SQL statements. | QSqlQuery +Means of executing and manipulating SQL statements. | TQSqlQuery Means of using TQt Assistant as an application's help tool. | QAssistantClient Means of using comboboxes in QTables. | QComboTableItem Meta information about TQt objects. | QMetaObject @@ -251,7 +251,7 @@ Mouse cursor with an arbitrary shape. | QCursor Mouse driver for Qt/Embedded. | QWSMouseHandler Movable panel containing widgets such as tool buttons. | QToolBar Multi-bezier splines on a QCanvas. | QCanvasSpline -Namespace for TQt SQL identifiers that need to be global-like. | QSql +Namespace for TQt SQL identifiers that need to be global-like. | TQSql Namespace for miscellaneous identifiers in the TQt OpenGL module. | QGL Namespace for miscellaneous identifiers that need to be global-like. | Qt Off-screen, pixel-based paint device. | QPixmap @@ -291,7 +291,7 @@ TQWidget that wraps an ActiveX control. | QAxWidget Quick-access button to commands or options, usually used inside a QToolBar. | QToolButton Radio button with a text or pixmap label. | QRadioButton Range checking of floating-point numbers. | QDoubleValidator -Read-only SQL forms. | QDataView +Read-only SQL forms. | TQDataView Rectangle on a QCanvas. | QCanvasRectangle Represents a generic string in the DOM. | QDomCharacterData Represents an XML CDATA section. | QDomCDATASection @@ -310,7 +310,7 @@ Rich text browser with hypertext navigation. | QTextBrowser Robust integer semaphore. | QSemaphore Rounded range control (like a speedometer or potentiometer). | QDial SGI/Irix look and feel. | QSGIStyle -SQL database error information. | QSqlError +SQL database error information. | TQSqlError Scrolling area with on-demand scroll bars. | QScrollView Serialization of binary data to a TQIODevice. | QDataStream Server-specific functionality in Qt/Embedded. | QWSServer @@ -333,7 +333,7 @@ State-based decoder. | QTextDecoder State-based encoder. | QTextEncoder Stores information about URLs. | QUrlInfo Stores meta data about a property. | QMetaProperty -Stores meta data associated with a SQL field. | QSqlFieldInfo +Stores meta data associated with a SQL field. | TQSqlFieldInfo Stream of data provided to a QNPInstance by the browser. | QNPStream String objects using constant Unicode data. | QConstString Support for custom events. | QCustomEvent @@ -389,11 +389,11 @@ Tree of QDomNodes which is not usually a complete QDomDocument. | QDomDocumentFr URL parser and simplifies working with URLs. | QUrl Used for installing custom colormaps into QGLWidgets. | QGLColormap Used to check a string against a regular expression. | QRegExpValidator -Used to create SQL database connections and to provide transaction handling. | QSqlDatabase -Used to create editor widgets for QVariant data types. | QEditorFactory +Used to create SQL database connections and to provide transaction handling. | TQSqlDatabase +Used to create editor widgets for QVariant data types. | TQEditorFactory Used to create pixmaps for a QIconSet. | QIconFactory -Used to create the editors used by QDataTable and QSqlForm. | QSqlEditorFactory -Used to map widgets to SQL fields. | QSqlPropertyMap +Used to create the editors used by TQDataTable and TQSqlForm. | TQSqlEditorFactory +Used to map widgets to SQL fields. | TQSqlPropertyMap Used to report errors with the QXmlErrorHandler interface. | QXmlParseException Used to start external programs and to communicate with them. | QProcess Validation of input text. | QValidator diff --git a/doc/man/man3/tqdatabrowser.3qt b/doc/man/man3/tqdatabrowser.3qt index 76a5b49a6..4ac8e2b7f 100644 --- a/doc/man/man3/tqdatabrowser.3qt +++ b/doc/man/man3/tqdatabrowser.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDataBrowser 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDataBrowser 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QDataBrowser \- Data manipulation and navigation for data entry forms +TQDataBrowser \- Data manipulation and navigation for data entry forms .SH SYNOPSIS -\fC#include <ntqdatabrowser.h>\fR +\fC#include <tqdatabrowser.h>\fR .PP Inherits TQWidget. .PP @@ -19,7 +19,7 @@ Inherits TQWidget. .BI "\fBQDataBrowser\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" .br .ti -1c -.BI "\fB~QDataBrowser\fR ()" +.BI "\fB~TQDataBrowser\fR ()" .br .ti -1c .BI "enum \fBBoundary\fR { Unknown, None, BeforeBeginning, Beginning, End, AfterEnd }" @@ -34,7 +34,7 @@ Inherits TQWidget. .BI "bool \fBboundaryChecking\fR () const" .br .ti -1c -.BI "void \fBsetSort\fR ( const QSqlIndex & sort )" +.BI "void \fBsetSort\fR ( const TQSqlIndex & sort )" .br .ti -1c .BI "void \fBsetSort\fR ( const QStringList & sort )" @@ -49,16 +49,16 @@ Inherits TQWidget. .BI "TQString \fBfilter\fR () const" .br .ti -1c -.BI "virtual void \fBsetSqlCursor\fR ( QSqlCursor * cursor, bool autoDelete = FALSE )" +.BI "virtual void \fBsetSqlCursor\fR ( TQSqlCursor * cursor, bool autoDelete = FALSE )" .br .ti -1c -.BI "QSqlCursor * \fBsqlCursor\fR () const" +.BI "TQSqlCursor * \fBsqlCursor\fR () const" .br .ti -1c -.BI "virtual void \fBsetForm\fR ( QSqlForm * form )" +.BI "virtual void \fBsetForm\fR ( TQSqlForm * form )" .br .ti -1c -.BI "QSqlForm * \fBform\fR ()" +.BI "TQSqlForm * \fBform\fR ()" .br .ti -1c .BI "virtual void \fBsetConfirmEdits\fR ( bool confirm )" @@ -160,28 +160,28 @@ Inherits TQWidget. .BI "void \fBprevRecordAvailable\fR ( bool available )" .br .ti -1c -.BI "void \fBcurrentChanged\fR ( const QSqlRecord * record )" +.BI "void \fBcurrentChanged\fR ( const TQSqlRecord * record )" .br .ti -1c -.BI "void \fBprimeInsert\fR ( QSqlRecord * buf )" +.BI "void \fBprimeInsert\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBprimeUpdate\fR ( QSqlRecord * buf )" +.BI "void \fBprimeUpdate\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBprimeDelete\fR ( QSqlRecord * buf )" +.BI "void \fBprimeDelete\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBbeforeInsert\fR ( QSqlRecord * buf )" +.BI "void \fBbeforeInsert\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBbeforeUpdate\fR ( QSqlRecord * buf )" +.BI "void \fBbeforeUpdate\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBbeforeDelete\fR ( QSqlRecord * buf )" +.BI "void \fBbeforeDelete\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBcursorChanged\fR ( QSqlCursor::Mode mode )" +.BI "void \fBcursorChanged\fR ( TQSqlCursor::Mode mode )" .br .in -1c .SS "Properties" @@ -232,23 +232,23 @@ Inherits TQWidget. .BI "virtual bool \fBcurrentEdited\fR ()" .br .ti -1c -.BI "virtual QSql::Confirm \fBconfirmEdit\fR ( QSql::Op m )" +.BI "virtual TQSql::Confirm \fBconfirmEdit\fR ( TQSql::Op m )" .br .ti -1c -.BI "virtual QSql::Confirm \fBconfirmCancel\fR ( QSql::Op m )" +.BI "virtual TQSql::Confirm \fBconfirmCancel\fR ( TQSql::Op m )" .br .ti -1c -.BI "virtual void \fBhandleError\fR ( const QSqlError & error )" +.BI "virtual void \fBhandleError\fR ( const TQSqlError & error )" .br .in -1c .SH DESCRIPTION -The QDataBrowser class provides data manipulation and navigation for data entry forms. +The TQDataBrowser class provides data manipulation and navigation for data entry forms. .PP A high-level API is provided for navigating through data records in a cursor, for inserting, updating and deleting records, and for refreshing data in the display. .PP -If you want a read-only form to present database data use QDataView; if you want a table-based presentation of your data use QDataTable. +If you want a read-only form to present database data use TQDataView; if you want a table-based presentation of your data use TQDataTable. .PP -A QDataBrowser is used to associate a dataset with a form in much the same way as a QDataTable associates a dataset with a table. Once the data browser has been constructed it can be associated with a dataset with setSqlCursor(), and with a form with setForm(). Boundary checking, sorting and filtering can be set with setBoundaryChecking(), setSort() and setFilter(), respectively. +A TQDataBrowser is used to associate a dataset with a form in much the same way as a TQDataTable associates a dataset with a table. Once the data browser has been constructed it can be associated with a dataset with setSqlCursor(), and with a form with setForm(). Boundary checking, sorting and filtering can be set with setBoundaryChecking(), setSort() and setFilter(), respectively. .PP The insertCurrent() function reads the fields from the default form into the default cursor and performs the insert. The updateCurrent() and deleteCurrent() functions perform similarly to update and delete the current record respectively. .PP @@ -268,7 +268,7 @@ The form is populated with data from the database with readFields(). If the user .PP See also Database Classes. .SS "Member Type Documentation" -.SH "QDataBrowser::Boundary" +.SH "TQDataBrowser::Boundary" This enum describes where the data browser is positioned. .TP \fCQDataBrowser::Unknown\fR - the boundary cannot be determined (usually because there is no default cursor, or the default cursor is not active). @@ -283,73 +283,73 @@ This enum describes where the data browser is positioned. .TP \fCQDataBrowser::AfterEnd\fR - the browser is positioned after the last available record. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDataBrowser::QDataBrowser ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" +.SH "TQDataBrowser::TQDataBrowser ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" Constructs a data browser which is a child of \fIparent\fR, with the name \fIname\fR and widget flags set to \fIfl\fR. -.SH "QDataBrowser::~QDataBrowser ()" +.SH "TQDataBrowser::~TQDataBrowser ()" Destroys the object and frees any allocated resources. -.SH "bool QDataBrowser::autoEdit () const" +.SH "bool TQDataBrowser::autoEdit () const" Returns TRUE if the browser automatically applies edits; otherwise returns FALSE. See the "autoEdit" property for details. -.SH "void QDataBrowser::beforeDelete ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataBrowser::beforeDelete ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted just before the cursor's edit buffer is deleted from the database. The \fIbuf\fR parameter points to the edit buffer being deleted. You might connect to this signal to capture some auditing information about the deletion. -.SH "void QDataBrowser::beforeInsert ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataBrowser::beforeInsert ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted just before the cursor's edit buffer is inserted into the database. The \fIbuf\fR parameter points to the edit buffer being inserted. You might connect to this signal to populate a generated primary key for example. -.SH "void QDataBrowser::beforeUpdate ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataBrowser::beforeUpdate ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted just before the cursor's edit buffer is updated in the database. The \fIbuf\fR parameter points to the edit buffer being updated. You might connect to this signal to capture some auditing information about the update. -.SH "Boundary QDataBrowser::boundary ()" +.SH "Boundary TQDataBrowser::boundary ()" Returns an enum indicating the boundary status of the browser. .PP -This is achieved by moving the default cursor and checking the position, however the current default form values will not be altered. After checking for the boundary, the cursor is moved back to its former position. See QDataBrowser::Boundary. +This is achieved by moving the default cursor and checking the position, however the current default form values will not be altered. After checking for the boundary, the cursor is moved back to its former position. See TQDataBrowser::Boundary. .PP See also Boundary. -.SH "bool QDataBrowser::boundaryChecking () const" +.SH "bool TQDataBrowser::boundaryChecking () const" Returns TRUE if boundary checking is active; otherwise returns FALSE. See the "boundaryChecking" property for details. -.SH "void QDataBrowser::clearValues ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::clearValues ()\fC [virtual slot]\fR" Clears all the values in the form. .PP -All the edit buffer field values are set to their 'zero state', e.g. 0 for numeric fields and "" for string fields. Then the widgets are updated using the property map. For example, a combobox that is property-mapped to integers would scroll to the first item. See the QSqlPropertyMap constructor for the default mappings of widgets to properties. -.SH "QSql::Confirm QDataBrowser::confirmCancel ( QSql::Op m )\fC [virtual protected]\fR" +All the edit buffer field values are set to their 'zero state', e.g. 0 for numeric fields and "" for string fields. Then the widgets are updated using the property map. For example, a combobox that is property-mapped to integers would scroll to the first item. See the TQSqlPropertyMap constructor for the default mappings of widgets to properties. +.SH "TQSql::Confirm TQDataBrowser::confirmCancel ( TQSql::Op m )\fC [virtual protected]\fR" Protected virtual function which returns a confirmation for cancelling an edit mode \fIm\fR. Derived classes can reimplement this function and provide their own confirmation dialog. The default implementation uses a message box which prompts the user to confirm the edit action. -.SH "bool QDataBrowser::confirmCancels () const" +.SH "bool TQDataBrowser::confirmCancels () const" Returns TRUE if the browser confirms cancel operations; otherwise returns FALSE. See the "confirmCancels" property for details. -.SH "bool QDataBrowser::confirmDelete () const" +.SH "bool TQDataBrowser::confirmDelete () const" Returns TRUE if the browser confirms deletions; otherwise returns FALSE. See the "confirmDelete" property for details. -.SH "QSql::Confirm QDataBrowser::confirmEdit ( QSql::Op m )\fC [virtual protected]\fR" +.SH "TQSql::Confirm TQDataBrowser::confirmEdit ( TQSql::Op m )\fC [virtual protected]\fR" Protected virtual function which returns a confirmation for an edit of mode \fIm\fR. Derived classes can reimplement this function and provide their own confirmation dialog. The default implementation uses a message box which prompts the user to confirm the edit action. -.SH "bool QDataBrowser::confirmEdits () const" +.SH "bool TQDataBrowser::confirmEdits () const" Returns TRUE if the browser confirms edits; otherwise returns FALSE. See the "confirmEdits" property for details. -.SH "bool QDataBrowser::confirmInsert () const" +.SH "bool TQDataBrowser::confirmInsert () const" Returns TRUE if the data browser confirms insertions; otherwise returns FALSE. See the "confirmInsert" property for details. -.SH "bool QDataBrowser::confirmUpdate () const" +.SH "bool TQDataBrowser::confirmUpdate () const" Returns TRUE if the browser confirms updates; otherwise returns FALSE. See the "confirmUpdate" property for details. -.SH "void QDataBrowser::currentChanged ( const QSqlRecord * record )\fC [signal]\fR" +.SH "void TQDataBrowser::currentChanged ( const TQSqlRecord * record )\fC [signal]\fR" This signal is emitted whenever the current cursor position changes. The \fIrecord\fR parameter points to the contents of the current cursor's record. -.SH "bool QDataBrowser::currentEdited ()\fC [virtual protected]\fR" +.SH "bool TQDataBrowser::currentEdited ()\fC [virtual protected]\fR" Returns TRUE if the form's edit buffer differs from the current cursor buffer; otherwise returns FALSE. -.SH "void QDataBrowser::cursorChanged ( QSqlCursor::Mode mode )\fC [signal]\fR" -This signal is emitted whenever the cursor record was changed due to navigation. The \fImode\fR parameter is the edit that just took place, e.g. Insert, Update or Delete. See QSqlCursor::Mode. -.SH "void QDataBrowser::del ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::cursorChanged ( TQSqlCursor::Mode mode )\fC [signal]\fR" +This signal is emitted whenever the cursor record was changed due to navigation. The \fImode\fR parameter is the edit that just took place, e.g. Insert, Update or Delete. See TQSqlCursor::Mode. +.SH "void TQDataBrowser::del ()\fC [virtual slot]\fR" Performs a delete operation on the data browser's cursor. If there is no default cursor or no default form, nothing happens. .PP Otherwise, the following happens: .PP The current form's record is deleted from the database, providing that the data browser is not in insert mode. If the data browser is actively inserting a record (see insert()), the insert action is canceled, and the browser navigates to the last valid record that was current. If there is an error, handleError() is called. -.SH "bool QDataBrowser::deleteCurrent ()\fC [virtual protected]\fR" +.SH "bool TQDataBrowser::deleteCurrent ()\fC [virtual protected]\fR" Performs a delete on the default cursor using the values from the default form and updates the default form. If there is no default form or no default cursor, nothing happens. If the deletion was successful, the cursor is repositioned to the nearest record and TRUE is returned. The nearest record is the next record if there is one otherwise the previous record if there is one. If an error occurred during the deletion from the database, handleError() is called and FALSE is returned. .PP See also cursor, form(), and handleError(). -.SH "TQString QDataBrowser::filter () const" +.SH "TQString TQDataBrowser::filter () const" Returns the data browser's filter. See the "filter" property for details. -.SH "void QDataBrowser::first ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::first ()\fC [virtual slot]\fR" Moves the default cursor to the first record and refreshes the default form to display this record. If there is no default form or no default cursor, nothing happens. If the data browser successfully navigated to the first record, the default cursor is primed for update and the primeUpdate() signal is emitted. .PP If the browser is already positioned on the first record nothing happens. -.SH "void QDataBrowser::firstRecordAvailable ( bool available )\fC [signal]\fR" +.SH "void TQDataBrowser::firstRecordAvailable ( bool available )\fC [signal]\fR" This signal is emitted whenever the position of the cursor changes. The \fIavailable\fR parameter indicates whether or not the first record in the default cursor is available. -.SH "QSqlForm * QDataBrowser::form ()" +.SH "TQSqlForm * TQDataBrowser::form ()" Returns the data browser's default form or 0 if no form has been set. -.SH "void QDataBrowser::handleError ( const QSqlError & error )\fC [virtual protected]\fR" +.SH "void TQDataBrowser::handleError ( const TQSqlError & error )\fC [virtual protected]\fR" Virtual function which handles the error \fIerror\fR. The default implementation warns the user with a message box. -.SH "void QDataBrowser::insert ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::insert ()\fC [virtual slot]\fR" Performs an insert operation on the data browser's cursor. If there is no default cursor or no default form, nothing happens. .PP If auto-editing is on (see setAutoEdit()), the following happens: @@ -362,106 +362,106 @@ If there is an error handling any of the above auto-edit actions, handleError() .PP If no error occurred, or auto-editing is not enabled, the data browser begins actively inserting a record into the database by performing the following actions: .TP -The default cursor is primed for insert using QSqlCursor::primeInsert(). +The default cursor is primed for insert using TQSqlCursor::primeInsert(). .TP The primeInsert() signal is emitted. .TP The form is updated with the values in the default cursor's. edit buffer so that the user can fill in the values to be inserted. -.SH "bool QDataBrowser::insertCurrent ()\fC [virtual protected]\fR" +.SH "bool TQDataBrowser::insertCurrent ()\fC [virtual protected]\fR" Reads the fields from the default form into the default cursor and performs an insert on the default cursor. If there is no default form or no default cursor, nothing happens. If an error occurred during the insert into the database, handleError() is called and FALSE is returned. If the insert was successfull, the cursor is refreshed and relocated to the newly inserted record, the cursorChanged() signal is emitted, and TRUE is returned. .PP See also cursorChanged(), sqlCursor(), form(), and handleError(). -.SH "bool QDataBrowser::isReadOnly () const" +.SH "bool TQDataBrowser::isReadOnly () const" Returns TRUE if the browser is read-only; otherwise returns FALSE. See the "readOnly" property for details. -.SH "void QDataBrowser::last ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::last ()\fC [virtual slot]\fR" Moves the default cursor to the last record and refreshes the default form to display this record. If there is no default form or no default cursor, nothing happens. If the data browser successfully navigated to the last record, the default cursor is primed for update and the primeUpdate() signal is emitted. .PP If the browser is already positioned on the last record nothing happens. -.SH "void QDataBrowser::lastRecordAvailable ( bool available )\fC [signal]\fR" +.SH "void TQDataBrowser::lastRecordAvailable ( bool available )\fC [signal]\fR" This signal is emitted whenever the position of the cursor changes. The \fIavailable\fR parameter indicates whether or not the last record in the default cursor is available. -.SH "void QDataBrowser::next ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::next ()\fC [virtual slot]\fR" Moves the default cursor to the next record and refreshes the default form to display this record. If there is no default form or no default cursor, nothing happens. If the data browser successfully navigated to the next record, the default cursor is primed for update and the primeUpdate() signal is emitted. .PP If the browser is positioned on the last record nothing happens. -.SH "void QDataBrowser::nextRecordAvailable ( bool available )\fC [signal]\fR" +.SH "void TQDataBrowser::nextRecordAvailable ( bool available )\fC [signal]\fR" This signal is emitted whenever the position of the cursor changes. The \fIavailable\fR parameter indicates whether or not the next record in the default cursor is available. -.SH "void QDataBrowser::prev ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::prev ()\fC [virtual slot]\fR" Moves the default cursor to the previous record and refreshes the default form to display this record. If there is no default form or no default cursor, nothing happens. If the data browser successfully navigated to the previous record, the default cursor is primed for update and the primeUpdate() signal is emitted. .PP If the browser is positioned on the first record nothing happens. -.SH "void QDataBrowser::prevRecordAvailable ( bool available )\fC [signal]\fR" +.SH "void TQDataBrowser::prevRecordAvailable ( bool available )\fC [signal]\fR" This signal is emitted whenever the position of the cursor changes. The \fIavailable\fR parameter indicates whether or not the previous record in the default cursor is available. -.SH "void QDataBrowser::primeDelete ( QSqlRecord * buf )\fC [signal]\fR" -This signal is emitted when the data browser enters deletion mode. The \fIbuf\fR parameter points to the record buffer being deleted. (Note that QSqlCursor::primeDelete() is \fInot\fR called on the default cursor, as this would corrupt values in the form.) Connect to this signal in order to, for example, save a copy of the deleted record for auditing purposes. +.SH "void TQDataBrowser::primeDelete ( TQSqlRecord * buf )\fC [signal]\fR" +This signal is emitted when the data browser enters deletion mode. The \fIbuf\fR parameter points to the record buffer being deleted. (Note that TQSqlCursor::primeDelete() is \fInot\fR called on the default cursor, as this would corrupt values in the form.) Connect to this signal in order to, for example, save a copy of the deleted record for auditing purposes. .PP See also del(). -.SH "void QDataBrowser::primeInsert ( QSqlRecord * buf )\fC [signal]\fR" -This signal is emitted when the data browser enters insertion mode. The \fIbuf\fR parameter points to the record buffer that is to be inserted. Connect to this signal to, for example, prime the record buffer with default data values, auto-numbered fields etc. (Note that QSqlCursor::primeInsert() is \fInot\fR called on the default cursor, as this would corrupt values in the form.) +.SH "void TQDataBrowser::primeInsert ( TQSqlRecord * buf )\fC [signal]\fR" +This signal is emitted when the data browser enters insertion mode. The \fIbuf\fR parameter points to the record buffer that is to be inserted. Connect to this signal to, for example, prime the record buffer with default data values, auto-numbered fields etc. (Note that TQSqlCursor::primeInsert() is \fInot\fR called on the default cursor, as this would corrupt values in the form.) .PP See also insert(). -.SH "void QDataBrowser::primeUpdate ( QSqlRecord * buf )\fC [signal]\fR" -This signal is emitted when the data browser enters update mode. Note that during navigation (first(), last(), next(), prev()), each record that is shown in the default form is primed for update. The \fIbuf\fR parameter points to the record buffer being updated. (Note that QSqlCursor::primeUpdate() is \fInot\fR called on the default cursor, as this would corrupt values in the form.) Connect to this signal in order to, for example, keep track of which records have been updated, perhaps for auditing purposes. +.SH "void TQDataBrowser::primeUpdate ( TQSqlRecord * buf )\fC [signal]\fR" +This signal is emitted when the data browser enters update mode. Note that during navigation (first(), last(), next(), prev()), each record that is shown in the default form is primed for update. The \fIbuf\fR parameter points to the record buffer being updated. (Note that TQSqlCursor::primeUpdate() is \fInot\fR called on the default cursor, as this would corrupt values in the form.) Connect to this signal in order to, for example, keep track of which records have been updated, perhaps for auditing purposes. .PP See also update(). -.SH "void QDataBrowser::readFields ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::readFields ()\fC [virtual slot]\fR" Reads the fields from the default cursor's edit buffer and displays them in the form. If there is no default cursor or no default form, nothing happens. -.SH "void QDataBrowser::refresh ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::refresh ()\fC [virtual slot]\fR" Refreshes the data browser's data using the default cursor. The browser's current filter and sort are applied if they have been set. .PP See also filter and sort. -.SH "bool QDataBrowser::seek ( int i, bool relative = FALSE )\fC [virtual]\fR" +.SH "bool TQDataBrowser::seek ( int i, bool relative = FALSE )\fC [virtual]\fR" Moves the default cursor to the record specified by the index \fIi\fR and refreshes the default form to display this record. If there is no default form or no default cursor, nothing happens. If \fIrelative\fR is TRUE (the default is FALSE), the cursor is moved relative to its current position. If the data browser successfully navigated to the desired record, the default cursor is primed for update and the primeUpdate() signal is emitted. .PP If the browser is already positioned on the desired record nothing happens. -.SH "void QDataBrowser::setAutoEdit ( bool autoEdit )\fC [virtual]\fR" +.SH "void TQDataBrowser::setAutoEdit ( bool autoEdit )\fC [virtual]\fR" Sets whether the browser automatically applies edits to \fIautoEdit\fR. See the "autoEdit" property for details. -.SH "void QDataBrowser::setBoundaryChecking ( bool active )" +.SH "void TQDataBrowser::setBoundaryChecking ( bool active )" Sets whether boundary checking is active to \fIactive\fR. See the "boundaryChecking" property for details. -.SH "void QDataBrowser::setConfirmCancels ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataBrowser::setConfirmCancels ( bool confirm )\fC [virtual]\fR" Sets whether the browser confirms cancel operations to \fIconfirm\fR. See the "confirmCancels" property for details. -.SH "void QDataBrowser::setConfirmDelete ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataBrowser::setConfirmDelete ( bool confirm )\fC [virtual]\fR" Sets whether the browser confirms deletions to \fIconfirm\fR. See the "confirmDelete" property for details. -.SH "void QDataBrowser::setConfirmEdits ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataBrowser::setConfirmEdits ( bool confirm )\fC [virtual]\fR" Sets whether the browser confirms edits to \fIconfirm\fR. See the "confirmEdits" property for details. -.SH "void QDataBrowser::setConfirmInsert ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataBrowser::setConfirmInsert ( bool confirm )\fC [virtual]\fR" Sets whether the data browser confirms insertions to \fIconfirm\fR. See the "confirmInsert" property for details. -.SH "void QDataBrowser::setConfirmUpdate ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataBrowser::setConfirmUpdate ( bool confirm )\fC [virtual]\fR" Sets whether the browser confirms updates to \fIconfirm\fR. See the "confirmUpdate" property for details. -.SH "void QDataBrowser::setFilter ( const TQString & filter )" +.SH "void TQDataBrowser::setFilter ( const TQString & filter )" Sets the data browser's filter to \fIfilter\fR. See the "filter" property for details. -.SH "void QDataBrowser::setForm ( QSqlForm * form )\fC [virtual]\fR" +.SH "void TQDataBrowser::setForm ( TQSqlForm * form )\fC [virtual]\fR" Sets the browser's default form to \fIform\fR. The cursor and all navigation and data manipulation functions that the browser provides become available to the \fIform\fR. -.SH "void QDataBrowser::setReadOnly ( bool active )\fC [virtual]\fR" +.SH "void TQDataBrowser::setReadOnly ( bool active )\fC [virtual]\fR" Sets whether the browser is read-only to \fIactive\fR. See the "readOnly" property for details. -.SH "void QDataBrowser::setSort ( const QStringList & sort )" +.SH "void TQDataBrowser::setSort ( const QStringList & sort )" Sets the data browser's sort to \fIsort\fR. See the "sort" property for details. -.SH "void QDataBrowser::setSort ( const QSqlIndex & sort )" +.SH "void TQDataBrowser::setSort ( const TQSqlIndex & sort )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Sets the data browser's sort to the QSqlIndex \fIsort\fR. To apply the new sort, use refresh(). -.SH "void QDataBrowser::setSqlCursor ( QSqlCursor * cursor, bool autoDelete = FALSE )\fC [virtual]\fR" +Sets the data browser's sort to the TQSqlIndex \fIsort\fR. To apply the new sort, use refresh(). +.SH "void TQDataBrowser::setSqlCursor ( TQSqlCursor * cursor, bool autoDelete = FALSE )\fC [virtual]\fR" Sets the default cursor used by the data browser to \fIcursor\fR. If \fIautoDelete\fR is TRUE (the default is FALSE), the data browser takes ownership of the \fIcursor\fR pointer, which will be deleted when the browser is destroyed, or when setSqlCursor() is called again. To activate the \fIcursor\fR use refresh(). The cursor's edit buffer is used in the default form to browse and edit records. .PP See also sqlCursor(), form(), and setForm(). -.SH "QStringList QDataBrowser::sort () const" +.SH "QStringList TQDataBrowser::sort () const" Returns the data browser's sort. See the "sort" property for details. -.SH "QSqlCursor * QDataBrowser::sqlCursor () const" +.SH "TQSqlCursor * TQDataBrowser::sqlCursor () const" Returns the default cursor used for navigation, or 0 if there is no default cursor. .PP See also setSqlCursor(). -.SH "void QDataBrowser::update ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::update ()\fC [virtual slot]\fR" Performs an update operation on the data browser's cursor. .PP If there is no default cursor or no default form, nothing happens. Otherwise, the following happens: .PP If the data browser is actively inserting a record (see insert()), that record is inserted into the database using insertCurrent(). Otherwise, the database is updated with the current form's data using updateCurrent(). If there is an error handling either action, handleError() is called. -.SH "void QDataBrowser::updateBoundary ()\fC [slot]\fR" +.SH "void TQDataBrowser::updateBoundary ()\fC [slot]\fR" If boundaryChecking() is TRUE, checks the boundary of the current default cursor and emits signals which indicate the position of the cursor. -.SH "bool QDataBrowser::updateCurrent ()\fC [virtual protected]\fR" +.SH "bool TQDataBrowser::updateCurrent ()\fC [virtual protected]\fR" Reads the fields from the default form into the default cursor and performs an update on the default cursor. If there is no default form or no default cursor, nothing happens. If an error occurred during the update on the database, handleError() is called and FALSE is returned. If the update was successfull, the cursor is refreshed and relocated to the updated record, the cursorChanged() signal is emitted, and TRUE is returned. .PP See also cursor, form(), and handleError(). -.SH "void QDataBrowser::writeFields ()\fC [virtual slot]\fR" +.SH "void TQDataBrowser::writeFields ()\fC [virtual slot]\fR" Writes the form's data to the default cursor's edit buffer. If there is no default cursor or no default form, nothing happens. .SS "Property Documentation" .SH "bool autoEdit" @@ -568,7 +568,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, Set this property's value with setSort() and get this property's value with sort(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdatabrowser.html +.BR http://doc.trolltech.com/tqdatabrowser.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt index 88358f581..866cd07a0 100644 --- a/doc/man/man3/tqdatatable.3qt +++ b/doc/man/man3/tqdatatable.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDataTable 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDataTable 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QDataTable \- Flexible SQL table widget that supports browsing and editing +TQDataTable \- Flexible SQL table widget that supports browsing and editing .SH SYNOPSIS -\fC#include <ntqdatatable.h>\fR +\fC#include <tqdatatable.h>\fR .PP Inherits QTable. .PP @@ -19,10 +19,10 @@ Inherits QTable. .BI "\fBQDataTable\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQDataTable\fR ( QSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBQDataTable\fR ( TQSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QDataTable\fR ()" +.BI "\fB~TQDataTable\fR ()" .br .ti -1c .BI "virtual void \fBaddColumn\fR ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )" @@ -73,10 +73,10 @@ Inherits QTable. .BI "QStringList \fBsort\fR () const" .br .ti -1c -.BI "virtual void \fBsetSqlCursor\fR ( QSqlCursor * cursor = 0, bool autoPopulate = FALSE, bool autoDelete = FALSE )" +.BI "virtual void \fBsetSqlCursor\fR ( TQSqlCursor * cursor = 0, bool autoPopulate = FALSE, bool autoDelete = FALSE )" .br .ti -1c -.BI "QSqlCursor * \fBsqlCursor\fR () const" +.BI "TQSqlCursor * \fBsqlCursor\fR () const" .br .ti -1c .BI "virtual void \fBsetNullText\fR ( const TQString & nullText )" @@ -118,7 +118,7 @@ Inherits QTable. .BI "virtual void \fBsetSort\fR ( const QStringList & sort )" .br .ti -1c -.BI "virtual void \fBsetSort\fR ( const QSqlIndex & sort )" +.BI "virtual void \fBsetSort\fR ( const TQSqlIndex & sort )" .br .ti -1c .BI "enum \fBRefresh\fR { RefreshData = 1, RefreshColumns = 2, RefreshAll = 3 }" @@ -136,13 +136,13 @@ Inherits QTable. .BI "QVariant \fBvalue\fR ( int row, int col ) const" .br .ti -1c -.BI "QSqlRecord * \fBcurrentRecord\fR () const" +.BI "TQSqlRecord * \fBcurrentRecord\fR () const" .br .ti -1c -.BI "void \fBinstallEditorFactory\fR ( QSqlEditorFactory * f )" +.BI "void \fBinstallEditorFactory\fR ( TQSqlEditorFactory * f )" .br .ti -1c -.BI "void \fBinstallPropertyMap\fR ( QSqlPropertyMap * m )" +.BI "void \fBinstallPropertyMap\fR ( TQSqlPropertyMap * m )" .br .ti -1c .BI "virtual int \fBnumCols\fR () const" @@ -175,28 +175,28 @@ Inherits QTable. .SS "Signals" .in +1c .ti -1c -.BI "void \fBcurrentChanged\fR ( QSqlRecord * record )" +.BI "void \fBcurrentChanged\fR ( TQSqlRecord * record )" .br .ti -1c -.BI "void \fBprimeInsert\fR ( QSqlRecord * buf )" +.BI "void \fBprimeInsert\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBprimeUpdate\fR ( QSqlRecord * buf )" +.BI "void \fBprimeUpdate\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBprimeDelete\fR ( QSqlRecord * buf )" +.BI "void \fBprimeDelete\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBbeforeInsert\fR ( QSqlRecord * buf )" +.BI "void \fBbeforeInsert\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBbeforeUpdate\fR ( QSqlRecord * buf )" +.BI "void \fBbeforeUpdate\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBbeforeDelete\fR ( QSqlRecord * buf )" +.BI "void \fBbeforeDelete\fR ( TQSqlRecord * buf )" .br .ti -1c -.BI "void \fBcursorChanged\fR ( QSql::Op mode )" +.BI "void \fBcursorChanged\fR ( TQSql::Op mode )" .br .in -1c .SS "Properties" @@ -256,13 +256,13 @@ Inherits QTable. .BI "virtual bool \fBdeleteCurrent\fR ()" .br .ti -1c -.BI "virtual QSql::Confirm \fBconfirmEdit\fR ( QSql::Op m )" +.BI "virtual TQSql::Confirm \fBconfirmEdit\fR ( TQSql::Op m )" .br .ti -1c -.BI "virtual QSql::Confirm \fBconfirmCancel\fR ( QSql::Op m )" +.BI "virtual TQSql::Confirm \fBconfirmCancel\fR ( TQSql::Op m )" .br .ti -1c -.BI "virtual void \fBhandleError\fR ( const QSqlError & e )" +.BI "virtual void \fBhandleError\fR ( const TQSqlError & e )" .br .ti -1c .BI "virtual bool \fBbeginInsert\fR ()" @@ -277,33 +277,33 @@ Inherits QTable. .BI "void \fBreset\fR ()" .br .ti -1c -.BI "void \fBsetSize\fR ( QSqlCursor * sql )" +.BI "void \fBsetSize\fR ( TQSqlCursor * sql )" .br .ti -1c -.BI "virtual void \fBpaintField\fR ( QPainter * p, const QSqlField * field, const QRect & cr, bool selected )" +.BI "virtual void \fBpaintField\fR ( QPainter * p, const TQSqlField * field, const QRect & cr, bool selected )" .br .ti -1c -.BI "virtual int \fBfieldAlignment\fR ( const QSqlField * field )" +.BI "virtual int \fBfieldAlignment\fR ( const TQSqlField * field )" .br .in -1c .SH DESCRIPTION -The QDataTable class provides a flexible SQL table widget that supports browsing and editing. +The TQDataTable class provides a flexible SQL table widget that supports browsing and editing. .PP -QDataTable supports various functions for presenting and editing SQL data from a QSqlCursor in a table. +TQDataTable supports various functions for presenting and editing SQL data from a TQSqlCursor in a table. .PP -If you want a to present your data in a form use QDataBrowser, or for read-only forms, QDataView. +If you want a to present your data in a form use TQDataBrowser, or for read-only forms, TQDataView. .PP -When displaying data, QDataTable only retrieves data for visible rows. If the driver supports the 'query size' property the QDataTable will have the correct number of rows and the vertical scrollbar will accurately reflect the number of rows displayed in proportion to the number of rows in the dataset. If the driver does not support the 'query size' property, rows are dynamically fetched from the database on an as-needed basis with the scrollbar becoming more accurate as the user scrolls down through the records. This allows extremely large queries to be displayed as quickly as possible, with minimum memory usage. +When displaying data, TQDataTable only retrieves data for visible rows. If the driver supports the 'query size' property the TQDataTable will have the correct number of rows and the vertical scrollbar will accurately reflect the number of rows displayed in proportion to the number of rows in the dataset. If the driver does not support the 'query size' property, rows are dynamically fetched from the database on an as-needed basis with the scrollbar becoming more accurate as the user scrolls down through the records. This allows extremely large queries to be displayed as quickly as possible, with minimum memory usage. .PP -QDataTable inherits QTable's API and extends it with functions to sort and filter the data and sort columns. See setSqlCursor(), setFilter(), setSort(), setSorting(), sortColumn() and refresh(). +TQDataTable inherits QTable's API and extends it with functions to sort and filter the data and sort columns. See setSqlCursor(), setFilter(), setSort(), setSorting(), sortColumn() and refresh(). .PP -When displaying editable cursors, cell editing will be enabled. (For more information on editable cursors, see QSqlCursor). QDataTable can be used to modify existing data and to add new records. When a user makes changes to a field in the table, the cursor's edit buffer is used. The table will not send changes in the edit buffer to the database until the user moves to a different record in the grid or presses Enter. Cell editing is initiated by pressing F2 (or right clicking and then clicking the appropriate popup menu item) and canceled by pressing Esc. If there is a problem updating or adding data, errors are handled automatically (see handleError() to change this behavior). Note that if autoEdit() is FALSE navigating to another record will cancel the insert or update. +When displaying editable cursors, cell editing will be enabled. (For more information on editable cursors, see TQSqlCursor). TQDataTable can be used to modify existing data and to add new records. When a user makes changes to a field in the table, the cursor's edit buffer is used. The table will not send changes in the edit buffer to the database until the user moves to a different record in the grid or presses Enter. Cell editing is initiated by pressing F2 (or right clicking and then clicking the appropriate popup menu item) and canceled by pressing Esc. If there is a problem updating or adding data, errors are handled automatically (see handleError() to change this behavior). Note that if autoEdit() is FALSE navigating to another record will cancel the insert or update. .PP -The user can be asked to confirm all edits with setConfirmEdits(). For more precise control use setConfirmInsert(), setConfirmUpdate(), setConfirmDelete() and setConfirmCancels(). Use setAutoEdit() to control the behaviour of the table when the user edits a record and then navigates. (Note that setAutoDelete() is unrelated; it is used to set whether the QSqlCursor is deleted when the table is deleted.) +The user can be asked to confirm all edits with setConfirmEdits(). For more precise control use setConfirmInsert(), setConfirmUpdate(), setConfirmDelete() and setConfirmCancels(). Use setAutoEdit() to control the behaviour of the table when the user edits a record and then navigates. (Note that setAutoDelete() is unrelated; it is used to set whether the TQSqlCursor is deleted when the table is deleted.) .PP Since the data table can perform edits, it must be able to uniquely identify every record so that edits are correctly applied. Because of this the underlying cursor must have a valid primary index to ensure that a unique record is inserted, updated or deleted within the database otherwise the database may be changed to an inconsistent state. .PP -QDataTable creates editors using the default QSqlEditorFactory. Different editor factories can be used by calling installEditorFactory(). A property map is used to map between the cell's value and the editor. You can use your own property map with installPropertyMap(). +TQDataTable creates editors using the default TQSqlEditorFactory. Different editor factories can be used by calling installEditorFactory(). A property map is used to map between the cell's value and the editor. You can use your own property map with installPropertyMap(). .PP The contents of a cell is available as a TQString with text() or as a QVariant with value(). The current record is returned by currentRecord(). Use the find() function to search for a string in the table. .PP @@ -311,7 +311,7 @@ Editing actions can be applied programatically. For example, the insertCurrent() .PP Columns in the table can be created automatically based on the cursor (see setSqlCursor()). Columns can be manipulated manually using addColumn(), removeColumn() and setColumn(). .PP -The table automatically copies many of the properties of the cursor to format the display of data within cells (alignment, visibility, etc.). The cursor can be changed with setSqlCursor(). The filter (see setFilter()) and sort defined within the table are used instead of the filter and sort set on the cursor. For sorting options see setSort(), sortColumn(), sortAscending() and sortDescending(). Note that sorting operations will not behave as expected if you are using a QSqlSelectCursor because it uses user-defined SQL queries to obtain data. +The table automatically copies many of the properties of the cursor to format the display of data within cells (alignment, visibility, etc.). The cursor can be changed with setSqlCursor(). The filter (see setFilter()) and sort defined within the table are used instead of the filter and sort set on the cursor. For sorting options see setSort(), sortColumn(), sortAscending() and sortDescending(). Note that sorting operations will not behave as expected if you are using a TQSqlSelectCursor because it uses user-defined SQL queries to obtain data. .PP The text used to represent NULL, TRUE and FALSE values can be changed with setNullText(), setTrueText() and setFalseText() respectively. You can change the appearance of cells by reimplementing paintField(). .PP @@ -319,7 +319,7 @@ Whenever a new row is selected in the table the currentChanged() signal is emitt .PP See also Database Classes. .SS "Member Type Documentation" -.SH "QDataTable::Refresh" +.SH "TQDataTable::Refresh" This enum describes the refresh options. .TP \fCQDataTable::RefreshData\fR - refresh the data, i.e. read it from the database @@ -328,17 +328,17 @@ This enum describes the refresh options. .TP \fCQDataTable::RefreshAll\fR - refresh both the data and the list of fields .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDataTable::QDataTable ( TQWidget * parent = 0, const char * name = 0 )" +.SH "TQDataTable::TQDataTable ( TQWidget * parent = 0, const char * name = 0 )" Constructs a data table which is a child of \fIparent\fR, called name \fIname\fR. -.SH "QDataTable::QDataTable ( QSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" +.SH "TQDataTable::TQDataTable ( TQSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" Constructs a data table which is a child of \fIparent\fR, called name \fIname\fR using the cursor \fIcursor\fR. .PP If \fIautoPopulate\fR is TRUE (the default is FALSE), columns are automatically created based upon the fields in the \fIcursor\fR record. Note that \fIautoPopulate\fR only governs the creation of columns; to load the cursor's data into the table use refresh(). .PP If the \fIcursor\fR is read-only, the table also becomes read-only. In addition, the table adopts the cursor's driver's definition for representing NULL values as strings. -.SH "QDataTable::~QDataTable ()" +.SH "TQDataTable::~TQDataTable ()" Destroys the object and frees any allocated resources. -.SH "void QDataTable::addColumn ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )\fC [virtual]\fR" +.SH "void TQDataTable::addColumn ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )\fC [virtual]\fR" Adds the next column to be displayed using the field \fIfieldName\fR, column label \fIlabel\fR, width \fIwidth\fR and iconset \fIiconset\fR. .PP If \fIlabel\fR is specified, it is used as the column's header label, otherwise the field's display label is used when setSqlCursor() is called. The \fIiconset\fR is used to set the icon used by the column header; by default there is no icon. @@ -347,206 +347,206 @@ See also setSqlCursor() and refresh(). .PP Examples: .)l sql/overview/subclass1/main.cpp, sql/overview/subclass3/main.cpp, sql/overview/table2/main.cpp, and sql/sqltable/main.cpp. -.SH "void QDataTable::adjustColumn ( int col )\fC [virtual slot]\fR" -Resizes column \fIcol\fR so that the column width is wide enough to display the widest item the column contains (including the column label). If the table's QSqlCursor is not currently active, the cursor will be refreshed before the column width is calculated. Be aware that this function may be slow on tables that contain large result sets. +.SH "void TQDataTable::adjustColumn ( int col )\fC [virtual slot]\fR" +Resizes column \fIcol\fR so that the column width is wide enough to display the widest item the column contains (including the column label). If the table's TQSqlCursor is not currently active, the cursor will be refreshed before the column width is calculated. Be aware that this function may be slow on tables that contain large result sets. .PP Reimplemented from QTable. -.SH "bool QDataTable::autoDelete () const" +.SH "bool TQDataTable::autoDelete () const" Returns TRUE if the table will automatically delete the cursor specified by setSqlCursor(); otherwise returns FALSE. -.SH "bool QDataTable::autoEdit () const" +.SH "bool TQDataTable::autoEdit () const" Returns TRUE if the data table automatically applies edits; otherwise returns FALSE. See the "autoEdit" property for details. -.SH "void QDataTable::beforeDelete ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataTable::beforeDelete ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted just before the currently selected record is deleted from the database. The \fIbuf\fR parameter points to the edit buffer being deleted. Connect to this signal to, for example, copy some of the fields for later use. -.SH "void QDataTable::beforeInsert ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataTable::beforeInsert ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted just before the cursor's edit buffer is inserted into the database. The \fIbuf\fR parameter points to the edit buffer being inserted. Connect to this signal to, for example, populate a key field with a unique sequence number. -.SH "void QDataTable::beforeUpdate ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataTable::beforeUpdate ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted just before the cursor's edit buffer is updated in the database. The \fIbuf\fR parameter points to the edit buffer being updated. Connect to this signal when you want to transform the user's data behind-the-scenes. -.SH "bool QDataTable::beginInsert ()\fC [virtual protected]\fR" +.SH "bool TQDataTable::beginInsert ()\fC [virtual protected]\fR" Protected virtual function called when editing is about to begin on a new record. If the table is read-only, or if there's no cursor or the cursor does not allow inserts, nothing happens. .PP -Editing takes place using the cursor's edit buffer(see QSqlCursor::editBuffer()). +Editing takes place using the cursor's edit buffer(see TQSqlCursor::editBuffer()). .PP When editing begins, a new row is created in the table marked with an asterisk '*' in the row's vertical header column, i.e. at the left of the row. -.SH "TQWidget * QDataTable::beginUpdate ( int row, int col, bool replace )\fC [virtual protected]\fR" +.SH "TQWidget * TQDataTable::beginUpdate ( int row, int col, bool replace )\fC [virtual protected]\fR" Protected virtual function called when editing is about to begin on an existing row. If the table is read-only, or if there's no cursor, nothing happens. .PP -Editing takes place using the cursor's edit buffer (see QSqlCursor::editBuffer()). +Editing takes place using the cursor's edit buffer (see TQSqlCursor::editBuffer()). .PP -\fIrow\fR and \fIcol\fR refer to the row and column in the QDataTable. +\fIrow\fR and \fIcol\fR refer to the row and column in the TQDataTable. .PP (\fIreplace\fR is provided for reimplementors and reflects the API of QTable::beginEdit().) -.SH "QSql::Confirm QDataTable::confirmCancel ( QSql::Op m )\fC [virtual protected]\fR" +.SH "TQSql::Confirm TQDataTable::confirmCancel ( TQSql::Op m )\fC [virtual protected]\fR" Protected virtual function which returns a confirmation for cancelling an edit mode of \fIm\fR. Derived classes can reimplement this function to provide their own cancel dialog. The default implementation uses a message box which prompts the user to confirm the cancel. -.SH "bool QDataTable::confirmCancels () const" +.SH "bool TQDataTable::confirmCancels () const" Returns TRUE if the data table confirms cancel operations; otherwise returns FALSE. See the "confirmCancels" property for details. -.SH "bool QDataTable::confirmDelete () const" +.SH "bool TQDataTable::confirmDelete () const" Returns TRUE if the data table confirms delete operations; otherwise returns FALSE. See the "confirmDelete" property for details. -.SH "QSql::Confirm QDataTable::confirmEdit ( QSql::Op m )\fC [virtual protected]\fR" +.SH "TQSql::Confirm TQDataTable::confirmEdit ( TQSql::Op m )\fC [virtual protected]\fR" Protected virtual function which returns a confirmation for an edit of mode \fIm\fR. Derived classes can reimplement this function to provide their own confirmation dialog. The default implementation uses a message box which prompts the user to confirm the edit action. -.SH "bool QDataTable::confirmEdits () const" +.SH "bool TQDataTable::confirmEdits () const" Returns TRUE if the data table confirms edit operations; otherwise returns FALSE. See the "confirmEdits" property for details. -.SH "bool QDataTable::confirmInsert () const" +.SH "bool TQDataTable::confirmInsert () const" Returns TRUE if the data table confirms insert operations; otherwise returns FALSE. See the "confirmInsert" property for details. -.SH "bool QDataTable::confirmUpdate () const" +.SH "bool TQDataTable::confirmUpdate () const" Returns TRUE if the data table confirms update operations; otherwise returns FALSE. See the "confirmUpdate" property for details. -.SH "void QDataTable::currentChanged ( QSqlRecord * record )\fC [signal]\fR" +.SH "void TQDataTable::currentChanged ( TQSqlRecord * record )\fC [signal]\fR" This signal is emitted whenever a new row is selected in the table. The \fIrecord\fR parameter points to the contents of the newly selected record. -.SH "QSqlRecord * QDataTable::currentRecord () const" +.SH "TQSqlRecord * TQDataTable::currentRecord () const" Returns the currently selected record, or 0 if there is no current selection. The table owns the pointer, so do \fInot\fR delete it or otherwise modify it or the cursor it points to. -.SH "void QDataTable::cursorChanged ( QSql::Op mode )\fC [signal]\fR" +.SH "void TQDataTable::cursorChanged ( TQSql::Op mode )\fC [signal]\fR" This signal is emitted whenever the cursor record was changed due to an edit. The \fImode\fR parameter is the type of edit that just took place. -.SH "DateFormat QDataTable::dateFormat () const" +.SH "DateFormat TQDataTable::dateFormat () const" Returns the format used for displaying date/time values. See the "dateFormat" property for details. -.SH "bool QDataTable::deleteCurrent ()\fC [virtual protected]\fR" +.SH "bool TQDataTable::deleteCurrent ()\fC [virtual protected]\fR" For an editable table, issues a delete on the current cursor's primary index using the values of the currently selected row. If there is no current cursor or there is no current selection, nothing happens. If confirmEdits() or confirmDelete() is TRUE, confirmEdit() is called to confirm the delete. Returns TRUE if the delete succeeded; otherwise FALSE. .PP The underlying cursor must have a valid primary index to ensure that a unique record is deleted within the database otherwise the database may be changed to an inconsistent state. -.SH "TQString QDataTable::falseText () const" +.SH "TQString TQDataTable::falseText () const" Returns the text used to represent false values. See the "falseText" property for details. -.SH "int QDataTable::fieldAlignment ( const QSqlField * field )\fC [virtual protected]\fR" +.SH "int TQDataTable::fieldAlignment ( const TQSqlField * field )\fC [virtual protected]\fR" Returns the alignment for \fIfield\fR. -.SH "TQString QDataTable::filter () const" +.SH "TQString TQDataTable::filter () const" Returns the data filter for the data table. See the "filter" property for details. -.SH "void QDataTable::find ( const TQString & str, bool caseSensitive, bool backwards )\fC [virtual slot]\fR" +.SH "void TQDataTable::find ( const TQString & str, bool caseSensitive, bool backwards )\fC [virtual slot]\fR" Searches the current cursor for a cell containing the string \fIstr\fR starting at the current cell and working forwards (or backwards if \fIbackwards\fR is TRUE). If the string is found, the cell containing the string is set as the current cell. If \fIcaseSensitive\fR is FALSE the case of \fIstr\fR will be ignored. .PP The search will wrap, i.e. if the first (or if backwards is TRUE, last) cell is reached without finding \fIstr\fR the search will continue until it reaches the starting cell. If \fIstr\fR is not found the search will fail and the current cell will remain unchanged. -.SH "void QDataTable::handleError ( const QSqlError & e )\fC [virtual protected]\fR" +.SH "void TQDataTable::handleError ( const TQSqlError & e )\fC [virtual protected]\fR" Protected virtual function which is called when an error \fIe\fR has occurred on the current cursor(). The default implementation displays a warning message to the user with information about the error. -.SH "int QDataTable::indexOf ( uint i ) const\fC [protected]\fR" +.SH "int TQDataTable::indexOf ( uint i ) const\fC [protected]\fR" Returns the index of the field within the current SQL query that is displayed in column \fIi\fR. -.SH "bool QDataTable::insertCurrent ()\fC [virtual protected]\fR" +.SH "bool TQDataTable::insertCurrent ()\fC [virtual protected]\fR" For an editable table, issues an insert on the current cursor using the values in the cursor's edit buffer. If there is no current cursor or there is no current "insert" row, nothing happens. If confirmEdits() or confirmInsert() is TRUE, confirmEdit() is called to confirm the insert. Returns TRUE if the insert succeeded; otherwise returns FALSE. .PP The underlying cursor must have a valid primary index to ensure that a unique record is inserted within the database otherwise the database may be changed to an inconsistent state. -.SH "void QDataTable::installEditorFactory ( QSqlEditorFactory * f )" -Installs a new SQL editor factory \fIf\fR. This enables the user to create and instantiate their own editors for use in cell editing. Note that QDataTable takes ownership of this pointer, and will delete it when it is no longer needed or when installEditorFactory() is called again. +.SH "void TQDataTable::installEditorFactory ( TQSqlEditorFactory * f )" +Installs a new SQL editor factory \fIf\fR. This enables the user to create and instantiate their own editors for use in cell editing. Note that TQDataTable takes ownership of this pointer, and will delete it when it is no longer needed or when installEditorFactory() is called again. .PP -See also QSqlEditorFactory. -.SH "void QDataTable::installPropertyMap ( QSqlPropertyMap * m )" -Installs a new property map \fIm\fR. This enables the user to create and instantiate their own property maps for use in cell editing. Note that QDataTable takes ownership of this pointer, and will delete it when it is no longer needed or when installPropertMap() is called again. +See also TQSqlEditorFactory. +.SH "void TQDataTable::installPropertyMap ( TQSqlPropertyMap * m )" +Installs a new property map \fIm\fR. This enables the user to create and instantiate their own property maps for use in cell editing. Note that TQDataTable takes ownership of this pointer, and will delete it when it is no longer needed or when installPropertMap() is called again. .PP -See also QSqlPropertyMap. -.SH "TQString QDataTable::nullText () const" +See also TQSqlPropertyMap. +.SH "TQString TQDataTable::nullText () const" Returns the text used to represent NULL values. See the "nullText" property for details. -.SH "int QDataTable::numCols () const\fC [virtual]\fR" +.SH "int TQDataTable::numCols () const\fC [virtual]\fR" Returns the number of columns in the table. See the "numCols" property for details. .PP Reimplemented from QTable. -.SH "int QDataTable::numRows () const\fC [virtual]\fR" +.SH "int TQDataTable::numRows () const\fC [virtual]\fR" Returns the number of rows in the table. See the "numRows" property for details. .PP Reimplemented from QTable. -.SH "void QDataTable::paintField ( QPainter * p, const QSqlField * field, const QRect & cr, bool selected )\fC [virtual protected]\fR" +.SH "void TQDataTable::paintField ( QPainter * p, const TQSqlField * field, const QRect & cr, bool selected )\fC [virtual protected]\fR" Paints the \fIfield\fR on the painter \fIp\fR. The painter has already been translated to the appropriate cell's origin where the \fIfield\fR is to be rendered. \fIcr\fR describes the cell coordinates in the content coordinate system. The \fIselected\fR parameter is ignored. .PP If you want to draw custom field content you must reimplement paintField() to do the custom drawing. The default implementation renders the \fIfield\fR value as text. If the field is NULL, nullText() is displayed in the cell. If the field is Boolean, trueText() or falseText() is displayed as appropriate. .PP Example: sql/overview/table4/main.cpp. -.SH "void QDataTable::primeDelete ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataTable::primeDelete ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted after the cursor is primed for delete by the table, when a delete action is beginning on the table. The \fIbuf\fR parameter points to the edit buffer being deleted. Connect to this signal in order to, for example, record auditing information on deletions. -.SH "void QDataTable::primeInsert ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataTable::primeInsert ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted after the cursor is primed for insert by the table, when an insert action is beginning on the table. The \fIbuf\fR parameter points to the edit buffer being inserted. Connect to this signal in order to, for example, prime the record buffer with default data values. -.SH "void QDataTable::primeUpdate ( QSqlRecord * buf )\fC [signal]\fR" +.SH "void TQDataTable::primeUpdate ( TQSqlRecord * buf )\fC [signal]\fR" This signal is emitted after the cursor is primed for update by the table, when an update action is beginning on the table. The \fIbuf\fR parameter points to the edit buffer being updated. Connect to this signal in order to, for example, provide some visual feedback that the user is in 'edit mode'. -.SH "void QDataTable::refresh ()\fC [virtual slot]\fR" -Refreshes the table. The cursor is refreshed using the current filter, the current sort, and the currently defined columns. Equivalent to calling refresh( QDataTable::RefreshData ). +.SH "void TQDataTable::refresh ()\fC [virtual slot]\fR" +Refreshes the table. The cursor is refreshed using the current filter, the current sort, and the currently defined columns. Equivalent to calling refresh( TQDataTable::RefreshData ). .PP Examples: .)l sql/overview/subclass1/main.cpp, sql/overview/table1/main.cpp, sql/overview/table2/main.cpp, and sql/sqltable/main.cpp. -.SH "void QDataTable::refresh ( Refresh mode )" +.SH "void TQDataTable::refresh ( Refresh mode )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Refreshes the table. If there is no currently defined cursor (see setSqlCursor()), nothing happens. The \fImode\fR parameter determines which type of refresh will take place. .PP See also Refresh, setSqlCursor(), and addColumn(). -.SH "void QDataTable::removeColumn ( uint col )\fC [virtual]\fR" +.SH "void TQDataTable::removeColumn ( uint col )\fC [virtual]\fR" Removes column \fIcol\fR from the list of columns to be displayed. If \fIcol\fR does not exist, nothing happens. .PP -See also QSqlField. -.SH "void QDataTable::reset ()\fC [protected]\fR" +See also TQSqlField. +.SH "void TQDataTable::reset ()\fC [protected]\fR" Resets the table so that it displays no data. .PP See also setSqlCursor(). -.SH "void QDataTable::setAutoDelete ( bool enable )\fC [virtual]\fR" +.SH "void TQDataTable::setAutoDelete ( bool enable )\fC [virtual]\fR" Sets the cursor auto-delete flag to \fIenable\fR. If \fIenable\fR is TRUE, the table will automatically delete the cursor specified by setSqlCursor(). If \fIenable\fR is FALSE (the default), the cursor will not be deleted. -.SH "void QDataTable::setAutoEdit ( bool autoEdit )\fC [virtual]\fR" +.SH "void TQDataTable::setAutoEdit ( bool autoEdit )\fC [virtual]\fR" Sets whether the data table automatically applies edits to \fIautoEdit\fR. See the "autoEdit" property for details. -.SH "void QDataTable::setColumn ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )\fC [virtual]\fR" +.SH "void TQDataTable::setColumn ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )\fC [virtual]\fR" Sets the \fIcol\fR column to display using the field \fIfieldName\fR, column label \fIlabel\fR, width \fIwidth\fR and iconset \fIiconset\fR. .PP If \fIlabel\fR is specified, it is used as the column's header label, otherwise the field's display label is used when setSqlCursor() is called. The \fIiconset\fR is used to set the icon used by the column header; by default there is no icon. .PP See also setSqlCursor() and refresh(). -.SH "void QDataTable::setColumnWidth ( int col, int w )\fC [virtual slot]\fR" -Sets the column \fIcol\fR to the width \fIw\fR. Note that unlike QTable the QDataTable is not immediately redrawn, you must call refresh(QDataTable::RefreshColumns) yourself. +.SH "void TQDataTable::setColumnWidth ( int col, int w )\fC [virtual slot]\fR" +Sets the column \fIcol\fR to the width \fIw\fR. Note that unlike QTable the TQDataTable is not immediately redrawn, you must call refresh(TQDataTable::RefreshColumns) yourself. .PP See also refresh(). .PP Reimplemented from QTable. -.SH "void QDataTable::setConfirmCancels ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataTable::setConfirmCancels ( bool confirm )\fC [virtual]\fR" Sets whether the data table confirms cancel operations to \fIconfirm\fR. See the "confirmCancels" property for details. -.SH "void QDataTable::setConfirmDelete ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataTable::setConfirmDelete ( bool confirm )\fC [virtual]\fR" Sets whether the data table confirms delete operations to \fIconfirm\fR. See the "confirmDelete" property for details. -.SH "void QDataTable::setConfirmEdits ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataTable::setConfirmEdits ( bool confirm )\fC [virtual]\fR" Sets whether the data table confirms edit operations to \fIconfirm\fR. See the "confirmEdits" property for details. -.SH "void QDataTable::setConfirmInsert ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataTable::setConfirmInsert ( bool confirm )\fC [virtual]\fR" Sets whether the data table confirms insert operations to \fIconfirm\fR. See the "confirmInsert" property for details. -.SH "void QDataTable::setConfirmUpdate ( bool confirm )\fC [virtual]\fR" +.SH "void TQDataTable::setConfirmUpdate ( bool confirm )\fC [virtual]\fR" Sets whether the data table confirms update operations to \fIconfirm\fR. See the "confirmUpdate" property for details. -.SH "void QDataTable::setDateFormat ( const DateFormat f )\fC [virtual]\fR" +.SH "void TQDataTable::setDateFormat ( const DateFormat f )\fC [virtual]\fR" Sets the format used for displaying date/time values to \fIf\fR. See the "dateFormat" property for details. -.SH "void QDataTable::setFalseText ( const TQString & falseText )\fC [virtual]\fR" +.SH "void TQDataTable::setFalseText ( const TQString & falseText )\fC [virtual]\fR" Sets the text used to represent false values to \fIfalseText\fR. See the "falseText" property for details. -.SH "void QDataTable::setFilter ( const TQString & filter )\fC [virtual]\fR" +.SH "void TQDataTable::setFilter ( const TQString & filter )\fC [virtual]\fR" Sets the data filter for the data table to \fIfilter\fR. See the "filter" property for details. -.SH "void QDataTable::setNullText ( const TQString & nullText )\fC [virtual]\fR" +.SH "void TQDataTable::setNullText ( const TQString & nullText )\fC [virtual]\fR" Sets the text used to represent NULL values to \fInullText\fR. See the "nullText" property for details. -.SH "void QDataTable::setSize ( QSqlCursor * sql )\fC [protected]\fR" +.SH "void TQDataTable::setSize ( TQSqlCursor * sql )\fC [protected]\fR" If the cursor's \fIsql\fR driver supports query sizes, the number of rows in the table is set to the size of the query. Otherwise, the table dynamically resizes itself as it is scrolled. If \fIsql\fR is not active, it is made active by issuing a select() on the cursor using the \fIsql\fR cursor's current filter and current sort. -.SH "void QDataTable::setSort ( const QStringList & sort )\fC [virtual]\fR" +.SH "void TQDataTable::setSort ( const QStringList & sort )\fC [virtual]\fR" Sets the data table's sort to \fIsort\fR. See the "sort" property for details. -.SH "void QDataTable::setSort ( const QSqlIndex & sort )\fC [virtual]\fR" +.SH "void TQDataTable::setSort ( const TQSqlIndex & sort )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Sets the sort to be applied to the displayed data to \fIsort\fR. If there is no current cursor, nothing happens. A QSqlIndex contains field names and their ordering (ASC or DESC); these are used to compose the ORDER BY clause. +Sets the sort to be applied to the displayed data to \fIsort\fR. If there is no current cursor, nothing happens. A TQSqlIndex contains field names and their ordering (ASC or DESC); these are used to compose the ORDER BY clause. .PP See also sort. -.SH "void QDataTable::setSqlCursor ( QSqlCursor * cursor = 0, bool autoPopulate = FALSE, bool autoDelete = FALSE )\fC [virtual]\fR" +.SH "void TQDataTable::setSqlCursor ( TQSqlCursor * cursor = 0, bool autoPopulate = FALSE, bool autoDelete = FALSE )\fC [virtual]\fR" Sets \fIcursor\fR as the data source for the table. To force the display of the data from \fIcursor\fR, use refresh(). If \fIautoPopulate\fR is TRUE, columns are automatically created based upon the fields in the \fIcursor\fR record. If \fIautoDelete\fR is TRUE (the default is FALSE), the table will take ownership of the \fIcursor\fR and delete it when appropriate. If the \fIcursor\fR is read-only, the table becomes read-only. The table adopts the cursor's driver's definition for representing NULL values as strings. .PP -See also refresh(), readOnly, setAutoDelete(), and QSqlDriver::nullText(). -.SH "void QDataTable::setTrueText ( const TQString & trueText )\fC [virtual]\fR" +See also refresh(), readOnly, setAutoDelete(), and TQSqlDriver::nullText(). +.SH "void TQDataTable::setTrueText ( const TQString & trueText )\fC [virtual]\fR" Sets the text used to represent true values to \fItrueText\fR. See the "trueText" property for details. -.SH "QStringList QDataTable::sort () const" +.SH "QStringList TQDataTable::sort () const" Returns the data table's sort. See the "sort" property for details. -.SH "void QDataTable::sortAscending ( int col )\fC [virtual slot]\fR" +.SH "void TQDataTable::sortAscending ( int col )\fC [virtual slot]\fR" Sorts column \fIcol\fR in ascending order. .PP See also sorting. -.SH "void QDataTable::sortColumn ( int col, bool ascending = TRUE, bool wholeRows = FALSE )\fC [virtual]\fR" +.SH "void TQDataTable::sortColumn ( int col, bool ascending = TRUE, bool wholeRows = FALSE )\fC [virtual]\fR" Sorts column \fIcol\fR in ascending order if \fIascending\fR is TRUE (the default); otherwise sorts in descending order. .PP -The \fIwholeRows\fR parameter is ignored; QDataTable always sorts whole rows by the specified column. +The \fIwholeRows\fR parameter is ignored; TQDataTable always sorts whole rows by the specified column. .PP Reimplemented from QTable. -.SH "void QDataTable::sortDescending ( int col )\fC [virtual slot]\fR" +.SH "void TQDataTable::sortDescending ( int col )\fC [virtual slot]\fR" Sorts column \fIcol\fR in descending order. .PP See also sorting. -.SH "QSqlCursor * QDataTable::sqlCursor () const" +.SH "TQSqlCursor * TQDataTable::sqlCursor () const" Returns the cursor used by the data table. -.SH "TQString QDataTable::text ( int row, int col ) const\fC [virtual]\fR" +.SH "TQString TQDataTable::text ( int row, int col ) const\fC [virtual]\fR" Returns the text in cell \fIrow\fR, \fIcol\fR, or an empty string if the cell is empty. If the cell's value is NULL then nullText() will be returned. If the cell does not exist then TQString::null is returned. .PP Reimplemented from QTable. -.SH "TQString QDataTable::trueText () const" +.SH "TQString TQDataTable::trueText () const" Returns the text used to represent true values. See the "trueText" property for details. -.SH "bool QDataTable::updateCurrent ()\fC [virtual protected]\fR" +.SH "bool TQDataTable::updateCurrent ()\fC [virtual protected]\fR" For an editable table, issues an update using the cursor's edit buffer. If there is no current cursor or there is no current selection, nothing happens. If confirmEdits() or confirmUpdate() is TRUE, confirmEdit() is called to confirm the update. Returns TRUE if the update succeeded; otherwise returns FALSE. .PP The underlying cursor must have a valid primary index to ensure that a unique record is updated within the database otherwise the database may be changed to an inconsistent state. -.SH "QVariant QDataTable::value ( int row, int col ) const" +.SH "QVariant TQDataTable::value ( int row, int col ) const" Returns the value in cell \fIrow\fR, \fIcol\fR, or an invalid value if the cell does not exist or has no value. .SS "Property Documentation" .SH "bool autoEdit" @@ -675,7 +675,7 @@ The trueText property will be used to represent NULL values in the table. The de Set this property's value with setTrueText() and get this property's value with trueText(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdatatable.html +.BR http://doc.trolltech.com/tqdatatable.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdataview.3qt b/doc/man/man3/tqdataview.3qt index ea1a3d410..1608c79f6 100644 --- a/doc/man/man3/tqdataview.3qt +++ b/doc/man/man3/tqdataview.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDataView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDataView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QDataView \- Read-only SQL forms +TQDataView \- Read-only SQL forms .SH SYNOPSIS -\fC#include <ntqdataview.h>\fR +\fC#include <tqdataview.h>\fR .PP Inherits TQWidget. .PP @@ -19,25 +19,25 @@ Inherits TQWidget. .BI "\fBQDataView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" .br .ti -1c -.BI "\fB~QDataView\fR ()" +.BI "\fB~TQDataView\fR ()" .br .ti -1c -.BI "virtual void \fBsetForm\fR ( QSqlForm * form )" +.BI "virtual void \fBsetForm\fR ( TQSqlForm * form )" .br .ti -1c -.BI "QSqlForm * \fBform\fR ()" +.BI "TQSqlForm * \fBform\fR ()" .br .ti -1c -.BI "virtual void \fBsetRecord\fR ( QSqlRecord * record )" +.BI "virtual void \fBsetRecord\fR ( TQSqlRecord * record )" .br .ti -1c -.BI "QSqlRecord * \fBrecord\fR ()" +.BI "TQSqlRecord * \fBrecord\fR ()" .br .in -1c .SS "Public Slots" .in +1c .ti -1c -.BI "virtual void \fBrefresh\fR ( QSqlRecord * buf )" +.BI "virtual void \fBrefresh\fR ( TQSqlRecord * buf )" .br .ti -1c .BI "virtual void \fBreadFields\fR ()" @@ -50,35 +50,35 @@ Inherits TQWidget. .br .in -1c .SH DESCRIPTION -The QDataView class provides read-only SQL forms. +The TQDataView class provides read-only SQL forms. .PP -This class provides a form which displays SQL field data from a record buffer. Because QDataView does not support editing it uses less resources than a QDataBrowser. This class is well suited for displaying read-only data from a SQL database. +This class provides a form which displays SQL field data from a record buffer. Because TQDataView does not support editing it uses less resources than a TQDataBrowser. This class is well suited for displaying read-only data from a SQL database. .PP -If you want a to present your data in an editable form use QDataBrowser; if you want a table-based presentation of your data use QDataTable. +If you want a to present your data in an editable form use TQDataBrowser; if you want a table-based presentation of your data use TQDataTable. .PP -The form is associated with the data view with setForm() and the record is associated with setRecord(). You can also pass a QSqlRecord to the refresh() function which will set the record to the given record and read the record's fields into the form. +The form is associated with the data view with setForm() and the record is associated with setRecord(). You can also pass a TQSqlRecord to the refresh() function which will set the record to the given record and read the record's fields into the form. .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDataView::QDataView ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" +.SH "TQDataView::TQDataView ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" Constructs a data view which is a child of \fIparent\fR, called \fIname\fR, and with widget flags \fIfl\fR. -.SH "QDataView::~QDataView ()" +.SH "TQDataView::~TQDataView ()" Destroys the object and frees any allocated resources. -.SH "void QDataView::clearValues ()\fC [virtual slot]\fR" +.SH "void TQDataView::clearValues ()\fC [virtual slot]\fR" Clears the default form's values. If there is no default form, nothing happens. All the values are set to their 'zero state', e.g. 0 for numeric fields, "" for string fields. -.SH "QSqlForm * QDataView::form ()" +.SH "TQSqlForm * TQDataView::form ()" Returns the default form used by the data view, or 0 if there is none. .PP See also setForm(). -.SH "void QDataView::readFields ()\fC [virtual slot]\fR" +.SH "void TQDataView::readFields ()\fC [virtual slot]\fR" Causes the default form to read its fields from the record buffer. If there is no default form, or no record, nothing happens. .PP See also setForm(). -.SH "QSqlRecord * QDataView::record ()" +.SH "TQSqlRecord * TQDataView::record ()" Returns the default record used by the data view, or 0 if there is none. .PP See also setRecord(). -.SH "void QDataView::refresh ( QSqlRecord * buf )\fC [virtual slot]\fR" +.SH "void TQDataView::refresh ( TQSqlRecord * buf )\fC [virtual slot]\fR" Causes the default form to display the contents of \fIbuf\fR. If there is no default form, nothing happens.The \fIbuf\fR also becomes the default record for all subsequent calls to readFields() and writefields(). This slot is equivalant to calling: .PP .nf @@ -90,21 +90,21 @@ Causes the default form to display the contents of \fIbuf\fR. If there is no def .fi .PP See also setRecord() and readFields(). -.SH "void QDataView::setForm ( QSqlForm * form )\fC [virtual]\fR" +.SH "void TQDataView::setForm ( TQSqlForm * form )\fC [virtual]\fR" Sets the form used by the data view to \fIform\fR. If a record has already been assigned to the data view, the form will display that record's data. .PP See also form(). -.SH "void QDataView::setRecord ( QSqlRecord * record )\fC [virtual]\fR" +.SH "void TQDataView::setRecord ( TQSqlRecord * record )\fC [virtual]\fR" Sets the record used by the data view to \fIrecord\fR. If a form has already been assigned to the data view, the form will display the data from \fIrecord\fR in that form. .PP See also record(). -.SH "void QDataView::writeFields ()\fC [virtual slot]\fR" +.SH "void TQDataView::writeFields ()\fC [virtual slot]\fR" Causes the default form to write its fields to the record buffer. If there is no default form, or no record, nothing happens. .PP See also setForm(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdataview.html +.BR http://doc.trolltech.com/tqdataview.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqeditorfactory.3qt b/doc/man/man3/tqeditorfactory.3qt index 840b06e53..aa86941ab 100644 --- a/doc/man/man3/tqeditorfactory.3qt +++ b/doc/man/man3/tqeditorfactory.3qt @@ -1,5 +1,5 @@ '\" t -.TH QEditorFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQEditorFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,13 +7,13 @@ .ad l .nh .SH NAME -QEditorFactory \- Used to create editor widgets for QVariant data types +TQEditorFactory \- Used to create editor widgets for QVariant data types .SH SYNOPSIS -\fC#include <ntqeditorfactory.h>\fR +\fC#include <tqeditorfactory.h>\fR .PP Inherits TQObject. .PP -Inherited by QSqlEditorFactory. +Inherited by TQSqlEditorFactory. .PP .SS "Public Members" .in +1c @@ -21,7 +21,7 @@ Inherited by QSqlEditorFactory. .BI "\fBQEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QEditorFactory\fR ()" +.BI "\fB~TQEditorFactory\fR ()" .br .ti -1c .BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QVariant & v )" @@ -30,37 +30,37 @@ Inherited by QSqlEditorFactory. .SS "Static Public Members" .in +1c .ti -1c -.BI "QEditorFactory * \fBdefaultFactory\fR ()" +.BI "TQEditorFactory * \fBdefaultFactory\fR ()" .br .ti -1c -.BI "void \fBinstallDefaultFactory\fR ( QEditorFactory * factory )" +.BI "void \fBinstallDefaultFactory\fR ( TQEditorFactory * factory )" .br .in -1c .SH DESCRIPTION -The QEditorFactory class is used to create editor widgets for QVariant data types. +The TQEditorFactory class is used to create editor widgets for QVariant data types. .PP Each editor factory provides the createEditor() function which given a QVariant will create and return a TQWidget that can edit that QVariant. For example if you have a QVariant::String type, a QLineEdit would be the default editor returned, whereas a QVariant::Int's default editor would be a QSpinBox. .PP -If you want to create different editors for fields with the same data type, subclass QEditorFactory and reimplement the createEditor() function. +If you want to create different editors for fields with the same data type, subclass TQEditorFactory and reimplement the createEditor() function. .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QEditorFactory::QEditorFactory ( TQObject * parent = 0, const char * name = 0 )" +.SH "TQEditorFactory::TQEditorFactory ( TQObject * parent = 0, const char * name = 0 )" Constructs an editor factory with parent \fIparent\fR, called \fIname\fR. -.SH "QEditorFactory::~QEditorFactory ()" +.SH "TQEditorFactory::~TQEditorFactory ()" Destroys the object and frees any allocated resources. -.SH "TQWidget * QEditorFactory::createEditor ( TQWidget * parent, const QVariant & v )\fC [virtual]\fR" +.SH "TQWidget * TQEditorFactory::createEditor ( TQWidget * parent, const QVariant & v )\fC [virtual]\fR" Creates and returns the appropriate editor for the QVariant \fIv\fR. If the QVariant is invalid, 0 is returned. The \fIparent\fR is passed to the appropriate editor's constructor. .PP -Reimplemented in QSqlEditorFactory. -.SH "QEditorFactory * QEditorFactory::defaultFactory ()\fC [static]\fR" +Reimplemented in TQSqlEditorFactory. +.SH "TQEditorFactory * TQEditorFactory::defaultFactory ()\fC [static]\fR" Returns an instance of a default editor factory. -.SH "void QEditorFactory::installDefaultFactory ( QEditorFactory * factory )\fC [static]\fR" +.SH "void TQEditorFactory::installDefaultFactory ( TQEditorFactory * factory )\fC [static]\fR" Replaces the default editor factory with \fIfactory\fR. \fIQEditorFactory takes ownership of factory, and destroys it when it is no longer needed.\fR .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqeditorfactory.html +.BR http://doc.trolltech.com/tqeditorfactory.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index 49b13fad1..cef63f88a 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .PP Inherits Qt. .PP -Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, QAxObject, QAxScript, QAxScriptManager, TQWidget, QCanvas, QStyle, QClipboard, QCopChannel, QDns, QLayout, QDragObject, QEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QWSKeyboardHandler, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, QSqlDatabase, QSqlDriver, QSqlForm, QStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator. +Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, QAxObject, QAxScript, QAxScriptManager, TQWidget, QCanvas, QStyle, QClipboard, QCopChannel, QDns, QLayout, QDragObject, TQEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QWSKeyboardHandler, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, QStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqsql.3qt b/doc/man/man3/tqsql.3qt index 717afad85..d6c8d1254 100644 --- a/doc/man/man3/tqsql.3qt +++ b/doc/man/man3/tqsql.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSql 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSql 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSql \- Namespace for TQt SQL identifiers that need to be global-like +TQSql \- Namespace for TQt SQL identifiers that need to be global-like .SH SYNOPSIS -\fC#include <ntqsql.h>\fR +\fC#include <tqsql.h>\fR .PP .SS "Public Members" .in +1c @@ -33,13 +33,13 @@ QSql \- Namespace for TQt SQL identifiers that need to be global-like .br .in -1c .SH DESCRIPTION -The QSql class is a namespace for TQt SQL identifiers that need to be global-like. +The TQSql class is a namespace for TQt SQL identifiers that need to be global-like. .PP Normally, you can ignore this class. Several TQt SQL classes inherit it, so all the identifiers in the TQt SQL namespace are visible without qualification. .PP See also Database Classes. .SS "Member Type Documentation" -.SH "QSql::Confirm" +.SH "TQSql::Confirm" This enum type describes edit confirmations. .TP \fCQSql::Yes\fR @@ -47,13 +47,13 @@ This enum type describes edit confirmations. \fCQSql::No\fR .TP \fCQSql::Cancel\fR -.SH "QSql::Location" +.SH "TQSql::Location" This enum type describes SQL navigation locations. .TP \fCQSql::BeforeFirst\fR .TP \fCQSql::AfterLast\fR -.SH "QSql::Op" +.SH "TQSql::Op" This enum type describes edit operations. .TP \fCQSql::None\fR @@ -63,7 +63,7 @@ This enum type describes edit operations. \fCQSql::Update\fR .TP \fCQSql::Delete\fR -.SH "QSql::ParameterType" +.SH "TQSql::ParameterType" This enum is used to set the type of a bind parameter .TP \fCQSql::In\fR - the bind parameter is used to put data into the database @@ -71,7 +71,7 @@ This enum is used to set the type of a bind parameter \fCQSql::Out\fR - the bind parameter is used to receive data from the database .TP \fCQSql::InOut\fR - the bind parameter is used to put data into the database; it will be overwritten with output data on executing a query. -.SH "QSql::TableType" +.SH "TQSql::TableType" This enum type describes types of tables .TP \fCQSql::Tables\fR - All the tables visible to the user @@ -82,11 +82,11 @@ This enum type describes types of tables .TP \fCQSql::AllTables\fR - All of the above .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSql::QSql ()" +.SH "TQSql::TQSql ()" Constructs a TQt SQL namespace class .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsql.html +.BR http://doc.trolltech.com/tqsql.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlcursor.3qt b/doc/man/man3/tqsqlcursor.3qt index a4ba66093..cd78d63c4 100644 --- a/doc/man/man3/tqsqlcursor.3qt +++ b/doc/man/man3/tqsqlcursor.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlCursor 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlCursor 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,51 +7,51 @@ .ad l .nh .SH NAME -QSqlCursor \- Browsing and editing of SQL tables and views +TQSqlCursor \- Browsing and editing of SQL tables and views .SH SYNOPSIS -\fC#include <ntqsqlcursor.h>\fR +\fC#include <tqsqlcursor.h>\fR .PP -Inherits QSqlRecord and QSqlQuery. +Inherits TQSqlRecord and TQSqlQuery. .PP -Inherited by QSqlSelectCursor. +Inherited by TQSqlSelectCursor. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = TRUE, QSqlDatabase * db = 0 )" +.BI "\fBQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "\fBQSqlCursor\fR ( const QSqlCursor & other )" +.BI "\fBQSqlCursor\fR ( const TQSqlCursor & other )" .br .ti -1c -.BI "QSqlCursor & \fBoperator=\fR ( const QSqlCursor & other )" +.BI "TQSqlCursor & \fBoperator=\fR ( const TQSqlCursor & other )" .br .ti -1c -.BI "\fB~QSqlCursor\fR ()" +.BI "\fB~TQSqlCursor\fR ()" .br .ti -1c .BI "enum \fBMode\fR { ReadOnly = 0, Insert = 1, Update = 2, Delete = 4, Writable = 7 }" .br .ti -1c -.BI "virtual QSqlIndex \fBprimaryIndex\fR ( bool setFromCursor = TRUE ) const" +.BI "virtual TQSqlIndex \fBprimaryIndex\fR ( bool setFromCursor = TRUE ) const" .br .ti -1c -.BI "virtual QSqlIndex \fBindex\fR ( const QStringList & fieldNames ) const" +.BI "virtual TQSqlIndex \fBindex\fR ( const QStringList & fieldNames ) const" .br .ti -1c -.BI "QSqlIndex \fBindex\fR ( const TQString & fieldName ) const" +.BI "TQSqlIndex \fBindex\fR ( const TQString & fieldName ) const" .br .ti -1c -.BI "QSqlIndex \fBindex\fR ( const char * fieldName ) const" +.BI "TQSqlIndex \fBindex\fR ( const char * fieldName ) const" .br .ti -1c -.BI "virtual void \fBsetPrimaryIndex\fR ( const QSqlIndex & idx )" +.BI "virtual void \fBsetPrimaryIndex\fR ( const TQSqlIndex & idx )" .br .ti -1c -.BI "virtual void \fBappend\fR ( const QSqlFieldInfo & fieldInfo )" +.BI "virtual void \fBappend\fR ( const TQSqlFieldInfo & fieldInfo )" .br .ti -1c -.BI "virtual void \fBinsert\fR ( int pos, const QSqlFieldInfo & fieldInfo )" +.BI "virtual void \fBinsert\fR ( int pos, const TQSqlFieldInfo & fieldInfo )" .br .ti -1c .BI "virtual void \fBremove\fR ( int pos )" @@ -66,16 +66,16 @@ Inherited by QSqlSelectCursor. .BI "virtual void \fBsetGenerated\fR ( int i, bool generated )" .br .ti -1c -.BI "virtual QSqlRecord * \fBeditBuffer\fR ( bool copy = FALSE )" +.BI "virtual TQSqlRecord * \fBeditBuffer\fR ( bool copy = FALSE )" .br .ti -1c -.BI "virtual QSqlRecord * \fBprimeInsert\fR ()" +.BI "virtual TQSqlRecord * \fBprimeInsert\fR ()" .br .ti -1c -.BI "virtual QSqlRecord * \fBprimeUpdate\fR ()" +.BI "virtual TQSqlRecord * \fBprimeUpdate\fR ()" .br .ti -1c -.BI "virtual QSqlRecord * \fBprimeDelete\fR ()" +.BI "virtual TQSqlRecord * \fBprimeDelete\fR ()" .br .ti -1c .BI "virtual int \fBinsert\fR ( bool invalidate = TRUE )" @@ -120,19 +120,19 @@ Inherited by QSqlSelectCursor. .BI "bool \fBselect\fR ()" .br .ti -1c -.BI "bool \fBselect\fR ( const QSqlIndex & sort )" +.BI "bool \fBselect\fR ( const TQSqlIndex & sort )" .br .ti -1c -.BI "bool \fBselect\fR ( const QSqlIndex & filter, const QSqlIndex & sort )" +.BI "bool \fBselect\fR ( const TQSqlIndex & filter, const TQSqlIndex & sort )" .br .ti -1c -.BI "virtual bool \fBselect\fR ( const TQString & filter, const QSqlIndex & sort = QSqlIndex ( ) )" +.BI "virtual bool \fBselect\fR ( const TQString & filter, const TQSqlIndex & sort = TQSqlIndex ( ) )" .br .ti -1c -.BI "virtual void \fBsetSort\fR ( const QSqlIndex & sort )" +.BI "virtual void \fBsetSort\fR ( const TQSqlIndex & sort )" .br .ti -1c -.BI "QSqlIndex \fBsort\fR () const" +.BI "TQSqlIndex \fBsort\fR () const" .br .ti -1c .BI "virtual void \fBsetFilter\fR ( const TQString & filter )" @@ -165,19 +165,19 @@ Inherited by QSqlSelectCursor. .BI "virtual int \fBdel\fR ( const TQString & filter, bool invalidate = TRUE )" .br .ti -1c -.BI "virtual TQString \fBtoString\fR ( const TQString & prefix, QSqlField * field, const TQString & fieldSep ) const" +.BI "virtual TQString \fBtoString\fR ( const TQString & prefix, TQSqlField * field, const TQString & fieldSep ) const" .br .ti -1c -.BI "virtual TQString \fBtoString\fR ( QSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const" +.BI "virtual TQString \fBtoString\fR ( TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const" .br .ti -1c -.BI "virtual TQString \fBtoString\fR ( const QSqlIndex & i, QSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const" +.BI "virtual TQString \fBtoString\fR ( const TQSqlIndex & i, TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const" .br .in -1c .SH DESCRIPTION -The QSqlCursor class provides browsing and editing of SQL tables and views. +The TQSqlCursor class provides browsing and editing of SQL tables and views. .PP -A QSqlCursor is a database record (see QSqlRecord) that corresponds to a table or view within an SQL database (see QSqlDatabase). There are two buffers in a cursor, one used for browsing and one used for editing records. Each buffer contains a list of fields which correspond to the fields in the table or view. +A TQSqlCursor is a database record (see TQSqlRecord) that corresponds to a table or view within an SQL database (see TQSqlDatabase). There are two buffers in a cursor, one used for browsing and one used for editing records. Each buffer contains a list of fields which correspond to the fields in the table or view. .PP When positioned on a valid record, the browse buffer contains the values of the current record's fields from the database. The edit buffer is separate, and is used for editing existing records and inserting new records. .PP @@ -187,7 +187,7 @@ For example: .PP .nf .br - QSqlCursor cur( "staff" ); // Specify the table/view name + TQSqlCursor cur( "staff" ); // Specify the table/view name .br cur.select(); // We'll retrieve every record .br @@ -210,13 +210,13 @@ For example: .PP .nf .br - QSqlCursor cur( "prices" ); + TQSqlCursor cur( "prices" ); .br cur.select( "id=202" ); .br if ( cur.next() ) { .br - QSqlRecord *buffer = cur.primeUpdate(); + TQSqlRecord *buffer = cur.primeUpdate(); .br double price = buffer->value( "price" ).toDouble(); .br @@ -237,14 +237,14 @@ To insert a new record, call primeInsert() to get the pointer to the edit buffer .PP After calling insert(), update() or del(), the cursor is no longer positioned on a valid record and can no longer be navigated (isValid() return FALSE). The reason for this is that any changes made to the database will not be visible until select() is called to refresh the cursor. You can change this behavior by passing FALSE to insert(), update() or del() which will prevent the cursor from becoming invalid. The edits will still not be visible when navigating the cursor until select() is called. .PP -QSqlCursor contains virtual methods which allow editing behavior to be customized by subclasses. This allows custom cursors to be created that encapsulate the editing behavior of a database table for an entire application. For example, a cursor can be customized to always auto-number primary index fields, or provide fields with suitable default values, when inserting new records. QSqlCursor generates SQL statements which are sent to the database engine; you can control which fields are included in these statements using setGenerated(). +TQSqlCursor contains virtual methods which allow editing behavior to be customized by subclasses. This allows custom cursors to be created that encapsulate the editing behavior of a database table for an entire application. For example, a cursor can be customized to always auto-number primary index fields, or provide fields with suitable default values, when inserting new records. TQSqlCursor generates SQL statements which are sent to the database engine; you can control which fields are included in these statements using setGenerated(). .PP -Note that QSqlCursor does not inherit from TQObject. This means that you are responsible for destroying instances of this class yourself. However if you create a QSqlCursor and use it in a QDataTable, QDataBrowser or a QDataView these classes will usually take ownership of the cursor and destroy it when they don't need it anymore. The documentation for QDataTable, QDataBrowser and QDataView explicitly states which calls take ownership of the cursor. +Note that TQSqlCursor does not inherit from TQObject. This means that you are responsible for destroying instances of this class yourself. However if you create a TQSqlCursor and use it in a TQDataTable, TQDataBrowser or a TQDataView these classes will usually take ownership of the cursor and destroy it when they don't need it anymore. The documentation for TQDataTable, TQDataBrowser and TQDataView explicitly states which calls take ownership of the cursor. .PP See also Database Classes. .SS "Member Type Documentation" -.SH "QSqlCursor::Mode" -This enum type describes how QSqlCursor operates on records in the database. +.SH "TQSqlCursor::Mode" +This enum type describes how TQSqlCursor operates on records in the database. .TP \fCQSqlCursor::ReadOnly\fR - the cursor can only SELECT records from the database. .TP @@ -256,53 +256,53 @@ This enum type describes how QSqlCursor operates on records in the database. .TP \fCQSqlCursor::Writable\fR - the cursor can INSERT, UPDATE and DELETE records in the database. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlCursor::QSqlCursor ( const TQString & name = TQString::null, bool autopopulate = TRUE, QSqlDatabase * db = 0 )" +.SH "TQSqlCursor::TQSqlCursor ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" Constructs a cursor on database \fIdb\fR using table or view \fIname\fR. .PP If \fIautopopulate\fR is TRUE (the default), the \fIname\fR of the cursor must correspond to an existing table or view name in the database so that field information can be automatically created. If the table or view does not exist, the cursor will not be functional. .PP -The cursor is created with an initial mode of QSqlCursor::Writable (meaning that records can be inserted, updated or deleted using the cursor). If the cursor does not have a unique primary index, update and deletes cannot be performed. +The cursor is created with an initial mode of TQSqlCursor::Writable (meaning that records can be inserted, updated or deleted using the cursor). If the cursor does not have a unique primary index, update and deletes cannot be performed. .PP Note that \fIautopopulate\fR refers to populating the cursor with meta-data, e.g. the names of the table's fields, not with retrieving data. The select() function is used to populate the cursor with data. .PP See also setName() and setMode(). -.SH "QSqlCursor::QSqlCursor ( const QSqlCursor & other )" +.SH "TQSqlCursor::TQSqlCursor ( const TQSqlCursor & other )" Constructs a copy of \fIother\fR. -.SH "QSqlCursor::~QSqlCursor ()" +.SH "TQSqlCursor::~TQSqlCursor ()" Destroys the object and frees any allocated resources. -.SH "void QSqlCursor::append ( const QSqlFieldInfo & fieldInfo )\fC [virtual]\fR" +.SH "void TQSqlCursor::append ( const TQSqlFieldInfo & fieldInfo )\fC [virtual]\fR" Append a copy of field \fIfieldInfo\fR to the end of the cursor. Note that all references to the cursor edit buffer become invalidated. -.SH "QVariant QSqlCursor::calculateField ( const TQString & name )\fC [virtual protected]\fR" +.SH "QVariant TQSqlCursor::calculateField ( const TQString & name )\fC [virtual protected]\fR" Protected virtual function which is called whenever a field needs to be calculated. If calculated fields are being used, derived classes must reimplement this function and return the appropriate value for field \fIname\fR. The default implementation returns an invalid QVariant. .PP See also setCalculated(). .PP Examples: .)l sql/overview/subclass3/main.cpp and sql/overview/subclass4/main.cpp. -.SH "bool QSqlCursor::canDelete () const" +.SH "bool TQSqlCursor::canDelete () const" Returns TRUE if the cursor will perform deletes; otherwise returns FALSE. .PP See also setMode(). -.SH "bool QSqlCursor::canInsert () const" +.SH "bool TQSqlCursor::canInsert () const" Returns TRUE if the cursor will perform inserts; otherwise returns FALSE. .PP See also setMode(). -.SH "bool QSqlCursor::canUpdate () const" +.SH "bool TQSqlCursor::canUpdate () const" Returns TRUE if the cursor will perform updates; otherwise returns FALSE. .PP See also setMode(). -.SH "void QSqlCursor::clear ()\fC [virtual]\fR" +.SH "void TQSqlCursor::clear ()\fC [virtual]\fR" Removes all fields from the cursor. Note that all references to the cursor edit buffer become invalidated. .PP -Reimplemented from QSqlRecord. -.SH "int QSqlCursor::del ( bool invalidate = TRUE )\fC [virtual]\fR" +Reimplemented from TQSqlRecord. +.SH "int TQSqlCursor::del ( bool invalidate = TRUE )\fC [virtual]\fR" Deletes a record from the database using the cursor's primary index and the contents of the cursor edit buffer. Returns the number of records which were deleted. For error information, use lastError(). .PP Only records which meet the filter criteria specified by the cursor's primary index are deleted. If the cursor does not contain a primary index, no delete is performed and 0 is returned. If \fIinvalidate\fR is TRUE (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For example: .PP .nf .br - QSqlCursor cur( "prices" ); + TQSqlCursor cur( "prices" ); .br cur.select( "id=999" ); .br @@ -320,7 +320,7 @@ In the above example, a cursor is created on the 'prices' table and positioned t See also primeDelete(), setMode(), and lastError(). .PP Example: sql/overview/delete/main.cpp. -.SH "int QSqlCursor::del ( const TQString & filter, bool invalidate = TRUE )\fC [virtual protected]\fR" +.SH "int TQSqlCursor::del ( const TQString & filter, bool invalidate = TRUE )\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Deletes the current cursor record from the database using the filter \fIfilter\fR. Only records which meet the filter criteria are deleted. Returns the number of records which were deleted. If \fIinvalidate\fR is TRUE (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For error information, use lastError(). @@ -328,33 +328,33 @@ Deletes the current cursor record from the database using the filter \fIfilter\f The \fIfilter\fR is an SQL \fCWHERE\fR clause, e.g. \fCid=500\fR. .PP See also setMode() and lastError(). -.SH "QSqlRecord * QSqlCursor::editBuffer ( bool copy = FALSE )\fC [virtual]\fR" +.SH "TQSqlRecord * TQSqlCursor::editBuffer ( bool copy = FALSE )\fC [virtual]\fR" Returns the current internal edit buffer. If \fIcopy\fR is TRUE (the default is FALSE), the current cursor field values are first copied into the edit buffer. The edit buffer is valid as long as the cursor remains valid. The cursor retains ownership of the returned pointer, so it must not be deleted or modified. .PP See also primeInsert(), primeUpdate(), and primeDelete(). -.SH "TQString QSqlCursor::filter () const" +.SH "TQString TQSqlCursor::filter () const" Returns the current filter, or an empty string if there is no current filter. -.SH "QSqlIndex QSqlCursor::index ( const QStringList & fieldNames ) const\fC [virtual]\fR" +.SH "TQSqlIndex TQSqlCursor::index ( const QStringList & fieldNames ) const\fC [virtual]\fR" Returns an index composed of \fIfieldNames\fR, all in ASCending order. Note that all field names must exist in the cursor, otherwise an empty index is returned. .PP -See also QSqlIndex. +See also TQSqlIndex. .PP Examples: .)l sql/overview/extract/main.cpp, sql/overview/order1/main.cpp, sql/overview/order2/main.cpp, and sql/overview/table3/main.cpp. -.SH "QSqlIndex QSqlCursor::index ( const TQString & fieldName ) const" +.SH "TQSqlIndex TQSqlCursor::index ( const TQString & fieldName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns an index based on \fIfieldName\fR. -.SH "QSqlIndex QSqlCursor::index ( const char * fieldName ) const" +.SH "TQSqlIndex TQSqlCursor::index ( const char * fieldName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns an index based on \fIfieldName\fR. -.SH "void QSqlCursor::insert ( int pos, const QSqlFieldInfo & fieldInfo )\fC [virtual]\fR" +.SH "void TQSqlCursor::insert ( int pos, const TQSqlFieldInfo & fieldInfo )\fC [virtual]\fR" Insert a copy of \fIfieldInfo\fR at position \fIpos\fR. If a field already exists at \fIpos\fR, it is removed. Note that all references to the cursor edit buffer become invalidated. .PP Examples: .)l sql/overview/insert/main.cpp and sql/overview/insert2/main.cpp. -.SH "int QSqlCursor::insert ( bool invalidate = TRUE )\fC [virtual]\fR" +.SH "int TQSqlCursor::insert ( bool invalidate = TRUE )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts the current contents of the cursor's edit record buffer into the database, if the cursor allows inserts. Returns the number of rows affected by the insert. For error information, use lastError(). @@ -363,9 +363,9 @@ If \fIinvalidate\fR is TRUE (the default), the cursor will no longer be position .PP .nf .br - QSqlCursor cur( "prices" ); + TQSqlCursor cur( "prices" ); .br - QSqlRecord *buffer = cur.primeInsert(); + TQSqlRecord *buffer = cur.primeInsert(); .br buffer->setValue( "id", 53981 ); .br @@ -379,65 +379,65 @@ If \fIinvalidate\fR is TRUE (the default), the cursor will no longer be position In the above example, a cursor is created on the 'prices' table and a pointer to the insert buffer is acquired using primeInsert(). Each field's value is set to the desired value and then insert() is called to insert the data into the database. Remember: all edit operations (insert(), update() and delete()) operate on the contents of the cursor edit buffer and not on the contents of the cursor itself. .PP See also setMode() and lastError(). -.SH "bool QSqlCursor::isCalculated ( const TQString & name ) const" +.SH "bool TQSqlCursor::isCalculated ( const TQString & name ) const" Returns TRUE if the field \fIname\fR exists and is calculated; otherwise returns FALSE. .PP See also setCalculated(). -.SH "bool QSqlCursor::isNull ( int i ) const" +.SH "bool TQSqlCursor::isNull ( int i ) const" Returns TRUE if the field \fIi\fR is NULL or if there is no field at position \fIi\fR; otherwise returns FALSE. .PP -This is the same as calling QSqlRecord::isNull( \fIi\fR ) -.SH "bool QSqlCursor::isNull ( const TQString & name ) const" +This is the same as calling TQSqlRecord::isNull( \fIi\fR ) +.SH "bool TQSqlCursor::isNull ( const TQString & name ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the field called \fIname\fR is NULL or if there is no field called \fIname\fR; otherwise returns FALSE. .PP -This is the same as calling QSqlRecord::isNull( \fIname\fR ) -.SH "bool QSqlCursor::isReadOnly () const" +This is the same as calling TQSqlRecord::isNull( \fIname\fR ) +.SH "bool TQSqlCursor::isReadOnly () const" Returns TRUE if the cursor is read-only; otherwise returns FALSE. The default is FALSE. Read-only cursors cannot be edited using insert(), update() or del(). .PP See also setMode(). -.SH "bool QSqlCursor::isTrimmed ( const TQString & name ) const" +.SH "bool TQSqlCursor::isTrimmed ( const TQString & name ) const" Returns TRUE if the field \fIname\fR exists and is trimmed; otherwise returns FALSE. .PP When a trimmed field of type string or cstring is read from the database any trailing (right-most) spaces are removed. .PP See also setTrimmed(). -.SH "int QSqlCursor::mode () const" +.SH "int TQSqlCursor::mode () const" Returns the current cursor mode. .PP See also setMode(). -.SH "TQString QSqlCursor::name () const" +.SH "TQString TQSqlCursor::name () const" Returns the name of the cursor. -.SH "QSqlCursor & QSqlCursor::operator= ( const QSqlCursor & other )" +.SH "TQSqlCursor & TQSqlCursor::operator= ( const TQSqlCursor & other )" Sets the cursor equal to \fIother\fR. -.SH "QSqlIndex QSqlCursor::primaryIndex ( bool setFromCursor = TRUE ) const\fC [virtual]\fR" +.SH "TQSqlIndex TQSqlCursor::primaryIndex ( bool setFromCursor = TRUE ) const\fC [virtual]\fR" Returns the primary index associated with the cursor as defined in the database, or an empty index if there is no primary index. If \fIsetFromCursor\fR is TRUE (the default), the index fields are populated with the corresponding values in the cursor's current record. -.SH "QSqlRecord * QSqlCursor::primeDelete ()\fC [virtual]\fR" +.SH "TQSqlRecord * TQSqlCursor::primeDelete ()\fC [virtual]\fR" This function primes the edit buffer's field values for delete and returns the edit buffer. The default implementation copies the field values from the current cursor record into the edit buffer (therefore, this function is equivalent to calling editBuffer( TRUE ) ). The cursor retains ownership of the returned pointer, so it must not be deleted or modified. .PP See also editBuffer() and del(). .PP Example: sql/overview/delete/main.cpp. -.SH "QSqlRecord * QSqlCursor::primeInsert ()\fC [virtual]\fR" +.SH "TQSqlRecord * TQSqlCursor::primeInsert ()\fC [virtual]\fR" This function primes the edit buffer's field values for insert and returns the edit buffer. The default implementation clears all field values in the edit buffer. The cursor retains ownership of the returned pointer, so it must not be deleted or modified. .PP See also editBuffer() and insert(). .PP Examples: .)l sql/overview/insert/main.cpp, sql/overview/insert2/main.cpp, sql/overview/subclass5/main.cpp, and sql/sqltable/main.cpp. -.SH "QSqlRecord * QSqlCursor::primeUpdate ()\fC [virtual]\fR" +.SH "TQSqlRecord * TQSqlCursor::primeUpdate ()\fC [virtual]\fR" This function primes the edit buffer's field values for update and returns the edit buffer. The default implementation copies the field values from the current cursor record into the edit buffer (therefore, this function is equivalent to calling editBuffer( TRUE ) ). The cursor retains ownership of the returned pointer, so it must not be deleted or modified. .PP See also editBuffer() and update(). .PP Examples: .)l sql/overview/custom1/main.cpp, sql/overview/form1/main.cpp, and sql/overview/update/main.cpp. -.SH "void QSqlCursor::remove ( int pos )\fC [virtual]\fR" +.SH "void TQSqlCursor::remove ( int pos )\fC [virtual]\fR" Removes the field at \fIpos\fR. If \fIpos\fR does not exist, nothing happens. Note that all references to the cursor edit buffer become invalidated. .PP -Reimplemented from QSqlRecord. -.SH "bool QSqlCursor::select ( const TQString & filter, const QSqlIndex & sort = QSqlIndex ( ) )\fC [virtual]\fR" +Reimplemented from TQSqlRecord. +.SH "bool TQSqlCursor::select ( const TQString & filter, const TQSqlIndex & sort = TQSqlIndex ( ) )\fC [virtual]\fR" Selects all fields in the cursor from the database matching the filter criteria \fIfilter\fR. The data is returned in the order specified by the index \fIsort\fR. Returns TRUE if the data was successfully selected; otherwise returns FALSE. .PP The \fIfilter\fR is a string containing a SQL \fCWHERE\fR clause but without the 'WHERE' keyword. The cursor is initially positioned at an invalid row after this function is called. To move to a valid row, use seek(), first(), last(), prev() or next(). @@ -446,7 +446,7 @@ Example: .PP .nf .br - QSqlCursor cur( "Employee" ); // Use the Employee table or view + TQSqlCursor cur( "Employee" ); // Use the Employee table or view .br cur.select( "deptno=10" ); // select all records in department 10 .br @@ -470,7 +470,7 @@ The filter will apply to any subsequent select() calls that do not explicitly sp .PP .nf .br - QSqlCursor cur( "Employee" ); + TQSqlCursor cur( "Employee" ); .br cur.select( "deptno=10" ); // select all records in department 10 .br @@ -490,26 +490,26 @@ The filter will apply to any subsequent select() calls that do not explicitly sp .PP Examples: .)l sql/overview/delete/main.cpp, sql/overview/extract/main.cpp, sql/overview/order1/main.cpp, sql/overview/order2/main.cpp, sql/overview/retrieve2/main.cpp, sql/overview/table3/main.cpp, and sql/overview/update/main.cpp. -.SH "bool QSqlCursor::select ()" +.SH "bool TQSqlCursor::select ()" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Selects all fields in the cursor from the database. The rows are returned in the order specified by the last call to setSort() or the last call to select() that specified a sort, whichever is the most recent. If there is no current sort, the order in which the rows are returned is undefined. The records are filtered according to the filter specified by the last call to setFilter() or the last call to select() that specified a filter, whichever is the most recent. If there is no current filter, all records are returned. The cursor is initially positioned at an invalid row. To move to a valid row, use seek(), first(), last(), prev() or next(). .PP See also setSort() and setFilter(). -.SH "bool QSqlCursor::select ( const QSqlIndex & sort )" +.SH "bool TQSqlCursor::select ( const TQSqlIndex & sort )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Selects all fields in the cursor from the database. The data is returned in the order specified by the index \fIsort\fR. The records are filtered according to the filter specified by the last call to setFilter() or the last call to select() that specified a filter, whichever is the most recent. The cursor is initially positioned at an invalid row. To move to a valid row, use seek(), first(), last(), prev() or next(). -.SH "bool QSqlCursor::select ( const QSqlIndex & filter, const QSqlIndex & sort )" +.SH "bool TQSqlCursor::select ( const TQSqlIndex & filter, const TQSqlIndex & sort )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Selects all fields in the cursor matching the filter index \fIfilter\fR. The data is returned in the order specified by the index \fIsort\fR. The \fIfilter\fR index works by constructing a WHERE clause using the names of the fields from the \fIfilter\fR and their values from the current cursor record. The cursor is initially positioned at an invalid row. To move to a valid row, use seek(), first(), last(), prev() or next(). This function is useful, for example, for retrieving data based upon a table's primary index: .PP .nf .br - QSqlCursor cur( "Employee" ); + TQSqlCursor cur( "Employee" ); .br - QSqlIndex pk = cur.primaryIndex(); + TQSqlIndex pk = cur.primaryIndex(); .br cur.setValue( "id", 10 ); .br @@ -519,77 +519,77 @@ Selects all fields in the cursor matching the filter index \fIfilter\fR. The dat .br .fi .PP -In this example the QSqlIndex, pk, is used for two different purposes. When used as the filter (first) argument, the field names it contains are used to construct the WHERE clause, each set to the current cursor value, \fCWHERE id=10\fR, in this case. When used as the sort (second) argument the field names it contains are used for the ORDER BY clause, \fCORDER BY id\fR in this example. -.SH "void QSqlCursor::setCalculated ( const TQString & name, bool calculated )\fC [virtual]\fR" +In this example the TQSqlIndex, pk, is used for two different purposes. When used as the filter (first) argument, the field names it contains are used to construct the WHERE clause, each set to the current cursor value, \fCWHERE id=10\fR, in this case. When used as the sort (second) argument the field names it contains are used for the ORDER BY clause, \fCORDER BY id\fR in this example. +.SH "void TQSqlCursor::setCalculated ( const TQString & name, bool calculated )\fC [virtual]\fR" Sets field \fIname\fR to \fIcalculated\fR. If the field \fIname\fR does not exist, nothing happens. The value of a calculated field is set by the calculateField() virtual function which you must reimplement (or the field value will be an invalid QVariant). Calculated fields do not appear in generated SQL statements sent to the database. .PP -See also calculateField() and QSqlRecord::setGenerated(). -.SH "void QSqlCursor::setFilter ( const TQString & filter )\fC [virtual]\fR" +See also calculateField() and TQSqlRecord::setGenerated(). +.SH "void TQSqlCursor::setFilter ( const TQString & filter )\fC [virtual]\fR" Sets the current filter to \fIfilter\fR. Note that no new records are selected. To select new records, use select(). The \fIfilter\fR will apply to any subsequent select() calls that do not explicitly specify a filter. .PP The filter is a SQL \fCWHERE\fR clause without the keyword 'WHERE', e.g. \fCname='Dave'\fR which will be processed by the DBMS. -.SH "void QSqlCursor::setGenerated ( const TQString & name, bool generated )\fC [virtual]\fR" +.SH "void TQSqlCursor::setGenerated ( const TQString & name, bool generated )\fC [virtual]\fR" Sets the generated flag for the field \fIname\fR to \fIgenerated\fR. If the field does not exist, nothing happens. Only fields that have \fIgenerated\fR set to TRUE are included in the SQL that is generated by insert(), update() or del(). .PP See also isGenerated(). .PP -Reimplemented from QSqlRecord. -.SH "void QSqlCursor::setGenerated ( int i, bool generated )\fC [virtual]\fR" +Reimplemented from TQSqlRecord. +.SH "void TQSqlCursor::setGenerated ( int i, bool generated )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the generated flag for the field \fIi\fR to \fIgenerated\fR. .PP See also isGenerated(). .PP -Reimplemented from QSqlRecord. -.SH "void QSqlCursor::setMode ( int mode )\fC [virtual]\fR" -Sets the cursor mode to \fImode\fR. This value can be an OR'ed combination of QSqlCursor::Mode values. The default mode for a cursor is QSqlCursor::Writable. +Reimplemented from TQSqlRecord. +.SH "void TQSqlCursor::setMode ( int mode )\fC [virtual]\fR" +Sets the cursor mode to \fImode\fR. This value can be an OR'ed combination of TQSqlCursor::Mode values. The default mode for a cursor is TQSqlCursor::Writable. .PP .nf .br - QSqlCursor cur( "Employee" ); + TQSqlCursor cur( "Employee" ); .br - cur.setMode( QSqlCursor::Writable ); // allow insert/update/delete + cur.setMode( TQSqlCursor::Writable ); // allow insert/update/delete .br ... .br - cur.setMode( QSqlCursor::Insert | QSqlCursor::Update ); // allow inserts and updates only + cur.setMode( TQSqlCursor::Insert | TQSqlCursor::Update ); // allow inserts and updates only .br ... .br - cur.setMode( QSqlCursor::ReadOnly ); // no inserts/updates/deletes allowed + cur.setMode( TQSqlCursor::ReadOnly ); // no inserts/updates/deletes allowed .br .br .fi -.SH "void QSqlCursor::setName ( const TQString & name, bool autopopulate = TRUE )\fC [virtual]\fR" -Sets the name of the cursor to \fIname\fR. If \fIautopopulate\fR is TRUE (the default), the \fIname\fR must correspond to a valid table or view name in the database. Also, note that all references to the cursor edit buffer become invalidated when fields are auto-populated. See the QSqlCursor constructor documentation for more information. -.SH "void QSqlCursor::setPrimaryIndex ( const QSqlIndex & idx )\fC [virtual]\fR" +.SH "void TQSqlCursor::setName ( const TQString & name, bool autopopulate = TRUE )\fC [virtual]\fR" +Sets the name of the cursor to \fIname\fR. If \fIautopopulate\fR is TRUE (the default), the \fIname\fR must correspond to a valid table or view name in the database. Also, note that all references to the cursor edit buffer become invalidated when fields are auto-populated. See the TQSqlCursor constructor documentation for more information. +.SH "void TQSqlCursor::setPrimaryIndex ( const TQSqlIndex & idx )\fC [virtual]\fR" Sets the primary index associated with the cursor to the index \fIidx\fR. Note that this index must contain a field or set of fields which identify a unique record within the underlying database table or view so that update() and del() will execute as expected. .PP See also update() and del(). -.SH "void QSqlCursor::setSort ( const QSqlIndex & sort )\fC [virtual]\fR" +.SH "void TQSqlCursor::setSort ( const TQSqlIndex & sort )\fC [virtual]\fR" Sets the current sort to \fIsort\fR. Note that no new records are selected. To select new records, use select(). The \fIsort\fR will apply to any subsequent select() calls that do not explicitly specify a sort. -.SH "void QSqlCursor::setTrimmed ( const TQString & name, bool trim )\fC [virtual]\fR" +.SH "void TQSqlCursor::setTrimmed ( const TQString & name, bool trim )\fC [virtual]\fR" Sets field \fIname\fR's trimmed status to \fItrim\fR. If the field \fIname\fR does not exist, nothing happens. .PP When a trimmed field of type string or cstring is read from the database any trailing (right-most) spaces are removed. .PP See also isTrimmed() and QVariant. -.SH "QSqlIndex QSqlCursor::sort () const" +.SH "TQSqlIndex TQSqlCursor::sort () const" Returns the current sort, or an empty index if there is no current sort. -.SH "TQString QSqlCursor::toString ( QSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR" +.SH "TQString TQSqlCursor::toString ( TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR" Returns a formatted string composed of all the fields in \fIrec\fR. Each field is composed of the \fIprefix\fR (e.g. table or view name)," .", the field name, the \fIfieldSep\fR and the field value. If the \fIprefix\fR is empty then each field will begin with the field name. The fields are then joined together separated by \fIsep\fR. Fields where isGenerated() returns FALSE are not included. This function is useful for generating SQL statements. -.SH "TQString QSqlCursor::toString ( const TQString & prefix, QSqlField * field, const TQString & fieldSep ) const\fC [virtual protected]\fR" +.SH "TQString TQSqlCursor::toString ( const TQString & prefix, TQSqlField * field, const TQString & fieldSep ) const\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a formatted string composed of the \fIprefix\fR (e.g. table or view name), ".", the \fIfield\fR name, the \fIfieldSep\fR and the field value. If the \fIprefix\fR is empty then the string will begin with the \fIfield\fR name. This function is useful for generating SQL statements. -.SH "TQString QSqlCursor::toString ( const QSqlIndex & i, QSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR" +.SH "TQString TQSqlCursor::toString ( const TQSqlIndex & i, TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a formatted string composed of all the fields in the index \fIi\fR. Each field is composed of the \fIprefix\fR (e.g. table or view name), ".", the field name, the \fIfieldSep\fR and the field value. If the \fIprefix\fR is empty then each field will begin with the field name. The field values are taken from \fIrec\fR. The fields are then joined together separated by \fIsep\fR. Fields where isGenerated() returns FALSE are ignored. This function is useful for generating SQL statements. -.SH "int QSqlCursor::update ( bool invalidate = TRUE )\fC [virtual]\fR" +.SH "int TQSqlCursor::update ( bool invalidate = TRUE )\fC [virtual]\fR" Updates the database with the current contents of the edit buffer. Returns the number of records which were updated. For error information, use lastError(). .PP Only records which meet the filter criteria specified by the cursor's primary index are updated. If the cursor does not contain a primary index, no update is performed and 0 is returned. @@ -598,13 +598,13 @@ If \fIinvalidate\fR is TRUE (the default), the current cursor can no longer be n .PP .nf .br - QSqlCursor cur( "prices" ); + TQSqlCursor cur( "prices" ); .br cur.select( "id=202" ); .br if ( cur.next() ) { .br - QSqlRecord *buffer = cur.primeUpdate(); + TQSqlRecord *buffer = cur.primeUpdate(); .br double price = buffer->value( "price" ).toDouble(); .br @@ -624,7 +624,7 @@ Note that if the primary index does not uniquely distinguish records the databas See also setMode() and lastError(). .PP Example: sql/overview/update/main.cpp. -.SH "int QSqlCursor::update ( const TQString & filter, bool invalidate = TRUE )\fC [virtual protected]\fR" +.SH "int TQSqlCursor::update ( const TQString & filter, bool invalidate = TRUE )\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Updates the database with the current contents of the cursor edit buffer using the specified \fIfilter\fR. Returns the number of records which were updated. For error information, use lastError(). @@ -636,7 +636,7 @@ If \fIinvalidate\fR is TRUE (the default), the cursor can no longer be navigated See also primeUpdate(), setMode(), and lastError(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlcursor.html +.BR http://doc.trolltech.com/tqsqlcursor.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqldatabase.3qt b/doc/man/man3/tqsqldatabase.3qt index e062f530b..8e9e795e6 100644 --- a/doc/man/man3/tqsqldatabase.3qt +++ b/doc/man/man3/tqsqldatabase.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlDatabase 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlDatabase 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,16 +7,16 @@ .ad l .nh .SH NAME -QSqlDatabase \- Used to create SQL database connections and to provide transaction handling +TQSqlDatabase \- Used to create SQL database connections and to provide transaction handling .SH SYNOPSIS -\fC#include <ntqsqldatabase.h>\fR +\fC#include <tqsqldatabase.h>\fR .PP Inherits TQObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fB~QSqlDatabase\fR ()" +.BI "\fB~TQSqlDatabase\fR ()" .br .ti -1c .BI "bool \fBopen\fR ()" @@ -37,28 +37,28 @@ Inherits TQObject. .BI "QStringList \fBtables\fR () const" .br .ti -1c -.BI "QStringList \fBtables\fR ( QSql::TableType type ) const" +.BI "QStringList \fBtables\fR ( TQSql::TableType type ) const" .br .ti -1c -.BI "QSqlIndex \fBprimaryIndex\fR ( const TQString & tablename ) const" +.BI "TQSqlIndex \fBprimaryIndex\fR ( const TQString & tablename ) const" .br .ti -1c -.BI "QSqlRecord \fBrecord\fR ( const TQString & tablename ) const" +.BI "TQSqlRecord \fBrecord\fR ( const TQString & tablename ) const" .br .ti -1c -.BI "QSqlRecord \fBrecord\fR ( const QSqlQuery & query ) const" +.BI "TQSqlRecord \fBrecord\fR ( const TQSqlQuery & query ) const" .br .ti -1c -.BI "QSqlRecordInfo \fBrecordInfo\fR ( const TQString & tablename ) const" +.BI "TQSqlRecordInfo \fBrecordInfo\fR ( const TQString & tablename ) const" .br .ti -1c -.BI "QSqlRecordInfo \fBrecordInfo\fR ( const QSqlQuery & query ) const" +.BI "TQSqlRecordInfo \fBrecordInfo\fR ( const TQSqlQuery & query ) const" .br .ti -1c -.BI "QSqlQuery \fBexec\fR ( const TQString & query = TQString::null ) const" +.BI "TQSqlQuery \fBexec\fR ( const TQString & query = TQString::null ) const" .br .ti -1c -.BI "QSqlError \fBlastError\fR () const" +.BI "TQSqlError \fBlastError\fR () const" .br .ti -1c .BI "bool \fBtransaction\fR ()" @@ -109,25 +109,25 @@ Inherits TQObject. .BI "TQString \fBconnectOptions\fR () const" .br .ti -1c -.BI "QSqlDriver * \fBdriver\fR () const" +.BI "TQSqlDriver * \fBdriver\fR () const" .br .in -1c .SS "Static Public Members" .in +1c .ti -1c -.BI "QSqlDatabase * \fBaddDatabase\fR ( const TQString & type, const TQString & connectionName = defaultConnection )" +.BI "TQSqlDatabase * \fBaddDatabase\fR ( const TQString & type, const TQString & connectionName = defaultConnection )" .br .ti -1c -.BI "QSqlDatabase * \fBaddDatabase\fR ( QSqlDriver * driver, const TQString & connectionName = defaultConnection )" +.BI "TQSqlDatabase * \fBaddDatabase\fR ( TQSqlDriver * driver, const TQString & connectionName = defaultConnection )" .br .ti -1c -.BI "QSqlDatabase * \fBdatabase\fR ( const TQString & connectionName = defaultConnection, bool open = TRUE )" +.BI "TQSqlDatabase * \fBdatabase\fR ( const TQString & connectionName = defaultConnection, bool open = TRUE )" .br .ti -1c .BI "void \fBremoveDatabase\fR ( const TQString & connectionName )" .br .ti -1c -.BI "void \fBremoveDatabase\fR ( QSqlDatabase * db )" +.BI "void \fBremoveDatabase\fR ( TQSqlDatabase * db )" .br .ti -1c .BI "bool \fBcontains\fR ( const TQString & connectionName = defaultConnection )" @@ -136,7 +136,7 @@ Inherits TQObject. .BI "QStringList \fBdrivers\fR ()" .br .ti -1c -.BI "void \fBregisterSqlDriver\fR ( const TQString & name, const QSqlDriverCreatorBase * creator )" +.BI "void \fBregisterSqlDriver\fR ( const TQString & name, const TQSqlDriverCreatorBase * creator )" .br .ti -1c .BI "bool \fBisDriverAvailable\fR ( const TQString & name )" @@ -169,20 +169,20 @@ Inherits TQObject. .BI "\fBQSqlDatabase\fR ( const TQString & type, const TQString & name, TQObject * parent = 0, const char * objname = 0 )" .br .ti -1c -.BI "\fBQSqlDatabase\fR ( QSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )" +.BI "\fBQSqlDatabase\fR ( TQSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )" .br .in -1c .SH DESCRIPTION -The QSqlDatabase class is used to create SQL database connections and to provide transaction handling. +The TQSqlDatabase class is used to create SQL database connections and to provide transaction handling. .PP -Note that transaction handling is not supported by every SQL database. You can find out whether transactions are supported using QSqlDriver::hasFeature(). +Note that transaction handling is not supported by every SQL database. You can find out whether transactions are supported using TQSqlDriver::hasFeature(). .PP -The QSqlDatabase class provides an abstract interface for accessing many types of database backends. Database-specific drivers are used internally to actually access and manipulate data, (see QSqlDriver). Result set objects provide the interface for executing and manipulating SQL queries (see QSqlQuery). +The TQSqlDatabase class provides an abstract interface for accessing many types of database backends. Database-specific drivers are used internally to actually access and manipulate data, (see TQSqlDriver). Result set objects provide the interface for executing and manipulating SQL queries (see TQSqlQuery). .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlDatabase::QSqlDatabase ( const TQString & type, const TQString & name, TQObject * parent = 0, const char * objname = 0 )\fC [protected]\fR" -Creates a QSqlDatabase connection called \fIname\fR that uses the driver referred to by \fItype\fR, with the parent \fIparent\fR and the object name \fIobjname\fR. If the \fItype\fR is not recognized, the database connection will have no functionality. +.SH "TQSqlDatabase::TQSqlDatabase ( const TQString & type, const TQString & name, TQObject * parent = 0, const char * objname = 0 )\fC [protected]\fR" +Creates a TQSqlDatabase connection called \fIname\fR that uses the driver referred to by \fItype\fR, with the parent \fIparent\fR and the object name \fIobjname\fR. If the \fItype\fR is not recognized, the database connection will have no functionality. .PP The currently available drivers are: .PP @@ -196,18 +196,18 @@ l - l. Driver Type Description QODBC3 ODBC Driver (includes Microsoft SQL Server Additional third party drivers, including your own custom drivers, can be loaded dynamically. .PP See also registerSqlDriver(). -.SH "QSqlDatabase::QSqlDatabase ( QSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )\fC [protected]\fR" +.SH "TQSqlDatabase::TQSqlDatabase ( TQSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )\fC [protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Creates a database connection using the driver \fIdriver\fR, with the parent \fIparent\fR and the object name \fIobjname\fR. .PP \fBWarning:\fR The framework takes ownership of the \fIdriver\fR pointer, so it should not be deleted. -.SH "QSqlDatabase::~QSqlDatabase ()" +.SH "TQSqlDatabase::~TQSqlDatabase ()" Destroys the object and frees any allocated resources. -.SH "QSqlDatabase * QSqlDatabase::addDatabase ( const TQString & type, const TQString & connectionName = defaultConnection )\fC [static]\fR" +.SH "TQSqlDatabase * TQSqlDatabase::addDatabase ( const TQString & type, const TQString & connectionName = defaultConnection )\fC [static]\fR" Adds a database to the list of database connections using the driver \fItype\fR and the connection name \fIconnectionName\fR. .PP -The database connection is referred to by \fIconnectionName\fR. The newly added database connection is returned. This pointer is owned by QSqlDatabase and will be deleted on program exit or when removeDatabase() is called. +The database connection is referred to by \fIconnectionName\fR. The newly added database connection is returned. This pointer is owned by TQSqlDatabase and will be deleted on program exit or when removeDatabase() is called. .PP If \fIconnectionName\fR is not specified, the newly added database connection becomes the default database connection for the application, and subsequent calls to database() (without a database name parameter) will return a pointer to it. If \fIconnectionName\fR is given, use database(connectionName) to retrieve a pointer to the database connection. .PP @@ -217,14 +217,14 @@ See also database() and removeDatabase(). .PP Examples: .)l sql/overview/connect1/main.cpp, sql/overview/connection.cpp, and sql/sqltable/main.cpp. -.SH "QSqlDatabase * QSqlDatabase::addDatabase ( QSqlDriver * driver, const TQString & connectionName = defaultConnection )\fC [static]\fR" +.SH "TQSqlDatabase * TQSqlDatabase::addDatabase ( TQSqlDriver * driver, const TQString & connectionName = defaultConnection )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function is useful if you need to set up the database connection and instantiate the driver yourself. If you do this, it is recommended that you include the driver code in your own application. For example, setting up a custom PostgreSQL connection and instantiating the QPSQL7 driver can be done the following way: .PP .nf .br - #include "qtdir/src/sql/drivers/psql/qsql_psql.cpp" + #include "qtdir/src/sql/drivers/psql/tqsql_psql.cpp" .br .fi (We assume that \fCqtdir\fR is the directory where TQt is installed.) This will pull in the code that is needed to use the PostgreSQL client library and to instantiate a QPSQLDriver object, assuming that you have the PostgreSQL headers somewhere in your include search path. @@ -235,9 +235,9 @@ This function is useful if you need to set up the database connection and instan .br QPSQLDriver* drv = new QPSQLDriver( con ); .br - QSqlDatabase* db = QSqlDatabase::addDatabase( drv ); // becomes the new default connection + TQSqlDatabase* db = TQSqlDatabase::addDatabase( drv ); // becomes the new default connection .br - QSqlQuery q; + TQSqlQuery q; .br q.exec( "SELECT * FROM people" ); .br @@ -268,44 +268,44 @@ l - l. Driver Class name Constructor arguments File to include QPSQL7 QPSQLDrive .fi </center> .PP -Note: The host name (or service name) is needed when constructing the QTDSDriver for creating new connections for internal queries. This is to prevent the simultaneous usage of several QSqlQuery/QSqlCursor objects from blocking each other. +Note: The host name (or service name) is needed when constructing the QTDSDriver for creating new connections for internal queries. This is to prevent the simultaneous usage of several TQSqlQuery/TQSqlCursor objects from blocking each other. .PP -\fBWarning:\fR The SQL framework takes ownership of the \fIdriver\fR pointer, and it should not be deleted. The returned QSqlDatabase object is owned by the framework and must not be deleted. If you want to explicitly remove the connection, use removeDatabase() +\fBWarning:\fR The SQL framework takes ownership of the \fIdriver\fR pointer, and it should not be deleted. The returned TQSqlDatabase object is owned by the framework and must not be deleted. If you want to explicitly remove the connection, use removeDatabase() .PP See also drivers(). -.SH "void QSqlDatabase::close ()" +.SH "void TQSqlDatabase::close ()" Closes the database connection, freeing any resources acquired. .PP See also removeDatabase(). -.SH "bool QSqlDatabase::commit ()" +.SH "bool TQSqlDatabase::commit ()" Commits a transaction to the database if the driver supports transactions. Returns TRUE if the operation succeeded; otherwise returns FALSE. .PP -See also QSqlDriver::hasFeature() and rollback(). -.SH "TQString QSqlDatabase::connectOptions () const" +See also TQSqlDriver::hasFeature() and rollback(). +.SH "TQString TQSqlDatabase::connectOptions () const" Returns the database connect options. See the "connectOptions" property for details. -.SH "bool QSqlDatabase::contains ( const TQString & connectionName = defaultConnection )\fC [static]\fR" +.SH "bool TQSqlDatabase::contains ( const TQString & connectionName = defaultConnection )\fC [static]\fR" Returns TRUE if the list of database connections contains \fIconnectionName\fR; otherwise returns FALSE. -.SH "QSqlDatabase * QSqlDatabase::database ( const TQString & connectionName = defaultConnection, bool open = TRUE )\fC [static]\fR" -Returns the database connection called \fIconnectionName\fR. The database connection must have been previously added with addDatabase(). If \fIopen\fR is TRUE (the default) and the database connection is not already open it is opened now. If no \fIconnectionName\fR is specified the default connection is used. If \fIconnectionName\fR does not exist in the list of databases, 0 is returned. The pointer returned is owned by QSqlDatabase and should \fInot\fR be deleted. +.SH "TQSqlDatabase * TQSqlDatabase::database ( const TQString & connectionName = defaultConnection, bool open = TRUE )\fC [static]\fR" +Returns the database connection called \fIconnectionName\fR. The database connection must have been previously added with addDatabase(). If \fIopen\fR is TRUE (the default) and the database connection is not already open it is opened now. If no \fIconnectionName\fR is specified the default connection is used. If \fIconnectionName\fR does not exist in the list of databases, 0 is returned. The pointer returned is owned by TQSqlDatabase and should \fInot\fR be deleted. .PP \fBWarning:\fR There are restrictions on the use of database connections in threaded applications. Please see the Thread Support in TQt document for more information about threading and SQL databases. .PP Examples: .)l sql/overview/basicbrowsing/main.cpp and sql/overview/create_connections/main.cpp. -.SH "TQString QSqlDatabase::databaseName () const" +.SH "TQString TQSqlDatabase::databaseName () const" Returns the name of the database. See the "databaseName" property for details. -.SH "QSqlDriver * QSqlDatabase::driver () const" +.SH "TQSqlDriver * TQSqlDatabase::driver () const" Returns the database driver used to access the database connection. -.SH "TQString QSqlDatabase::driverName () const" +.SH "TQString TQSqlDatabase::driverName () const" Returns the name of the driver used by the database connection. -.SH "QStringList QSqlDatabase::drivers ()\fC [static]\fR" +.SH "QStringList TQSqlDatabase::drivers ()\fC [static]\fR" Returns a list of all the available database drivers. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = QSqlDatabase::drivers(); + QStringList list = TQSqlDatabase::drivers(); .br QStringList::Iterator it = list.begin(); .br @@ -318,33 +318,33 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "QSqlQuery QSqlDatabase::exec ( const TQString & query = TQString::null ) const" -Executes a SQL statement (e.g. an \fCINSERT\fR, \fCUPDATE\fR or \fCDELETE\fR statement) on the database, and returns a QSqlQuery object. Use lastError() to retrieve error information. If \fIquery\fR is TQString::null, an empty, invalid query is returned and lastError() is not affected. +.SH "TQSqlQuery TQSqlDatabase::exec ( const TQString & query = TQString::null ) const" +Executes a SQL statement (e.g. an \fCINSERT\fR, \fCUPDATE\fR or \fCDELETE\fR statement) on the database, and returns a TQSqlQuery object. Use lastError() to retrieve error information. If \fIquery\fR is TQString::null, an empty, invalid query is returned and lastError() is not affected. .PP -See also QSqlQuery and lastError(). -.SH "TQString QSqlDatabase::hostName () const" +See also TQSqlQuery and lastError(). +.SH "TQString TQSqlDatabase::hostName () const" Returns the host name where the database resides. See the "hostName" property for details. -.SH "bool QSqlDatabase::isDriverAvailable ( const TQString & name )\fC [static]\fR" +.SH "bool TQSqlDatabase::isDriverAvailable ( const TQString & name )\fC [static]\fR" Returns TRUE if a driver called \fIname\fR is available; otherwise returns FALSE. .PP See also drivers(). -.SH "bool QSqlDatabase::isOpen () const" +.SH "bool TQSqlDatabase::isOpen () const" Returns TRUE if the database connection is currently open; otherwise returns FALSE. -.SH "bool QSqlDatabase::isOpenError () const" +.SH "bool TQSqlDatabase::isOpenError () const" Returns TRUE if there was an error opening the database connection; otherwise returns FALSE. Error information can be retrieved using the lastError() function. -.SH "QSqlError QSqlDatabase::lastError () const" -Returns information about the last error that occurred on the database. See QSqlError for more information. +.SH "TQSqlError TQSqlDatabase::lastError () const" +Returns information about the last error that occurred on the database. See TQSqlError for more information. .PP Examples: .)l sql/overview/connection.cpp and sql/sqltable/main.cpp. -.SH "bool QSqlDatabase::open ()" +.SH "bool TQSqlDatabase::open ()" Opens the database connection using the current connection values. Returns TRUE on success; otherwise returns FALSE. Error information can be retrieved using the lastError() function. .PP See also lastError(). .PP Examples: .)l sql/overview/connect1/main.cpp, sql/overview/connection.cpp, and sql/sqltable/main.cpp. -.SH "bool QSqlDatabase::open ( const TQString & user, const TQString & password )" +.SH "bool TQSqlDatabase::open ( const TQString & user, const TQString & password )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Opens the database connection using the given \fIuser\fR name and \fIpassword\fR. Returns TRUE on success; otherwise returns FALSE. Error information can be retrieved using the lastError() function. @@ -352,82 +352,82 @@ Opens the database connection using the given \fIuser\fR name and \fIpassword\fR This function does not store the password it is given. Instead, the password is passed directly to the driver for opening a connection and is then discarded. .PP See also lastError(). -.SH "TQString QSqlDatabase::password () const" +.SH "TQString TQSqlDatabase::password () const" Returns the password used to connect to the database. See the "password" property for details. -.SH "int QSqlDatabase::port () const" +.SH "int TQSqlDatabase::port () const" Returns the port used to connect to the database. See the "port" property for details. -.SH "QSqlIndex QSqlDatabase::primaryIndex ( const TQString & tablename ) const" -Returns the primary index for table \fItablename\fR. If no primary index exists an empty QSqlIndex will be returned. -.SH "QSqlRecord QSqlDatabase::record ( const TQString & tablename ) const" -Returns a QSqlRecord populated with the names of all the fields in the table (or view) called \fItablename\fR. The order in which the fields appear in the record is undefined. If no such table (or view) exists, an empty record is returned. +.SH "TQSqlIndex TQSqlDatabase::primaryIndex ( const TQString & tablename ) const" +Returns the primary index for table \fItablename\fR. If no primary index exists an empty TQSqlIndex will be returned. +.SH "TQSqlRecord TQSqlDatabase::record ( const TQString & tablename ) const" +Returns a TQSqlRecord populated with the names of all the fields in the table (or view) called \fItablename\fR. The order in which the fields appear in the record is undefined. If no such table (or view) exists, an empty record is returned. .PP See also recordInfo(). -.SH "QSqlRecord QSqlDatabase::record ( const QSqlQuery & query ) const" +.SH "TQSqlRecord TQSqlDatabase::record ( const TQSqlQuery & query ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns a QSqlRecord populated with the names of all the fields used in the SQL \fIquery\fR. If the query is a "SELECT *" the order in which fields appear in the record is undefined. +Returns a TQSqlRecord populated with the names of all the fields used in the SQL \fIquery\fR. If the query is a "SELECT *" the order in which fields appear in the record is undefined. .PP See also recordInfo(). -.SH "QSqlRecordInfo QSqlDatabase::recordInfo ( const TQString & tablename ) const" -Returns a QSqlRecordInfo populated with meta data about the table or view \fItablename\fR. If no such table (or view) exists, an empty record is returned. +.SH "TQSqlRecordInfo TQSqlDatabase::recordInfo ( const TQString & tablename ) const" +Returns a TQSqlRecordInfo populated with meta data about the table or view \fItablename\fR. If no such table (or view) exists, an empty record is returned. .PP -See also QSqlRecordInfo, QSqlFieldInfo, and record(). -.SH "QSqlRecordInfo QSqlDatabase::recordInfo ( const QSqlQuery & query ) const" +See also TQSqlRecordInfo, TQSqlFieldInfo, and record(). +.SH "TQSqlRecordInfo TQSqlDatabase::recordInfo ( const TQSqlQuery & query ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns a QSqlRecordInfo object with meta data for the QSqlQuery \fIquery\fR. Note that this overloaded function may return less information than the recordInfo() function which takes the name of a table as parameter. +Returns a TQSqlRecordInfo object with meta data for the TQSqlQuery \fIquery\fR. Note that this overloaded function may return less information than the recordInfo() function which takes the name of a table as parameter. .PP -See also QSqlRecordInfo, QSqlFieldInfo, and record(). -.SH "void QSqlDatabase::registerSqlDriver ( const TQString & name, const QSqlDriverCreatorBase * creator )\fC [static]\fR" +See also TQSqlRecordInfo, TQSqlFieldInfo, and record(). +.SH "void TQSqlDatabase::registerSqlDriver ( const TQString & name, const TQSqlDriverCreatorBase * creator )\fC [static]\fR" This function registers a new SQL driver called \fIname\fR, within the SQL framework. This is useful if you have a custom SQL driver and don't want to compile it as a plugin. .PP Example usage: .PP .nf .br - QSqlDatabase::registerSqlDriver( "MYDRIVER", new QSqlDriverCreator<MyDatabaseDriver> ); + TQSqlDatabase::registerSqlDriver( "MYDRIVER", new TQSqlDriverCreator<MyDatabaseDriver> ); .br - QSqlDatabase* db = QSqlDatabase::addDatabase( "MYDRIVER" ); + TQSqlDatabase* db = TQSqlDatabase::addDatabase( "MYDRIVER" ); .br ... .br .fi .PP \fBWarning:\fR The framework takes ownership of the \fIcreator\fR pointer, so it should not be deleted. -.SH "void QSqlDatabase::removeDatabase ( const TQString & connectionName )\fC [static]\fR" +.SH "void TQSqlDatabase::removeDatabase ( const TQString & connectionName )\fC [static]\fR" Removes the database connection \fIconnectionName\fR from the list of database connections. .PP \fBWarning:\fR There should be no open queries on the database connection when this function is called, otherwise a resource leak will occur. -.SH "void QSqlDatabase::removeDatabase ( QSqlDatabase * db )\fC [static]\fR" +.SH "void TQSqlDatabase::removeDatabase ( TQSqlDatabase * db )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Removes the database connection \fIdb\fR from the list of database connections. The QSqlDatabase object is destroyed when it is removed from the list. +Removes the database connection \fIdb\fR from the list of database connections. The TQSqlDatabase object is destroyed when it is removed from the list. .PP \fBWarning:\fR The \fIdb\fR pointer is not valid after this function has been called. There should be no open queries on the database connection when this function is called, otherwise a resource leak will occur. -.SH "bool QSqlDatabase::rollback ()" +.SH "bool TQSqlDatabase::rollback ()" Rolls a transaction back on the database if the driver supports transactions. Returns TRUE if the operation succeeded; otherwise returns FALSE. .PP -See also QSqlDriver::hasFeature(), commit(), and transaction(). -.SH "void QSqlDatabase::setConnectOptions ( const TQString & options = TQString::null )" +See also TQSqlDriver::hasFeature(), commit(), and transaction(). +.SH "void TQSqlDatabase::setConnectOptions ( const TQString & options = TQString::null )" Sets the database connect options to \fIoptions\fR. See the "connectOptions" property for details. -.SH "void QSqlDatabase::setDatabaseName ( const TQString & name )\fC [virtual]\fR" +.SH "void TQSqlDatabase::setDatabaseName ( const TQString & name )\fC [virtual]\fR" Sets the name of the database to \fIname\fR. See the "databaseName" property for details. -.SH "void QSqlDatabase::setHostName ( const TQString & host )\fC [virtual]\fR" +.SH "void TQSqlDatabase::setHostName ( const TQString & host )\fC [virtual]\fR" Sets the host name where the database resides to \fIhost\fR. See the "hostName" property for details. -.SH "void QSqlDatabase::setPassword ( const TQString & password )\fC [virtual]\fR" +.SH "void TQSqlDatabase::setPassword ( const TQString & password )\fC [virtual]\fR" Sets the password used to connect to the database to \fIpassword\fR. See the "password" property for details. -.SH "void QSqlDatabase::setPort ( int p )\fC [virtual]\fR" +.SH "void TQSqlDatabase::setPort ( int p )\fC [virtual]\fR" Sets the port used to connect to the database to \fIp\fR. See the "port" property for details. -.SH "void QSqlDatabase::setUserName ( const TQString & name )\fC [virtual]\fR" +.SH "void TQSqlDatabase::setUserName ( const TQString & name )\fC [virtual]\fR" Sets the user name connected to the database to \fIname\fR. See the "userName" property for details. -.SH "QStringList QSqlDatabase::tables ( QSql::TableType type ) const" +.SH "QStringList TQSqlDatabase::tables ( TQSql::TableType type ) const" Returns a list of the database's tables, system tables and views, as specified by the parameter \fItype\fR. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myDatabase.tables( QSql::Tables | QSql::Views ); + QStringList list = myDatabase.tables( TQSql::Tables | TQSql::Views ); .br QStringList::Iterator it = list.begin(); .br @@ -442,7 +442,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP Example: sql/sqltable/main.cpp. -.SH "QStringList QSqlDatabase::tables () const" +.SH "QStringList TQSqlDatabase::tables () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a list of the database's tables that are visible to the user. To include views or system tables, use the version of this function that takes a table \fCtype\fR parameter. @@ -464,11 +464,11 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "bool QSqlDatabase::transaction ()" +.SH "bool TQSqlDatabase::transaction ()" Begins a transaction on the database if the driver supports transactions. Returns TRUE if the operation succeeded; otherwise returns FALSE. .PP -See also QSqlDriver::hasFeature(), commit(), and rollback(). -.SH "TQString QSqlDatabase::userName () const" +See also TQSqlDriver::hasFeature(), commit(), and rollback(). +.SH "TQString TQSqlDatabase::userName () const" Returns the user name connected to the database. See the "userName" property for details. .SS "Property Documentation" .SH "TQString connectOptions" @@ -593,7 +593,7 @@ For the QODBC3 driver it can either be a DSN, a DSN filename (the file must have .br ... .br - db = QSqlDatabase::addDatabase( "QODBC3" ); + db = TQSqlDatabase::addDatabase( "QODBC3" ); .br db->setDatabaseName( "DRIVER={Microsoft Access Driver (*.mdb)};FIL={MS Access};DBQ=myaccessfile.mdb" ); .br @@ -641,7 +641,7 @@ There is no default value. Set this property's value with setUserName() and get this property's value with userName(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqldatabase.html +.BR http://doc.trolltech.com/tqsqldatabase.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqldriver.3qt b/doc/man/man3/tqsqldriver.3qt index f06a6189f..e0757f1cb 100644 --- a/doc/man/man3/tqsqldriver.3qt +++ b/doc/man/man3/tqsqldriver.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlDriver 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlDriver 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlDriver \- Abstract base class for accessing SQL databases +TQSqlDriver \- Abstract base class for accessing SQL databases .SH SYNOPSIS -\fC#include <ntqsqldriver.h>\fR +\fC#include <tqsqldriver.h>\fR .PP Inherits TQObject. .PP @@ -22,7 +22,7 @@ Inherits TQObject. .BI "\fBQSqlDriver\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QSqlDriver\fR ()" +.BI "\fB~TQSqlDriver\fR ()" .br .ti -1c .BI "bool \fBisOpen\fR () const" @@ -43,28 +43,28 @@ Inherits TQObject. .BI "virtual QStringList \fBtables\fR ( const TQString & tableType ) const" .br .ti -1c -.BI "virtual QSqlIndex \fBprimaryIndex\fR ( const TQString & tableName ) const" +.BI "virtual TQSqlIndex \fBprimaryIndex\fR ( const TQString & tableName ) const" .br .ti -1c -.BI "virtual QSqlRecord \fBrecord\fR ( const TQString & tableName ) const" +.BI "virtual TQSqlRecord \fBrecord\fR ( const TQString & tableName ) const" .br .ti -1c -.BI "virtual QSqlRecord \fBrecord\fR ( const QSqlQuery & query ) const" +.BI "virtual TQSqlRecord \fBrecord\fR ( const TQSqlQuery & query ) const" .br .ti -1c -.BI "virtual QSqlRecordInfo \fBrecordInfo\fR ( const TQString & tablename ) const" +.BI "virtual TQSqlRecordInfo \fBrecordInfo\fR ( const TQString & tablename ) const" .br .ti -1c -.BI "virtual QSqlRecordInfo \fBrecordInfo\fR ( const QSqlQuery & query ) const" +.BI "virtual TQSqlRecordInfo \fBrecordInfo\fR ( const TQSqlQuery & query ) const" .br .ti -1c .BI "virtual TQString \fBnullText\fR () const" .br .ti -1c -.BI "virtual TQString \fBformatValue\fR ( const QSqlField * field, bool trimStrings = FALSE ) const" +.BI "virtual TQString \fBformatValue\fR ( const TQSqlField * field, bool trimStrings = FALSE ) const" .br .ti -1c -.BI "QSqlError \fBlastError\fR () const" +.BI "TQSqlError \fBlastError\fR () const" .br .ti -1c .BI "virtual bool \fBhasFeature\fR ( DriverFeature f ) const = 0" @@ -76,7 +76,7 @@ Inherits TQObject. .BI "virtual void \fBclose\fR () = 0" .br .ti -1c -.BI "virtual QSqlQuery \fBcreateQuery\fR () const = 0" +.BI "virtual TQSqlQuery \fBcreateQuery\fR () const = 0" .br .ti -1c .BI "bool \fBopen\fR ( const TQString & db, const TQString & user, const TQString & password, const TQString & host, int port, const TQString & connOpts )" @@ -91,22 +91,22 @@ Inherits TQObject. .BI "virtual void \fBsetOpenError\fR ( bool e )" .br .ti -1c -.BI "virtual void \fBsetLastError\fR ( const QSqlError & e )" +.BI "virtual void \fBsetLastError\fR ( const TQSqlError & e )" .br .in -1c .SH DESCRIPTION -The QSqlDriver class is an abstract base class for accessing SQL databases. +The TQSqlDriver class is an abstract base class for accessing SQL databases. .PP -This class should not be used directly. Use QSqlDatabase instead. +This class should not be used directly. Use TQSqlDatabase instead. .PP See also Database Classes. .SS "Member Type Documentation" -.SH "QSqlDriver::DriverFeature" +.SH "TQSqlDriver::DriverFeature" This enum contains a list of features a driver may support. Use hasFeature() to query whether a feature is supported or not. .TP \fCQSqlDriver::Transactions\fR - whether the driver supports SQL transactions .TP -\fCQSqlDriver::QuerySize\fR - whether the database is capable of reporting the size of a query. Note that some databases do not support returning the size (i.e. number of rows returned) of a query, in which case QSqlQuery::size() will return -1 +\fCQSqlDriver::QuerySize\fR - whether the database is capable of reporting the size of a query. Note that some databases do not support returning the size (i.e. number of rows returned) of a query, in which case TQSqlQuery::size() will return -1 .TP \fCQSqlDriver::BLOB\fR - whether the driver supports Binary Large Object fields .TP @@ -122,25 +122,25 @@ More information about supported features can be found in the TQt SQL driver doc .PP See also hasFeature(). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlDriver::QSqlDriver ( TQObject * parent = 0, const char * name = 0 )" +.SH "TQSqlDriver::TQSqlDriver ( TQObject * parent = 0, const char * name = 0 )" Default constructor. Creates a new driver with parent \fIparent\fR, called \fIname\fR. -.SH "QSqlDriver::~QSqlDriver ()" +.SH "TQSqlDriver::~TQSqlDriver ()" Destroys the object and frees any allocated resources. -.SH "bool QSqlDriver::beginTransaction ()\fC [virtual]\fR" +.SH "bool TQSqlDriver::beginTransaction ()\fC [virtual]\fR" Protected function which derived classes can reimplement to begin a transaction. If successful, return TRUE, otherwise return FALSE. The default implementation returns FALSE. .PP See also commitTransaction() and rollbackTransaction(). -.SH "void QSqlDriver::close ()\fC [pure virtual]\fR" +.SH "void TQSqlDriver::close ()\fC [pure virtual]\fR" Derived classes must reimplement this abstract virtual function in order to close the database connection. Return TRUE on success, FALSE on failure. .PP See also setOpen(). -.SH "bool QSqlDriver::commitTransaction ()\fC [virtual]\fR" +.SH "bool TQSqlDriver::commitTransaction ()\fC [virtual]\fR" Protected function which derived classes can reimplement to commit a transaction. If successful, return TRUE, otherwise return FALSE. The default implementation returns FALSE. .PP See also beginTransaction() and rollbackTransaction(). -.SH "QSqlQuery QSqlDriver::createQuery () const\fC [pure virtual]\fR" -Creates an empty SQL result on the database. Derived classes must reimplement this function and return a QSqlQuery object appropriate for their database to the caller. -.SH "TQString QSqlDriver::formatValue ( const QSqlField * field, bool trimStrings = FALSE ) const\fC [virtual]\fR" +.SH "TQSqlQuery TQSqlDriver::createQuery () const\fC [pure virtual]\fR" +Creates an empty SQL result on the database. Derived classes must reimplement this function and return a TQSqlQuery object appropriate for their database to the caller. +.SH "TQString TQSqlDriver::formatValue ( const TQSqlField * field, bool trimStrings = FALSE ) const\fC [virtual]\fR" Returns a string representation of the \fIfield\fR value for the database. This is used, for example, when constructing INSERT and UPDATE statements. .PP The default implementation returns the value formatted as a string according to the following rules: @@ -162,27 +162,27 @@ For any other field type toString() will be called on its value and the result r .IP .PP See also QVariant::toString(). -.SH "bool QSqlDriver::hasFeature ( DriverFeature f ) const\fC [pure virtual]\fR" +.SH "bool TQSqlDriver::hasFeature ( DriverFeature f ) const\fC [pure virtual]\fR" Returns TRUE if the driver supports feature \fIf\fR; otherwise returns FALSE. .PP Note that some databases need to be open() before this can be determined. .PP See also DriverFeature. -.SH "bool QSqlDriver::isOpen () const" +.SH "bool TQSqlDriver::isOpen () const" Returns TRUE if the database connection is open; otherwise returns FALSE. -.SH "bool QSqlDriver::isOpenError () const" +.SH "bool TQSqlDriver::isOpenError () const" Returns TRUE if the there was an error opening the database connection; otherwise returns FALSE. -.SH "QSqlError QSqlDriver::lastError () const" -Returns a QSqlError object which contains information about the last error that occurred on the database. -.SH "TQString QSqlDriver::nullText () const\fC [virtual]\fR" +.SH "TQSqlError TQSqlDriver::lastError () const" +Returns a TQSqlError object which contains information about the last error that occurred on the database. +.SH "TQString TQSqlDriver::nullText () const\fC [virtual]\fR" Returns a string representation of the NULL value for the database. This is used, for example, when constructing INSERT and UPDATE statements. The default implementation returns the string" NULL". -.SH "bool QSqlDriver::open ( const TQString & db, const TQString & user = TQString::null, const TQString & password = TQString::null, const TQString & host = TQString::null, int port = -1 )\fC [pure virtual]\fR" +.SH "bool TQSqlDriver::open ( const TQString & db, const TQString & user = TQString::null, const TQString & password = TQString::null, const TQString & host = TQString::null, int port = -1 )\fC [pure virtual]\fR" Derived classes must reimplement this abstract virtual function in order to open a database connection on database \fIdb\fR, using user name \fIuser\fR, password \fIpassword\fR, host \fIhost\fR and port \fIport\fR. .PP The function \fImust\fR return TRUE on success and FALSE on failure. .PP See also setOpen(). -.SH "bool QSqlDriver::open ( const TQString & db, const TQString & user, const TQString & password, const TQString & host, int port, const TQString & connOpts )" +.SH "bool TQSqlDriver::open ( const TQString & db, const TQString & user, const TQString & password, const TQString & host, int port, const TQString & connOpts )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Open a database connection on database \fIdb\fR, using user name \fIuser\fR, password \fIpassword\fR, host \fIhost\fR, port \fIport\fR and connection options \fIconnOpts\fR. @@ -190,45 +190,45 @@ Open a database connection on database \fIdb\fR, using user name \fIuser\fR, pas Returns TRUE on success and FALSE on failure. .PP See also setOpen(). -.SH "QSqlIndex QSqlDriver::primaryIndex ( const TQString & tableName ) const\fC [virtual]\fR" -Returns the primary index for table \fItableName\fR. Returns an empty QSqlIndex if the table doesn't have a primary index. The default implementation returns an empty index. -.SH "QSqlRecord QSqlDriver::record ( const TQString & tableName ) const\fC [virtual]\fR" -Returns a QSqlRecord populated with the names of the fields in table \fItableName\fR. If no such table exists, an empty record is returned. The default implementation returns an empty record. -.SH "QSqlRecord QSqlDriver::record ( const QSqlQuery & query ) const\fC [virtual]\fR" +.SH "TQSqlIndex TQSqlDriver::primaryIndex ( const TQString & tableName ) const\fC [virtual]\fR" +Returns the primary index for table \fItableName\fR. Returns an empty TQSqlIndex if the table doesn't have a primary index. The default implementation returns an empty index. +.SH "TQSqlRecord TQSqlDriver::record ( const TQString & tableName ) const\fC [virtual]\fR" +Returns a TQSqlRecord populated with the names of the fields in table \fItableName\fR. If no such table exists, an empty record is returned. The default implementation returns an empty record. +.SH "TQSqlRecord TQSqlDriver::record ( const TQSqlQuery & query ) const\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns a QSqlRecord populated with the names of the fields in the SQL \fIquery\fR. The default implementation returns an empty record. -.SH "QSqlRecordInfo QSqlDriver::recordInfo ( const TQString & tablename ) const\fC [virtual]\fR" -Returns a QSqlRecordInfo object with meta data about the table \fItablename\fR. -.SH "QSqlRecordInfo QSqlDriver::recordInfo ( const QSqlQuery & query ) const\fC [virtual]\fR" +Returns a TQSqlRecord populated with the names of the fields in the SQL \fIquery\fR. The default implementation returns an empty record. +.SH "TQSqlRecordInfo TQSqlDriver::recordInfo ( const TQString & tablename ) const\fC [virtual]\fR" +Returns a TQSqlRecordInfo object with meta data about the table \fItablename\fR. +.SH "TQSqlRecordInfo TQSqlDriver::recordInfo ( const TQSqlQuery & query ) const\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns a QSqlRecordInfo object with meta data for the QSqlQuery \fIquery\fR. Note that this overloaded function may return less information than the recordInfo() function which takes the name of a table as parameter. -.SH "bool QSqlDriver::rollbackTransaction ()\fC [virtual]\fR" +Returns a TQSqlRecordInfo object with meta data for the TQSqlQuery \fIquery\fR. Note that this overloaded function may return less information than the recordInfo() function which takes the name of a table as parameter. +.SH "bool TQSqlDriver::rollbackTransaction ()\fC [virtual]\fR" Protected function which derived classes can reimplement to rollback a transaction. If successful, return TRUE, otherwise return FALSE. The default implementation returns FALSE. .PP See also beginTransaction() and commitTransaction(). -.SH "void QSqlDriver::setLastError ( const QSqlError & e )\fC [virtual protected]\fR" +.SH "void TQSqlDriver::setLastError ( const TQSqlError & e )\fC [virtual protected]\fR" Protected function which allows derived classes to set the value of the last error, \fIe\fR, that occurred on the database. .PP See also lastError(). -.SH "void QSqlDriver::setOpen ( bool o )\fC [virtual protected]\fR" +.SH "void TQSqlDriver::setOpen ( bool o )\fC [virtual protected]\fR" Protected function which sets the open state of the database to \fIo\fR. Derived classes can use this function to report the status of open(). .PP See also open() and setOpenError(). -.SH "void QSqlDriver::setOpenError ( bool e )\fC [virtual protected]\fR" +.SH "void TQSqlDriver::setOpenError ( bool e )\fC [virtual protected]\fR" Protected function which sets the open error state of the database to \fIe\fR. Derived classes can use this function to report the status of open(). Note that if \fIe\fR is TRUE the open state of the database is set to closed (i.e. isOpen() returns FALSE). .PP See also open(). -.SH "QStringList QSqlDriver::tables ( const TQString & tableType ) const\fC [virtual]\fR" +.SH "QStringList TQSqlDriver::tables ( const TQString & tableType ) const\fC [virtual]\fR" Returns a list of tables in the database. The default implementation returns an empty list. .PP -The \fItableType\fR argument describes what types of tables should be returned. Due to binary compatibility, the string contains the value of the enum QSql::TableTypes as text. An empty string should be treated as QSql::Tables for downward compatibility. +The \fItableType\fR argument describes what types of tables should be returned. Due to binary compatibility, the string contains the value of the enum TQSql::TableTypes as text. An empty string should be treated as TQSql::Tables for downward compatibility. .PP -See also QSql::TableType. +See also TQSql::TableType. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqldriver.html +.BR http://doc.trolltech.com/tqsqldriver.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqldriverplugin.3qt b/doc/man/man3/tqsqldriverplugin.3qt index 95abb8b6b..c190a9937 100644 --- a/doc/man/man3/tqsqldriverplugin.3qt +++ b/doc/man/man3/tqsqldriverplugin.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlDriverPlugin 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlDriverPlugin 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlDriverPlugin \- Abstract base for custom QSqlDriver plugins +TQSqlDriverPlugin \- Abstract base for custom TQSqlDriver plugins .SH SYNOPSIS -\fC#include <ntqsqldriverplugin.h>\fR +\fC#include <tqsqldriverplugin.h>\fR .PP .SS "Public Members" .in +1c @@ -17,17 +17,17 @@ QSqlDriverPlugin \- Abstract base for custom QSqlDriver plugins .BI "\fBQSqlDriverPlugin\fR ()" .br .ti -1c -.BI "\fB~QSqlDriverPlugin\fR ()" +.BI "\fB~TQSqlDriverPlugin\fR ()" .br .ti -1c .BI "virtual QStringList \fBkeys\fR () const = 0" .br .ti -1c -.BI "virtual QSqlDriver * \fBcreate\fR ( const TQString & key ) = 0" +.BI "virtual TQSqlDriver * \fBcreate\fR ( const TQString & key ) = 0" .br .in -1c .SH DESCRIPTION -The QSqlDriverPlugin class provides an abstract base for custom QSqlDriver plugins. +The TQSqlDriverPlugin class provides an abstract base for custom TQSqlDriver plugins. .PP The SQL driver plugin is a simple plugin interface that makes it easy to create your own SQL driver plugins that can be loaded dynamically by Qt. .PP @@ -35,17 +35,17 @@ Writing a SQL plugin is achieved by subclassing this base class, reimplementing .PP See also Plugins. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlDriverPlugin::QSqlDriverPlugin ()" +.SH "TQSqlDriverPlugin::TQSqlDriverPlugin ()" Constructs a SQL driver plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro. -.SH "QSqlDriverPlugin::~QSqlDriverPlugin ()" +.SH "TQSqlDriverPlugin::~TQSqlDriverPlugin ()" Destroys the SQL driver plugin. .PP You never have to call this explicitly. TQt destroys a plugin automatically when it is no longer used. -.SH "QSqlDriver * QSqlDriverPlugin::create ( const TQString & key )\fC [pure virtual]\fR" -Creates and returns a QSqlDriver object for the driver key \fIkey\fR. The driver key is usually the class name of the required driver. +.SH "TQSqlDriver * TQSqlDriverPlugin::create ( const TQString & key )\fC [pure virtual]\fR" +Creates and returns a TQSqlDriver object for the driver key \fIkey\fR. The driver key is usually the class name of the required driver. .PP See also keys(). -.SH "QStringList QSqlDriverPlugin::keys () const\fC [pure virtual]\fR" +.SH "QStringList TQSqlDriverPlugin::keys () const\fC [pure virtual]\fR" Returns the list of drivers (keys) this plugin supports. .PP These keys are usually the class names of the custom drivers that are implemented in the plugin. @@ -53,7 +53,7 @@ These keys are usually the class names of the custom drivers that are implemente See also create(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqldriverplugin.html +.BR http://doc.trolltech.com/tqsqldriverplugin.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqleditorfactory.3qt b/doc/man/man3/tqsqleditorfactory.3qt index 272e4f7b1..3e3093b0e 100644 --- a/doc/man/man3/tqsqleditorfactory.3qt +++ b/doc/man/man3/tqsqleditorfactory.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlEditorFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlEditorFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,11 +7,11 @@ .ad l .nh .SH NAME -QSqlEditorFactory \- Used to create the editors used by QDataTable and QSqlForm +TQSqlEditorFactory \- Used to create the editors used by TQDataTable and TQSqlForm .SH SYNOPSIS -\fC#include <ntqsqleditorfactory.h>\fR +\fC#include <tqsqleditorfactory.h>\fR .PP -Inherits QEditorFactory. +Inherits TQEditorFactory. .PP .SS "Public Members" .in +1c @@ -19,56 +19,56 @@ Inherits QEditorFactory. .BI "\fBQSqlEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QSqlEditorFactory\fR ()" +.BI "\fB~TQSqlEditorFactory\fR ()" .br .ti -1c .BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QVariant & variant )" .br .ti -1c -.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QSqlField * field )" +.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const TQSqlField * field )" .br .in -1c .SS "Static Public Members" .in +1c .ti -1c -.BI "QSqlEditorFactory * \fBdefaultFactory\fR ()" +.BI "TQSqlEditorFactory * \fBdefaultFactory\fR ()" .br .ti -1c -.BI "void \fBinstallDefaultFactory\fR ( QSqlEditorFactory * factory )" +.BI "void \fBinstallDefaultFactory\fR ( TQSqlEditorFactory * factory )" .br .in -1c .SH DESCRIPTION -The QSqlEditorFactory class is used to create the editors used by QDataTable and QSqlForm. +The TQSqlEditorFactory class is used to create the editors used by TQDataTable and TQSqlForm. .PP -QSqlEditorFactory is used by QDataTable and QSqlForm to automatically create appropriate editors for a given QSqlField. For example if the field is a QVariant::String a QLineEdit would be the default editor, whereas a QVariant::Int's default editor would be a QSpinBox. +TQSqlEditorFactory is used by TQDataTable and TQSqlForm to automatically create appropriate editors for a given TQSqlField. For example if the field is a QVariant::String a QLineEdit would be the default editor, whereas a QVariant::Int's default editor would be a QSpinBox. .PP -If you want to create different editors for fields with the same data type, subclass QSqlEditorFactory and reimplement the createEditor() function. +If you want to create different editors for fields with the same data type, subclass TQSqlEditorFactory and reimplement the createEditor() function. .PP -See also QDataTable, QSqlForm, and Database Classes. +See also TQDataTable, TQSqlForm, and Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlEditorFactory::QSqlEditorFactory ( TQObject * parent = 0, const char * name = 0 )" +.SH "TQSqlEditorFactory::TQSqlEditorFactory ( TQObject * parent = 0, const char * name = 0 )" Constructs a SQL editor factory with parent \fIparent\fR, called \fIname\fR. -.SH "QSqlEditorFactory::~QSqlEditorFactory ()" +.SH "TQSqlEditorFactory::~TQSqlEditorFactory ()" Destroys the object and frees any allocated resources. -.SH "TQWidget * QSqlEditorFactory::createEditor ( TQWidget * parent, const QVariant & variant )\fC [virtual]\fR" +.SH "TQWidget * TQSqlEditorFactory::createEditor ( TQWidget * parent, const QVariant & variant )\fC [virtual]\fR" Creates and returns the appropriate editor widget for the QVariant \fIvariant\fR. .PP The widget that is returned has the parent \fIparent\fR (which may be zero). If \fIvariant\fR is invalid, 0 is returned. .PP -Reimplemented from QEditorFactory. -.SH "TQWidget * QSqlEditorFactory::createEditor ( TQWidget * parent, const QSqlField * field )\fC [virtual]\fR" +Reimplemented from TQEditorFactory. +.SH "TQWidget * TQSqlEditorFactory::createEditor ( TQWidget * parent, const TQSqlField * field )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Creates and returns the appropriate editor for the QSqlField \fIfield\fR. -.SH "QSqlEditorFactory * QSqlEditorFactory::defaultFactory ()\fC [static]\fR" +Creates and returns the appropriate editor for the TQSqlField \fIfield\fR. +.SH "TQSqlEditorFactory * TQSqlEditorFactory::defaultFactory ()\fC [static]\fR" Returns an instance of a default editor factory. -.SH "void QSqlEditorFactory::installDefaultFactory ( QSqlEditorFactory * factory )\fC [static]\fR" +.SH "void TQSqlEditorFactory::installDefaultFactory ( TQSqlEditorFactory * factory )\fC [static]\fR" Replaces the default editor factory with \fIfactory\fR. All -QDataTable and QSqlForm instantiations will use this new factory +TQDataTable and TQSqlForm instantiations will use this new factory for creating field editors. \fIQSqlEditorFactory takes ownership of \a factory, and destroys it when it is no longer needed.\fR .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqleditorfactory.html +.BR http://doc.trolltech.com/tqsqleditorfactory.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlerror.3qt b/doc/man/man3/tqsqlerror.3qt index 5b609aa21..ad846e4a9 100644 --- a/doc/man/man3/tqsqlerror.3qt +++ b/doc/man/man3/tqsqlerror.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlError 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlError 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlError \- SQL database error information +TQSqlError \- SQL database error information .SH SYNOPSIS -\fC#include <ntqsqlerror.h>\fR +\fC#include <tqsqlerror.h>\fR .PP .SS "Public Members" .in +1c @@ -17,16 +17,16 @@ QSqlError \- SQL database error information .BI "enum \fBType\fR { None, Connection, Statement, Transaction, Unknown }" .br .ti -1c -.BI "\fBQSqlError\fR ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = QSqlError::None, int number = -1 )" +.BI "\fBQSqlError\fR ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" .br .ti -1c -.BI "\fBQSqlError\fR ( const QSqlError & other )" +.BI "\fBQSqlError\fR ( const TQSqlError & other )" .br .ti -1c -.BI "QSqlError & \fBoperator=\fR ( const QSqlError & other )" +.BI "TQSqlError & \fBoperator=\fR ( const TQSqlError & other )" .br .ti -1c -.BI "virtual \fB~QSqlError\fR ()" +.BI "virtual \fB~TQSqlError\fR ()" .br .ti -1c .BI "TQString \fBdriverText\fR () const" @@ -60,13 +60,13 @@ QSqlError \- SQL database error information .br .in -1c .SH DESCRIPTION -The QSqlError class provides SQL database error information. +The TQSqlError class provides SQL database error information. .PP This class is used to report database-specific errors. An error description and (if appropriate) a database-specific error number can be obtained using this class. .PP See also Database Classes. .SS "Member Type Documentation" -.SH "QSqlError::Type" +.SH "TQSqlError::Type" This enum type describes the type of SQL error that occurred. .TP \fCQSqlError::None\fR - no error occurred @@ -79,45 +79,45 @@ This enum type describes the type of SQL error that occurred. .TP \fCQSqlError::Unknown\fR - unknown error .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlError::QSqlError ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = QSqlError::None, int number = -1 )" +.SH "TQSqlError::TQSqlError ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" Constructs an error containing the driver error text \fIdriverText\fR, the database-specific error text \fIdatabaseText\fR, the type \fItype\fR and the optional error number \fInumber\fR. -.SH "QSqlError::QSqlError ( const QSqlError & other )" +.SH "TQSqlError::TQSqlError ( const TQSqlError & other )" Creates a copy of \fIother\fR. -.SH "QSqlError::~QSqlError ()\fC [virtual]\fR" +.SH "TQSqlError::~TQSqlError ()\fC [virtual]\fR" Destroys the object and frees any allocated resources. -.SH "TQString QSqlError::databaseText () const" +.SH "TQString TQSqlError::databaseText () const" Returns the text of the error as reported by the database. This may contain database-specific descriptions. -.SH "TQString QSqlError::driverText () const" +.SH "TQString TQSqlError::driverText () const" Returns the text of the error as reported by the driver. This may contain database-specific descriptions. -.SH "int QSqlError::number () const" +.SH "int TQSqlError::number () const" Returns the database-specific error number, or -1 if it cannot be determined. -.SH "QSqlError & QSqlError::operator= ( const QSqlError & other )" +.SH "TQSqlError & TQSqlError::operator= ( const TQSqlError & other )" Sets the error equal to \fIother\fR. -.SH "void QSqlError::setDatabaseText ( const TQString & databaseText )\fC [virtual]\fR" +.SH "void TQSqlError::setDatabaseText ( const TQString & databaseText )\fC [virtual]\fR" Sets the database error text to the value of \fIdatabaseText\fR. -.SH "void QSqlError::setDriverText ( const TQString & driverText )\fC [virtual]\fR" +.SH "void TQSqlError::setDriverText ( const TQString & driverText )\fC [virtual]\fR" Sets the driver error text to the value of \fIdriverText\fR. -.SH "void QSqlError::setNumber ( int number )\fC [virtual]\fR" +.SH "void TQSqlError::setNumber ( int number )\fC [virtual]\fR" Sets the database-specific error number to \fInumber\fR. -.SH "void QSqlError::setType ( int type )\fC [virtual]\fR" +.SH "void TQSqlError::setType ( int type )\fC [virtual]\fR" Sets the error type to the value of \fItype\fR. -.SH "void QSqlError::showMessage ( const TQString & msg = TQString::null ) const" +.SH "void TQSqlError::showMessage ( const TQString & msg = TQString::null ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This is a convenience function that pops up a QMessageBox containing the message returned by text(). An additional string can be passed in via the \fImsg\fR parameter, which will be concatenated with the text() message. .PP See also text(), driverText(), and databaseText(). -.SH "TQString QSqlError::text () const" +.SH "TQString TQSqlError::text () const" This is a convenience function that returns databaseText() and driverText() concatenated into a single string. .PP See also showMessage(), driverText(), and databaseText(). -.SH "int QSqlError::type () const" +.SH "int TQSqlError::type () const" Returns the error type, or -1 if the type cannot be determined. .PP -See also QSqlError::Type. +See also TQSqlError::Type. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlerror.html +.BR http://doc.trolltech.com/tqsqlerror.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlfield.3qt b/doc/man/man3/tqsqlfield.3qt index dfb18cb16..c5c484b09 100644 --- a/doc/man/man3/tqsqlfield.3qt +++ b/doc/man/man3/tqsqlfield.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlField 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlField 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlField \- Manipulates the fields in SQL database tables and views +TQSqlField \- Manipulates the fields in SQL database tables and views .SH SYNOPSIS -\fC#include <ntqsqlfield.h>\fR +\fC#include <tqsqlfield.h>\fR .PP .SS "Public Members" .in +1c @@ -17,16 +17,16 @@ QSqlField \- Manipulates the fields in SQL database tables and views .BI "\fBQSqlField\fR ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )" .br .ti -1c -.BI "\fBQSqlField\fR ( const QSqlField & other )" +.BI "\fBQSqlField\fR ( const TQSqlField & other )" .br .ti -1c -.BI "QSqlField & \fBoperator=\fR ( const QSqlField & other )" +.BI "TQSqlField & \fBoperator=\fR ( const TQSqlField & other )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QSqlField & other ) const" +.BI "bool \fBoperator==\fR ( const TQSqlField & other ) const" .br .ti -1c -.BI "virtual \fB~QSqlField\fR ()" +.BI "virtual \fB~TQSqlField\fR ()" .br .ti -1c .BI "virtual void \fBsetValue\fR ( const QVariant & value )" @@ -60,15 +60,15 @@ QSqlField \- Manipulates the fields in SQL database tables and views .br .in -1c .SH DESCRIPTION -The QSqlField class manipulates the fields in SQL database tables and views. +The TQSqlField class manipulates the fields in SQL database tables and views. .PP -QSqlField represents the characteristics of a single column in a database table or view, such as the data type and column name. A field also contains the value of the database column, which can be viewed or changed. +TQSqlField represents the characteristics of a single column in a database table or view, such as the data type and column name. A field also contains the value of the database column, which can be viewed or changed. .PP Field data values are stored as QVariants. Using an incompatible type is not permitted. For example: .PP .nf .br - QSqlField f( "myfield", QVariant::Int ); + TQSqlField f( "myfield", QVariant::Int ); .br f.setValue( QPixmap() ); // will not work .br @@ -78,19 +78,19 @@ However, the field will attempt to cast certain data types to the field data typ .PP .nf .br - QSqlField f( "myfield", QVariant::Int ); + TQSqlField f( "myfield", QVariant::Int ); .br f.setValue( TQString("123") ); // casts TQString to int .br .fi .PP -QSqlField objects are rarely created explicitly in application code. They are usually accessed indirectly through QSqlRecord or QSqlCursor which already contain a list of fields. For example: +TQSqlField objects are rarely created explicitly in application code. They are usually accessed indirectly through TQSqlRecord or TQSqlCursor which already contain a list of fields. For example: .PP .nf .br - QSqlCursor cur( "Employee" ); // create cursor using the 'Employee' table + TQSqlCursor cur( "Employee" ); // create cursor using the 'Employee' table .br - QSqlField* f = cur.field( "name" ); // use the 'name' field + TQSqlField* f = cur.field( "name" ); // use the 'name' field .br f->setValue( "Dave" ); // set field value .br @@ -102,7 +102,7 @@ In practice we rarely need to extract a pointer to a field at all. The previous .PP .nf .br - QSqlCursor cur( "Employee" ); + TQSqlCursor cur( "Employee" ); .br cur.setValue( "name", "Dave" ); .br @@ -112,25 +112,25 @@ In practice we rarely need to extract a pointer to a field at all. The previous .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlField::QSqlField ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )" +.SH "TQSqlField::TQSqlField ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )" Constructs an empty field called \fIfieldName\fR of type \fItype\fR. -.SH "QSqlField::QSqlField ( const QSqlField & other )" +.SH "TQSqlField::TQSqlField ( const TQSqlField & other )" Constructs a copy of \fIother\fR. -.SH "QSqlField::~QSqlField ()\fC [virtual]\fR" +.SH "TQSqlField::~TQSqlField ()\fC [virtual]\fR" Destroys the object and frees any allocated resources. -.SH "void QSqlField::clear ( bool nullify = TRUE )" +.SH "void TQSqlField::clear ( bool nullify = TRUE )" Clears the value of the field. If the field is read-only, nothing happens. If \fInullify\fR is TRUE (the default), the field is set to NULL. -.SH "bool QSqlField::isNull () const" +.SH "bool TQSqlField::isNull () const" Returns TRUE if the field is currently NULL; otherwise returns FALSE. -.SH "bool QSqlField::isReadOnly () const" +.SH "bool TQSqlField::isReadOnly () const" Returns TRUE if the field's value is read only; otherwise returns FALSE. -.SH "TQString QSqlField::name () const" +.SH "TQString TQSqlField::name () const" Returns the name of the field. .PP Example: sql/overview/table4/main.cpp. -.SH "QSqlField & QSqlField::operator= ( const QSqlField & other )" +.SH "TQSqlField & TQSqlField::operator= ( const TQSqlField & other )" Sets the field equal to \fIother\fR. -.SH "bool QSqlField::operator== ( const QSqlField & other ) const" +.SH "bool TQSqlField::operator== ( const TQSqlField & other ) const" Returns TRUE if the field is equal to \fIother\fR; otherwise returns FALSE. Fields are considered equal when the following field properties are the same: .TP name() @@ -140,24 +140,24 @@ isNull() value() .TP isReadOnly() -.SH "void QSqlField::setName ( const TQString & name )\fC [virtual]\fR" +.SH "void TQSqlField::setName ( const TQString & name )\fC [virtual]\fR" Sets the name of the field to \fIname\fR. -.SH "void QSqlField::setNull ()\fC [virtual]\fR" +.SH "void TQSqlField::setNull ()\fC [virtual]\fR" Sets the field to NULL and clears the value using clear(). If the field is read-only, nothing happens. .PP See also isReadOnly() and clear(). -.SH "void QSqlField::setReadOnly ( bool readOnly )\fC [virtual]\fR" +.SH "void TQSqlField::setReadOnly ( bool readOnly )\fC [virtual]\fR" Sets the read only flag of the field's value to \fIreadOnly\fR. .PP See also setValue(). -.SH "void QSqlField::setValue ( const QVariant & value )\fC [virtual]\fR" +.SH "void TQSqlField::setValue ( const QVariant & value )\fC [virtual]\fR" Sets the value of the field to \fIvalue\fR. If the field is read-only (isReadOnly() returns TRUE), nothing happens. If the data type of \fIvalue\fR differs from the field's current data type, an attempt is made to cast it to the proper type. This preserves the data type of the field in the case of assignment, e.g. a TQString to an integer data type. For example: .PP .nf .br - QSqlCursor cur( "Employee" ); // 'Employee' table + TQSqlCursor cur( "Employee" ); // 'Employee' table .br - QSqlField* f = cur.field( "student_count" ); // an integer field + TQSqlField* f = cur.field( "student_count" ); // an integer field .br ... .br @@ -166,15 +166,15 @@ Sets the value of the field to \fIvalue\fR. If the field is read-only (isReadOnl .fi .PP See also isReadOnly(). -.SH "QVariant::Type QSqlField::type () const" +.SH "QVariant::Type TQSqlField::type () const" Returns the field's type as stored in the database. Note that the actual value might have a different type, Numerical values that are too large to store in a long int or double are usually stored as strings to prevent precision loss. -.SH "QVariant QSqlField::value () const\fC [virtual]\fR" +.SH "QVariant TQSqlField::value () const\fC [virtual]\fR" Returns the value of the field as a QVariant. .PP Example: sql/overview/table4/main.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlfield.html +.BR http://doc.trolltech.com/tqsqlfield.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlfieldinfo.3qt b/doc/man/man3/tqsqlfieldinfo.3qt index fdb6f9066..fb0333b7c 100644 --- a/doc/man/man3/tqsqlfieldinfo.3qt +++ b/doc/man/man3/tqsqlfieldinfo.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlFieldInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlFieldInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlFieldInfo \- Stores meta data associated with a SQL field +TQSqlFieldInfo \- Stores meta data associated with a SQL field .SH SYNOPSIS -\fC#include <ntqsqlfield.h>\fR +\fC#include <tqsqlfield.h>\fR .PP .SS "Public Members" .in +1c @@ -17,22 +17,22 @@ QSqlFieldInfo \- Stores meta data associated with a SQL field .BI "\fBQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )" .br .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const QSqlFieldInfo & other )" +.BI "\fBQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )" .br .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const QSqlField & other, bool generated = TRUE )" +.BI "\fBQSqlFieldInfo\fR ( const TQSqlField & other, bool generated = TRUE )" .br .ti -1c -.BI "virtual \fB~QSqlFieldInfo\fR ()" +.BI "virtual \fB~TQSqlFieldInfo\fR ()" .br .ti -1c -.BI "QSqlFieldInfo & \fBoperator=\fR ( const QSqlFieldInfo & other )" +.BI "TQSqlFieldInfo & \fBoperator=\fR ( const TQSqlFieldInfo & other )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QSqlFieldInfo & f ) const" +.BI "bool \fBoperator==\fR ( const TQSqlFieldInfo & f ) const" .br .ti -1c -.BI "QSqlField \fBtoField\fR () const" +.BI "TQSqlField \fBtoField\fR () const" .br .ti -1c .BI "int \fBisRequired\fR () const" @@ -75,82 +75,82 @@ QSqlFieldInfo \- Stores meta data associated with a SQL field .br .in -1c .SH DESCRIPTION -The QSqlFieldInfo class stores meta data associated with a SQL field. +The TQSqlFieldInfo class stores meta data associated with a SQL field. .PP -QSqlFieldInfo objects only store meta data; field values are stored in QSqlField objects. +TQSqlFieldInfo objects only store meta data; field values are stored in TQSqlField objects. .PP All values must be set in the constructor, and may be retrieved using isRequired(), type(), length(), precision(), defaultValue(), name(), isGenerated() and typeID(). .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlFieldInfo::QSqlFieldInfo ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )" -Constructs a QSqlFieldInfo with the following parameters: <center>.nf +.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )" +Constructs a TQSqlFieldInfo with the following parameters: <center>.nf .TS -l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a QVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. QVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in QSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR +l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a QVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. QVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in TQSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR .TE .fi </center> -.SH "QSqlFieldInfo::QSqlFieldInfo ( const QSqlFieldInfo & other )" +.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQSqlFieldInfo & other )" Constructs a copy of \fIother\fR. -.SH "QSqlFieldInfo::QSqlFieldInfo ( const QSqlField & other, bool generated = TRUE )" -Creates a QSqlFieldInfo object with the type and the name of the QSqlField \fIother\fR. If \fIgenerated\fR is TRUE this field will be included in auto-generated SQL statments, e.g. in QSqlCursor. -.SH "QSqlFieldInfo::~QSqlFieldInfo ()\fC [virtual]\fR" +.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQSqlField & other, bool generated = TRUE )" +Creates a TQSqlFieldInfo object with the type and the name of the TQSqlField \fIother\fR. If \fIgenerated\fR is TRUE this field will be included in auto-generated SQL statments, e.g. in TQSqlCursor. +.SH "TQSqlFieldInfo::~TQSqlFieldInfo ()\fC [virtual]\fR" Destroys the object and frees any allocated resources. -.SH "QVariant QSqlFieldInfo::defaultValue () const" +.SH "QVariant TQSqlFieldInfo::defaultValue () const" Returns the field's default value or an empty QVariant if the field has no default value or the value couldn't be determined. The default value is the value inserted in the database when it is not explicitly specified by the user. -.SH "bool QSqlFieldInfo::isCalculated () const" +.SH "bool TQSqlFieldInfo::isCalculated () const" Returns TRUE if the field is calculated; otherwise returns FALSE. .PP See also setCalculated(). -.SH "bool QSqlFieldInfo::isGenerated () const" -Returns TRUE if the field should be included in auto-generated SQL statments, e.g. in QSqlCursor; otherwise returns FALSE. +.SH "bool TQSqlFieldInfo::isGenerated () const" +Returns TRUE if the field should be included in auto-generated SQL statments, e.g. in TQSqlCursor; otherwise returns FALSE. .PP See also setGenerated(). -.SH "int QSqlFieldInfo::isRequired () const" +.SH "int TQSqlFieldInfo::isRequired () const" Returns a value greater than 0 if the field is required (NULL values are not allowed), 0 if it isn't required (NULL values are allowed) or less than 0 if it cannot be determined whether the field is required or not. -.SH "bool QSqlFieldInfo::isTrim () const" +.SH "bool TQSqlFieldInfo::isTrim () const" Returns TRUE if trailing whitespace should be removed from character fields; otherwise returns FALSE. .PP See also setTrim(). -.SH "int QSqlFieldInfo::length () const" +.SH "int TQSqlFieldInfo::length () const" Returns the field's length. For fields storing text the return value is the maximum number of characters the field can hold. For non-character fields some database systems return the number of bytes needed or the number of digits allowed. If the length cannot be determined -1 is returned. -.SH "TQString QSqlFieldInfo::name () const" +.SH "TQString TQSqlFieldInfo::name () const" Returns the name of the field in the SQL table. .PP Examples: .)l sql/overview/subclass3/main.cpp and sql/overview/subclass4/main.cpp. -.SH "QSqlFieldInfo & QSqlFieldInfo::operator= ( const QSqlFieldInfo & other )" +.SH "TQSqlFieldInfo & TQSqlFieldInfo::operator= ( const TQSqlFieldInfo & other )" Assigns \fIother\fR to this field info and returns a reference to it. -.SH "bool QSqlFieldInfo::operator== ( const QSqlFieldInfo & f ) const" +.SH "bool TQSqlFieldInfo::operator== ( const TQSqlFieldInfo & f ) const" Returns TRUE if this fieldinfo is equal to \fIf\fR; otherwise returns FALSE. .PP Two field infos are considered equal if all their attributes match. -.SH "int QSqlFieldInfo::precision () const" +.SH "int TQSqlFieldInfo::precision () const" Returns the field's precision or -1 if the field has no precision or it cannot be determined. -.SH "void QSqlFieldInfo::setCalculated ( bool calc )\fC [virtual]\fR" -\fIcalc\fR set to TRUE indicates that this field is a calculated field. The value of calculated fields can by modified by subclassing QSqlCursor and overriding QSqlCursor::calculateField(). +.SH "void TQSqlFieldInfo::setCalculated ( bool calc )\fC [virtual]\fR" +\fIcalc\fR set to TRUE indicates that this field is a calculated field. The value of calculated fields can by modified by subclassing TQSqlCursor and overriding TQSqlCursor::calculateField(). .PP See also isCalculated(). -.SH "void QSqlFieldInfo::setGenerated ( bool gen )\fC [virtual]\fR" -\fIgen\fR set to FALSE indicates that this field should not appear in auto-generated SQL statements (for example in QSqlCursor). +.SH "void TQSqlFieldInfo::setGenerated ( bool gen )\fC [virtual]\fR" +\fIgen\fR set to FALSE indicates that this field should not appear in auto-generated SQL statements (for example in TQSqlCursor). .PP See also isGenerated(). -.SH "void QSqlFieldInfo::setTrim ( bool trim )\fC [virtual]\fR" +.SH "void TQSqlFieldInfo::setTrim ( bool trim )\fC [virtual]\fR" If \fItrim\fR is TRUE widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. .PP See also isTrim(). -.SH "QSqlField QSqlFieldInfo::toField () const" -Returns an empty QSqlField based on the information in this QSqlFieldInfo. -.SH "QVariant::Type QSqlFieldInfo::type () const" +.SH "TQSqlField TQSqlFieldInfo::toField () const" +Returns an empty TQSqlField based on the information in this TQSqlFieldInfo. +.SH "QVariant::Type TQSqlFieldInfo::type () const" Returns the field's type or QVariant::Invalid if the type is unknown. -.SH "int QSqlFieldInfo::typeID () const" +.SH "int TQSqlFieldInfo::typeID () const" Returns the internal type identifier as returned from the database system. The return value is 0 if the type is unknown. .PP \fBWarning:\fR This information is only useful for low-level database programming and is \fInot\fR database independent. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qsqlfieldinfo.html +.BR http://doc.trolltech.com/tqsqlfieldinfo.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlform.3qt b/doc/man/man3/tqsqlform.3qt index aeaa3befb..3af3402ea 100644 --- a/doc/man/man3/tqsqlform.3qt +++ b/doc/man/man3/tqsqlform.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlForm 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlForm 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlForm \- Creates and manages data entry forms tied to SQL databases +TQSqlForm \- Creates and manages data entry forms tied to SQL databases .SH SYNOPSIS -\fC#include <ntqsqlform.h>\fR +\fC#include <tqsqlform.h>\fR .PP Inherits TQObject. .PP @@ -19,7 +19,7 @@ Inherits TQObject. .BI "\fBQSqlForm\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QSqlForm\fR ()" +.BI "\fB~TQSqlForm\fR ()" .br .ti -1c .BI "virtual void \fBinsert\fR ( TQWidget * widget, const TQString & field )" @@ -34,16 +34,16 @@ Inherits TQObject. .BI "TQWidget * \fBwidget\fR ( uint i ) const" .br .ti -1c -.BI "QSqlField * \fBwidgetToField\fR ( TQWidget * widget ) const" +.BI "TQSqlField * \fBwidgetToField\fR ( TQWidget * widget ) const" .br .ti -1c -.BI "TQWidget * \fBfieldToWidget\fR ( QSqlField * field ) const" +.BI "TQWidget * \fBfieldToWidget\fR ( TQSqlField * field ) const" .br .ti -1c -.BI "void \fBinstallPropertyMap\fR ( QSqlPropertyMap * pmap )" +.BI "void \fBinstallPropertyMap\fR ( TQSqlPropertyMap * pmap )" .br .ti -1c -.BI "virtual void \fBsetRecord\fR ( QSqlRecord * buf )" +.BI "virtual void \fBsetRecord\fR ( TQSqlRecord * buf )" .br .in -1c .SS "Public Slots" @@ -70,22 +70,22 @@ Inherits TQObject. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBinsert\fR ( TQWidget * widget, QSqlField * field )" +.BI "virtual void \fBinsert\fR ( TQWidget * widget, TQSqlField * field )" .br .ti -1c .BI "virtual void \fBremove\fR ( TQWidget * widget )" .br .in -1c .SH DESCRIPTION -The QSqlForm class creates and manages data entry forms tied to SQL databases. +The TQSqlForm class creates and manages data entry forms tied to SQL databases. .PP -Typical use of a QSqlForm consists of the following steps: +Typical use of a TQSqlForm consists of the following steps: .TP Create the widgets you want to appear in the form. .TP Create a cursor and navigate to the record to be edited. .TP -Create the QSqlForm. +Create the TQSqlForm. .TP Set the form's record buffer to the cursor's update buffer. .TP @@ -97,7 +97,7 @@ Display the form and let the user edit values etc. .TP Use writeFields() to update the database's field values with the values in the editor widgets. .PP -Note that a QSqlForm does not access the database directly, but most often via QSqlFields which are part of a QSqlCursor. A QSqlCursor::insert(), QSqlCursor::update() or QSqlCursor::del() call is needed to actually write values to the database. +Note that a TQSqlForm does not access the database directly, but most often via TQSqlFields which are part of a TQSqlCursor. A TQSqlCursor::insert(), TQSqlCursor::update() or TQSqlCursor::del() call is needed to actually write values to the database. .PP Some sample code to initialize a form successfully: .PP @@ -105,9 +105,9 @@ Some sample code to initialize a form successfully: .br QLineEdit myEditor( this ); .br - QSqlForm myForm( this ); + TQSqlForm myForm( this ); .br - QSqlCursor myCursor( "mytable" ); + TQSqlCursor myCursor( "mytable" ); .br .br // Execute a query to make the cursor valid @@ -150,76 +150,76 @@ Some sample code to initialize a form successfully: .br .fi .PP -If you want to use custom editors for displaying and editing data fields, you must install a custom QSqlPropertyMap. The form uses this object to get or set the value of a widget. +If you want to use custom editors for displaying and editing data fields, you must install a custom TQSqlPropertyMap. The form uses this object to get or set the value of a widget. .PP Note that TQt Designer provides a visual means of creating data-aware forms. .PP -See also installPropertyMap(), QSqlPropertyMap, and Database Classes. +See also installPropertyMap(), TQSqlPropertyMap, and Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlForm::QSqlForm ( TQObject * parent = 0, const char * name = 0 )" -Constructs a QSqlForm with parent \fIparent\fR and called \fIname\fR. -.SH "QSqlForm::~QSqlForm ()" +.SH "TQSqlForm::TQSqlForm ( TQObject * parent = 0, const char * name = 0 )" +Constructs a TQSqlForm with parent \fIparent\fR and called \fIname\fR. +.SH "TQSqlForm::~TQSqlForm ()" Destroys the object and frees any allocated resources. -.SH "void QSqlForm::clear ()\fC [virtual slot]\fR" +.SH "void TQSqlForm::clear ()\fC [virtual slot]\fR" Removes every widget, and the fields they're mapped to, from the form. -.SH "void QSqlForm::clearValues ( bool nullify = FALSE )\fC [virtual slot]\fR" +.SH "void TQSqlForm::clearValues ( bool nullify = FALSE )\fC [virtual slot]\fR" Clears the values in all the widgets, and the fields they are mapped to, in the form. If \fInullify\fR is TRUE (the default is FALSE), each field is also set to NULL. -.SH "uint QSqlForm::count () const" +.SH "uint TQSqlForm::count () const" Returns the number of widgets in the form. -.SH "TQWidget * QSqlForm::fieldToWidget ( QSqlField * field ) const" +.SH "TQWidget * TQSqlForm::fieldToWidget ( TQSqlField * field ) const" Returns the widget that field \fIfield\fR is mapped to. -.SH "void QSqlForm::insert ( TQWidget * widget, const TQString & field )\fC [virtual]\fR" +.SH "void TQSqlForm::insert ( TQWidget * widget, const TQString & field )\fC [virtual]\fR" Inserts a \fIwidget\fR, and the name of the \fIfield\fR it is to be mapped to, into the form. To actually associate inserted widgets with an edit buffer, use setRecord(). .PP See also setRecord(). .PP Examples: .)l sql/overview/form1/main.cpp and sql/overview/form2/main.cpp. -.SH "void QSqlForm::insert ( TQWidget * widget, QSqlField * field )\fC [virtual protected]\fR" +.SH "void TQSqlForm::insert ( TQWidget * widget, TQSqlField * field )\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a \fIwidget\fR, and the \fIfield\fR it is to be mapped to, into the form. -.SH "void QSqlForm::installPropertyMap ( QSqlPropertyMap * pmap )" -Installs a custom QSqlPropertyMap. This is useful if you plan to create your own custom editor widgets. +.SH "void TQSqlForm::installPropertyMap ( TQSqlPropertyMap * pmap )" +Installs a custom TQSqlPropertyMap. This is useful if you plan to create your own custom editor widgets. .PP -QSqlForm takes ownership of \fIpmap\fR, so \fIpmap\fR is deleted when QSqlForm goes out of scope. +TQSqlForm takes ownership of \fIpmap\fR, so \fIpmap\fR is deleted when TQSqlForm goes out of scope. .PP -See also QDataTable::installEditorFactory(). +See also TQDataTable::installEditorFactory(). .PP Example: sql/overview/custom1/main.cpp. -.SH "void QSqlForm::readField ( TQWidget * widget )\fC [virtual slot]\fR" +.SH "void TQSqlForm::readField ( TQWidget * widget )\fC [virtual slot]\fR" Updates the widget \fIwidget\fR with the value from the SQL field it is mapped to. Nothing happens if no SQL field is mapped to the \fIwidget\fR. -.SH "void QSqlForm::readFields ()\fC [virtual slot]\fR" +.SH "void TQSqlForm::readFields ()\fC [virtual slot]\fR" Updates the widgets in the form with current values from the SQL fields they are mapped to. .PP Examples: .)l sql/overview/form1/main.cpp and sql/overview/form2/main.cpp. -.SH "void QSqlForm::remove ( TQWidget * widget )\fC [virtual protected]\fR" +.SH "void TQSqlForm::remove ( TQWidget * widget )\fC [virtual protected]\fR" Removes a \fIwidget\fR, and hence the field it's mapped to, from the form. -.SH "void QSqlForm::remove ( const TQString & field )\fC [virtual]\fR" +.SH "void TQSqlForm::remove ( const TQString & field )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Removes \fIfield\fR from the form. -.SH "void QSqlForm::setRecord ( QSqlRecord * buf )\fC [virtual]\fR" +.SH "void TQSqlForm::setRecord ( TQSqlRecord * buf )\fC [virtual]\fR" Sets \fIbuf\fR as the record buffer for the form. To force the display of the data from \fIbuf\fR, use readFields(). .PP See also readFields() and writeFields(). .PP Examples: .)l sql/overview/custom1/main.cpp, sql/overview/form1/main.cpp, and sql/overview/form2/main.cpp. -.SH "TQWidget * QSqlForm::widget ( uint i ) const" +.SH "TQWidget * TQSqlForm::widget ( uint i ) const" Returns the \fIi\fR-th widget in the form. Useful for traversing the widgets in the form. -.SH "QSqlField * QSqlForm::widgetToField ( TQWidget * widget ) const" +.SH "TQSqlField * TQSqlForm::widgetToField ( TQWidget * widget ) const" Returns the SQL field that widget \fIwidget\fR is mapped to. -.SH "void QSqlForm::writeField ( TQWidget * widget )\fC [virtual slot]\fR" +.SH "void TQSqlForm::writeField ( TQWidget * widget )\fC [virtual slot]\fR" Updates the SQL field with the value from the \fIwidget\fR it is mapped to. Nothing happens if no SQL field is mapped to the \fIwidget\fR. -.SH "void QSqlForm::writeFields ()\fC [virtual slot]\fR" -Updates the SQL fields with values from the widgets they are mapped to. To actually update the database with the contents of the record buffer, use QSqlCursor::insert(), QSqlCursor::update() or QSqlCursor::del() as appropriate. +.SH "void TQSqlForm::writeFields ()\fC [virtual slot]\fR" +Updates the SQL fields with values from the widgets they are mapped to. To actually update the database with the contents of the record buffer, use TQSqlCursor::insert(), TQSqlCursor::update() or TQSqlCursor::del() as appropriate. .PP Example: sql/overview/form2/main.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlform.html +.BR http://doc.trolltech.com/tqsqlform.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlindex.3qt b/doc/man/man3/tqsqlindex.3qt index 5c88ffa3f..b226b887a 100644 --- a/doc/man/man3/tqsqlindex.3qt +++ b/doc/man/man3/tqsqlindex.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlIndex 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlIndex 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,11 +7,11 @@ .ad l .nh .SH NAME -QSqlIndex \- Functions to manipulate and describe QSqlCursor and QSqlDatabase indexes +TQSqlIndex \- Functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes .SH SYNOPSIS -\fC#include <ntqsqlindex.h>\fR +\fC#include <tqsqlindex.h>\fR .PP -Inherits QSqlRecord. +Inherits TQSqlRecord. .PP .SS "Public Members" .in +1c @@ -19,13 +19,13 @@ Inherits QSqlRecord. .BI "\fBQSqlIndex\fR ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )" .br .ti -1c -.BI "\fBQSqlIndex\fR ( const QSqlIndex & other )" +.BI "\fBQSqlIndex\fR ( const TQSqlIndex & other )" .br .ti -1c -.BI "\fB~QSqlIndex\fR ()" +.BI "\fB~TQSqlIndex\fR ()" .br .ti -1c -.BI "QSqlIndex & \fBoperator=\fR ( const QSqlIndex & other )" +.BI "TQSqlIndex & \fBoperator=\fR ( const TQSqlIndex & other )" .br .ti -1c .BI "virtual void \fBsetCursorName\fR ( const TQString & cursorName )" @@ -40,10 +40,10 @@ Inherits QSqlRecord. .BI "TQString \fBname\fR () const" .br .ti -1c -.BI "virtual void \fBappend\fR ( const QSqlField & field )" +.BI "virtual void \fBappend\fR ( const TQSqlField & field )" .br .ti -1c -.BI "virtual void \fBappend\fR ( const QSqlField & field, bool desc )" +.BI "virtual void \fBappend\fR ( const TQSqlField & field, bool desc )" .br .ti -1c .BI "bool \fBisDescending\fR ( int i ) const" @@ -55,53 +55,53 @@ Inherits QSqlRecord. .SS "Static Public Members" .in +1c .ti -1c -.BI "QSqlIndex \fBfromStringList\fR ( const QStringList & l, const QSqlCursor * cursor )" +.BI "TQSqlIndex \fBfromStringList\fR ( const QStringList & l, const TQSqlCursor * cursor )" .br .in -1c .SH DESCRIPTION -The QSqlIndex class provides functions to manipulate and describe QSqlCursor and QSqlDatabase indexes. +The TQSqlIndex class provides functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes. .PP -This class is used to describe and manipulate QSqlCursor and QSqlDatabase indexes. An index refers to a single table or view in a database. Information about the fields that comprise the index can be used to generate SQL statements, or to affect the behavior of a QSqlCursor object. +This class is used to describe and manipulate TQSqlCursor and TQSqlDatabase indexes. An index refers to a single table or view in a database. Information about the fields that comprise the index can be used to generate SQL statements, or to affect the behavior of a TQSqlCursor object. .PP -Normally, QSqlIndex objects are created by QSqlDatabase or QSqlCursor. +Normally, TQSqlIndex objects are created by TQSqlDatabase or TQSqlCursor. .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlIndex::QSqlIndex ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )" +.SH "TQSqlIndex::TQSqlIndex ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )" Constructs an empty index using the cursor name \fIcursorname\fR and index name \fIname\fR. -.SH "QSqlIndex::QSqlIndex ( const QSqlIndex & other )" +.SH "TQSqlIndex::TQSqlIndex ( const TQSqlIndex & other )" Constructs a copy of \fIother\fR. -.SH "QSqlIndex::~QSqlIndex ()" +.SH "TQSqlIndex::~TQSqlIndex ()" Destroys the object and frees any allocated resources. -.SH "void QSqlIndex::append ( const QSqlField & field )\fC [virtual]\fR" +.SH "void TQSqlIndex::append ( const TQSqlField & field )\fC [virtual]\fR" Appends the field \fIfield\fR to the list of indexed fields. The field is appended with an ascending sort order. .PP -Reimplemented from QSqlRecord. -.SH "void QSqlIndex::append ( const QSqlField & field, bool desc )\fC [virtual]\fR" +Reimplemented from TQSqlRecord. +.SH "void TQSqlIndex::append ( const TQSqlField & field, bool desc )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Appends the field \fIfield\fR to the list of indexed fields. The field is appended with an ascending sort order, unless \fIdesc\fR is TRUE. -.SH "TQString QSqlIndex::cursorName () const" +.SH "TQString TQSqlIndex::cursorName () const" Returns the name of the cursor which the index is associated with. -.SH "QSqlIndex QSqlIndex::fromStringList ( const QStringList & l, const QSqlCursor * cursor )\fC [static]\fR" +.SH "TQSqlIndex TQSqlIndex::fromStringList ( const QStringList & l, const TQSqlCursor * cursor )\fC [static]\fR" Returns an index based on the field descriptions in \fIl\fR and the cursor \fIcursor\fR. The field descriptions should be in the same format that toStringList() produces, for example, a surname field in the people table might be in one of these forms: "surname"," surname DESC" or "people.surname ASC". .PP See also toStringList(). -.SH "bool QSqlIndex::isDescending ( int i ) const" +.SH "bool TQSqlIndex::isDescending ( int i ) const" Returns TRUE if field \fIi\fR in the index is sorted in descending order; otherwise returns FALSE. -.SH "TQString QSqlIndex::name () const" +.SH "TQString TQSqlIndex::name () const" Returns the name of the index. -.SH "QSqlIndex & QSqlIndex::operator= ( const QSqlIndex & other )" +.SH "TQSqlIndex & TQSqlIndex::operator= ( const TQSqlIndex & other )" Sets the index equal to \fIother\fR. -.SH "void QSqlIndex::setCursorName ( const TQString & cursorName )\fC [virtual]\fR" +.SH "void TQSqlIndex::setCursorName ( const TQString & cursorName )\fC [virtual]\fR" Sets the name of the cursor that the index is associated with to \fIcursorName\fR. -.SH "void QSqlIndex::setDescending ( int i, bool desc )\fC [virtual]\fR" +.SH "void TQSqlIndex::setDescending ( int i, bool desc )\fC [virtual]\fR" If \fIdesc\fR is TRUE, field \fIi\fR is sorted in descending order. Otherwise, field \fIi\fR is sorted in ascending order (the default). If the field does not exist, nothing happens. -.SH "void QSqlIndex::setName ( const TQString & name )\fC [virtual]\fR" +.SH "void TQSqlIndex::setName ( const TQString & name )\fC [virtual]\fR" Sets the name of the index to \fIname\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlindex.html +.BR http://doc.trolltech.com/tqsqlindex.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlpropertymap.3qt b/doc/man/man3/tqsqlpropertymap.3qt index 3857f1303..ec88742a6 100644 --- a/doc/man/man3/tqsqlpropertymap.3qt +++ b/doc/man/man3/tqsqlpropertymap.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlPropertyMap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlPropertyMap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlPropertyMap \- Used to map widgets to SQL fields +TQSqlPropertyMap \- Used to map widgets to SQL fields .SH SYNOPSIS -\fC#include <ntqsqlpropertymap.h>\fR +\fC#include <tqsqlpropertymap.h>\fR .PP .SS "Public Members" .in +1c @@ -17,7 +17,7 @@ QSqlPropertyMap \- Used to map widgets to SQL fields .BI "\fBQSqlPropertyMap\fR ()" .br .ti -1c -.BI "virtual \fB~QSqlPropertyMap\fR ()" +.BI "virtual \fB~TQSqlPropertyMap\fR ()" .br .ti -1c .BI "QVariant \fBproperty\fR ( TQWidget * widget )" @@ -35,35 +35,35 @@ QSqlPropertyMap \- Used to map widgets to SQL fields .SS "Static Public Members" .in +1c .ti -1c -.BI "QSqlPropertyMap * \fBdefaultMap\fR ()" +.BI "TQSqlPropertyMap * \fBdefaultMap\fR ()" .br .ti -1c -.BI "void \fBinstallDefaultMap\fR ( QSqlPropertyMap * map )" +.BI "void \fBinstallDefaultMap\fR ( TQSqlPropertyMap * map )" .br .in -1c .SH DESCRIPTION -The QSqlPropertyMap class is used to map widgets to SQL fields. +The TQSqlPropertyMap class is used to map widgets to SQL fields. .PP The SQL module uses TQt object properties to insert and extract values from editor widgets. .PP This class is used to map editors to SQL fields. This works by associating SQL editor class names to the properties used to insert and extract values to/from the editor. .PP -For example, a QLineEdit can be used to edit text strings and other data types in QDataTables or QSqlForms. Several properties are defined in QLineEdit, but only the \fItext\fR property is used to insert and extract text from a QLineEdit. Both QDataTable and QSqlForm use the global QSqlPropertyMap for inserting and extracting values to and from an editor widget. The global property map defines several common widgets and properties that are suitable for many applications. You can add and remove widget properties to suit your specific needs. +For example, a QLineEdit can be used to edit text strings and other data types in TQDataTables or TQSqlForms. Several properties are defined in QLineEdit, but only the \fItext\fR property is used to insert and extract text from a QLineEdit. Both TQDataTable and TQSqlForm use the global TQSqlPropertyMap for inserting and extracting values to and from an editor widget. The global property map defines several common widgets and properties that are suitable for many applications. You can add and remove widget properties to suit your specific needs. .PP -If you want to use custom editors with your QDataTable or QSqlForm, you must install your own QSqlPropertyMap for that table or form. Example: +If you want to use custom editors with your TQDataTable or TQSqlForm, you must install your own TQSqlPropertyMap for that table or form. Example: .PP .nf .br - QSqlPropertyMap *myMap = new QSqlPropertyMap(); + TQSqlPropertyMap *myMap = new TQSqlPropertyMap(); .br - QSqlForm *myForm = new QSqlForm( this ); + TQSqlForm *myForm = new TQSqlForm( this ); .br MyEditor myEditor( this ); .br .br - // Set the QSqlForm's record buffer to the update buffer of + // Set the TQSqlForm's record buffer to the update buffer of .br - // a pre-existing QSqlCursor called 'cur'. + // a pre-existing TQSqlCursor called 'cur'. .br myForm->setRecord( cur->primeUpdate() ); .br @@ -101,25 +101,25 @@ If you want to use custom editors with your QDataTable or QSqlForm, you must ins .br .fi .PP -You can also replace the global QSqlPropertyMap that is used by default. (Bear in mind that QSqlPropertyMap takes ownership of the new default map.) +You can also replace the global TQSqlPropertyMap that is used by default. (Bear in mind that TQSqlPropertyMap takes ownership of the new default map.) .PP .nf .br - QSqlPropertyMap *myMap = new QSqlPropertyMap; + TQSqlPropertyMap *myMap = new TQSqlPropertyMap; .br .br myMap->insert( "MyEditor", "content" ); .br - QSqlPropertyMap::installDefaultMap( myMap ); + TQSqlPropertyMap::installDefaultMap( myMap ); .br ... .br .fi .PP -See also QDataTable, QSqlForm, QSqlEditorFactory, and Database Classes. +See also TQDataTable, TQSqlForm, TQSqlEditorFactory, and Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlPropertyMap::QSqlPropertyMap ()" -Constructs a QSqlPropertyMap. +.SH "TQSqlPropertyMap::TQSqlPropertyMap ()" +Constructs a TQSqlPropertyMap. .PP The default property mappings used by TQt widgets are: <center>.nf .TS @@ -127,27 +127,27 @@ l - l. Widgets Property QCheckBox, QRadioButton checked QComboBox, QListBox curr .TE .fi </center> -.SH "QSqlPropertyMap::~QSqlPropertyMap ()\fC [virtual]\fR" -Destroys the QSqlPropertyMap. +.SH "TQSqlPropertyMap::~TQSqlPropertyMap ()\fC [virtual]\fR" +Destroys the TQSqlPropertyMap. .PP -Note that if the QSqlPropertyMap is installed with installPropertyMap() the object it was installed into, e.g. the QSqlForm, takes ownership and will delete the QSqlPropertyMap when necessary. -.SH "QSqlPropertyMap * QSqlPropertyMap::defaultMap ()\fC [static]\fR" -Returns the application global QSqlPropertyMap. -.SH "void QSqlPropertyMap::insert ( const TQString & classname, const TQString & property )" +Note that if the TQSqlPropertyMap is installed with installPropertyMap() the object it was installed into, e.g. the TQSqlForm, takes ownership and will delete the TQSqlPropertyMap when necessary. +.SH "TQSqlPropertyMap * TQSqlPropertyMap::defaultMap ()\fC [static]\fR" +Returns the application global TQSqlPropertyMap. +.SH "void TQSqlPropertyMap::insert ( const TQString & classname, const TQString & property )" Insert a new classname/property pair, which is used for custom SQL field editors. There \fImust\fR be a \fCTQ_PROPERTY\fR clause in the \fIclassname\fR class declaration for the \fIproperty\fR. .PP Example: sql/overview/custom1/main.cpp. -.SH "void QSqlPropertyMap::installDefaultMap ( QSqlPropertyMap * map )\fC [static]\fR" -Replaces the global default property map with \fImap\fR. All QDataTable and QSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fIQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.\fR -.SH "QVariant QSqlPropertyMap::property ( TQWidget * widget )" +.SH "void TQSqlPropertyMap::installDefaultMap ( TQSqlPropertyMap * map )\fC [static]\fR" +Replaces the global default property map with \fImap\fR. All TQDataTable and TQSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fIQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.\fR +.SH "QVariant TQSqlPropertyMap::property ( TQWidget * widget )" Returns the mapped property of \fIwidget\fR as a QVariant. -.SH "void QSqlPropertyMap::remove ( const TQString & classname )" +.SH "void TQSqlPropertyMap::remove ( const TQString & classname )" Removes \fIclassname\fR from the map. -.SH "void QSqlPropertyMap::setProperty ( TQWidget * widget, const QVariant & value )\fC [virtual]\fR" +.SH "void TQSqlPropertyMap::setProperty ( TQWidget * widget, const QVariant & value )\fC [virtual]\fR" Sets the property of \fIwidget\fR to \fIvalue\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlpropertymap.html +.BR http://doc.trolltech.com/tqsqlpropertymap.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlquery.3qt b/doc/man/man3/tqsqlquery.3qt index 682b1639a..85fa5f032 100644 --- a/doc/man/man3/tqsqlquery.3qt +++ b/doc/man/man3/tqsqlquery.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlQuery 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlQuery 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,31 +7,31 @@ .ad l .nh .SH NAME -QSqlQuery \- Means of executing and manipulating SQL statements +TQSqlQuery \- Means of executing and manipulating SQL statements .SH SYNOPSIS -\fC#include <ntqsqlquery.h>\fR +\fC#include <tqsqlquery.h>\fR .PP -Inherited by QSqlCursor. +Inherited by TQSqlCursor. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlQuery\fR ( QSqlResult * r )" +.BI "\fBQSqlQuery\fR ( TQSqlResult * r )" .br .ti -1c -.BI "\fBQSqlQuery\fR ( const TQString & query = TQString::null, QSqlDatabase * db = 0 )" +.BI "\fBQSqlQuery\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "explicit \fBQSqlQuery\fR ( QSqlDatabase * db )" +.BI "explicit \fBQSqlQuery\fR ( TQSqlDatabase * db )" .br .ti -1c -.BI "\fBQSqlQuery\fR ( const QSqlQuery & other )" +.BI "\fBQSqlQuery\fR ( const TQSqlQuery & other )" .br .ti -1c -.BI "QSqlQuery & \fBoperator=\fR ( const QSqlQuery & other )" +.BI "TQSqlQuery & \fBoperator=\fR ( const TQSqlQuery & other )" .br .ti -1c -.BI "virtual \fB~QSqlQuery\fR ()" +.BI "virtual \fB~TQSqlQuery\fR ()" .br .ti -1c .BI "bool \fBisValid\fR () const" @@ -52,7 +52,7 @@ Inherited by QSqlCursor. .BI "int \fBnumRowsAffected\fR () const" .br .ti -1c -.BI "QSqlError \fBlastError\fR () const" +.BI "TQSqlError \fBlastError\fR () const" .br .ti -1c .BI "bool \fBisSelect\fR () const" @@ -61,10 +61,10 @@ Inherited by QSqlCursor. .BI "int \fBsize\fR () const" .br .ti -1c -.BI "const QSqlDriver * \fBdriver\fR () const" +.BI "const TQSqlDriver * \fBdriver\fR () const" .br .ti -1c -.BI "const QSqlResult * \fBresult\fR () const" +.BI "const TQSqlResult * \fBresult\fR () const" .br .ti -1c .BI "bool \fBisForwardOnly\fR () const" @@ -109,13 +109,13 @@ Inherited by QSqlCursor. .BI "void \fBaddBindValue\fR ( const QVariant & val )" .br .ti -1c -.BI "void \fBbindValue\fR ( const TQString & placeholder, const QVariant & val, QSql::ParameterType type )" +.BI "void \fBbindValue\fR ( const TQString & placeholder, const QVariant & val, TQSql::ParameterType type )" .br .ti -1c -.BI "void \fBbindValue\fR ( int pos, const QVariant & val, QSql::ParameterType type )" +.BI "void \fBbindValue\fR ( int pos, const QVariant & val, TQSql::ParameterType type )" .br .ti -1c -.BI "void \fBaddBindValue\fR ( const QVariant & val, QSql::ParameterType type )" +.BI "void \fBaddBindValue\fR ( const QVariant & val, TQSql::ParameterType type )" .br .ti -1c .BI "QVariant \fBboundValue\fR ( const TQString & placeholder ) const" @@ -140,9 +140,9 @@ Inherited by QSqlCursor. .br .in -1c .SH DESCRIPTION -The QSqlQuery class provides a means of executing and manipulating SQL statements. +The TQSqlQuery class provides a means of executing and manipulating SQL statements. .PP -QSqlQuery encapsulates the functionality involved in creating, navigating and retrieving data from SQL queries which are executed on a QSqlDatabase. It can be used to execute DML (data manipulation language) statements, e.g. \fCSELECT\fR, \fCINSERT\fR, \fCUPDATE\fR and \fCDELETE\fR, and also DDL (data definition language) statements, e.g. \fCCREATE TABLE\fR. It can also be used to execute database-specific commands which are not standard SQL (e.g. \fCSET DATESTYLE=ISO\fR for PostgreSQL). +TQSqlQuery encapsulates the functionality involved in creating, navigating and retrieving data from SQL queries which are executed on a TQSqlDatabase. It can be used to execute DML (data manipulation language) statements, e.g. \fCSELECT\fR, \fCINSERT\fR, \fCUPDATE\fR and \fCDELETE\fR, and also DDL (data definition language) statements, e.g. \fCCREATE TABLE\fR. It can also be used to execute database-specific commands which are not standard SQL (e.g. \fCSET DATESTYLE=ISO\fR for PostgreSQL). .PP Successfully executed SQL statements set the query's state to active (isActive() returns TRUE); otherwise the query's state is set to inactive. In either case, when executing a new SQL statement, the query is positioned on an invalid record; an active query must be navigated to a valid record (so that isValid() returns TRUE) before values can be retrieved. .PP @@ -164,7 +164,7 @@ For example: .PP .nf .br - QSqlQuery query( "SELECT name FROM customer" ); + TQSqlQuery query( "SELECT name FROM customer" ); .br while ( query.next() ) { .br @@ -176,9 +176,9 @@ For example: .br .fi .PP -To access the data returned by a query, use the value() method. Each field in the data returned by a SELECT statement is accessed by passing the field's position in the statement, starting from 0. Information about the fields can be obtained via QSqlDatabase::record(). For the sake of efficiency there are no functions to access a field by name. (The QSqlCursor class provides a higher-level interface with field access by name and automatic SQL generation.) +To access the data returned by a query, use the value() method. Each field in the data returned by a SELECT statement is accessed by passing the field's position in the statement, starting from 0. Information about the fields can be obtained via TQSqlDatabase::record(). For the sake of efficiency there are no functions to access a field by name. (The TQSqlCursor class provides a higher-level interface with field access by name and automatic SQL generation.) .PP -QSqlQuery supports prepared query execution and the binding of parameter values to placeholders. Some databases don't support these features, so for them TQt emulates the required functionality. For example, the Oracle and ODBC drivers have proper prepared query support, and TQt makes use of it; but for databases that don't have this support, TQt implements the feature itself, e.g. by replacing placeholders with actual values when a query is executed. The exception is positional binding using named placeholders, which requires that the database supports prepared queries. +TQSqlQuery supports prepared query execution and the binding of parameter values to placeholders. Some databases don't support these features, so for them TQt emulates the required functionality. For example, the Oracle and ODBC drivers have proper prepared query support, and TQt makes use of it; but for databases that don't have this support, TQt implements the feature itself, e.g. by replacing placeholders with actual values when a query is executed. The exception is positional binding using named placeholders, which requires that the database supports prepared queries. .PP Oracle databases identify placeholders by using a colon-name syntax, e.g \fC:name\fR. ODBC simply uses \fC?\fR characters. TQt supports both syntaxes (although you can't mix them in the same query). .PP @@ -188,7 +188,7 @@ Below we present the same example using each of the four different binding appro .PP .nf .br - QSqlQuery query; + TQSqlQuery query; .br query.prepare( "INSERT INTO atable (id, forename, surname) " .br @@ -208,7 +208,7 @@ Below we present the same example using each of the four different binding appro .PP .nf .br - QSqlQuery query; + TQSqlQuery query; .br query.prepare( "INSERT INTO atable (id, forename, surname) " .br @@ -223,13 +223,13 @@ Below we present the same example using each of the four different binding appro query.exec(); .br .fi -\fBNote:\fR Using positional binding with named placeholders will only work if the database supports prepared queries. This can be checked with QSqlDriver::hasFeature() using QSqlDriver::PreparedQueries as argument for driver feature. +\fBNote:\fR Using positional binding with named placeholders will only work if the database supports prepared queries. This can be checked with TQSqlDriver::hasFeature() using TQSqlDriver::PreparedQueries as argument for driver feature. .PP \fBBinding values using positional placeholders #1\fR .PP .nf .br - QSqlQuery query; + TQSqlQuery query; .br query.prepare( "INSERT INTO atable (id, forename, surname) " .br @@ -267,13 +267,13 @@ Below we present the same example using each of the four different binding appro .PP .nf .br - QSqlQuery query; + TQSqlQuery query; .br query.prepare( "call AsciiToInt(?, ?)" ); .br query.bindValue( 0, "A" ); .br - query.bindValue( 1, 0, QSql::Out ); + query.bindValue( 1, 0, TQSql::Out ); .br query.exec(); .br @@ -281,72 +281,72 @@ Below we present the same example using each of the four different binding appro .br .fi .PP -See also QSqlDatabase, QSqlCursor, QVariant, and Database Classes. +See also TQSqlDatabase, TQSqlCursor, QVariant, and Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlQuery::QSqlQuery ( QSqlResult * r )" -Creates a QSqlQuery object which uses the QSqlResult \fIr\fR to communicate with a database. -.SH "QSqlQuery::QSqlQuery ( const TQString & query = TQString::null, QSqlDatabase * db = 0 )" -Creates a QSqlQuery object using the SQL \fIquery\fR and the database \fIdb\fR. If \fIdb\fR is 0, (the default), the application's default database is used. If \fIquery\fR is not a null string, it will be executed. +.SH "TQSqlQuery::TQSqlQuery ( TQSqlResult * r )" +Creates a TQSqlQuery object which uses the TQSqlResult \fIr\fR to communicate with a database. +.SH "TQSqlQuery::TQSqlQuery ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" +Creates a TQSqlQuery object using the SQL \fIquery\fR and the database \fIdb\fR. If \fIdb\fR is 0, (the default), the application's default database is used. If \fIquery\fR is not a null string, it will be executed. .PP -See also QSqlDatabase. -.SH "explicit QSqlQuery::QSqlQuery ( QSqlDatabase * db )" -Creates a QSqlQuery object using the database \fIdb\fR. If \fIdb\fR is 0, the application's default database is used. +See also TQSqlDatabase. +.SH "explicit TQSqlQuery::TQSqlQuery ( TQSqlDatabase * db )" +Creates a TQSqlQuery object using the database \fIdb\fR. If \fIdb\fR is 0, the application's default database is used. .PP -See also QSqlDatabase. -.SH "QSqlQuery::QSqlQuery ( const QSqlQuery & other )" +See also TQSqlDatabase. +.SH "TQSqlQuery::TQSqlQuery ( const TQSqlQuery & other )" Constructs a copy of \fIother\fR. -.SH "QSqlQuery::~QSqlQuery ()\fC [virtual]\fR" +.SH "TQSqlQuery::~TQSqlQuery ()\fC [virtual]\fR" Destroys the object and frees any allocated resources. -.SH "void QSqlQuery::addBindValue ( const QVariant & val, QSql::ParameterType type )" -Adds the value \fIval\fR to the list of values when using positional value binding. The order of the addBindValue() calls determines which placeholder a value will be bound to in the prepared query. If \fItype\fR is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the exec() call. +.SH "void TQSqlQuery::addBindValue ( const QVariant & val, TQSql::ParameterType type )" +Adds the value \fIval\fR to the list of values when using positional value binding. The order of the addBindValue() calls determines which placeholder a value will be bound to in the prepared query. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call. .PP See also bindValue(), prepare(), and exec(). -.SH "void QSqlQuery::addBindValue ( const QVariant & val )" +.SH "void TQSqlQuery::addBindValue ( const QVariant & val )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Binds the placeholder with type QSql::In. -.SH "void QSqlQuery::afterSeek ()\fC [virtual protected]\fR" +Binds the placeholder with type TQSql::In. +.SH "void TQSqlQuery::afterSeek ()\fC [virtual protected]\fR" Protected virtual function called after the internal record pointer is moved to a new record. The default implementation does nothing. -.SH "int QSqlQuery::at () const" -Returns the current internal position of the query. The first record is at position zero. If the position is invalid, a QSql::Location will be returned indicating the invalid position. +.SH "int TQSqlQuery::at () const" +Returns the current internal position of the query. The first record is at position zero. If the position is invalid, a TQSql::Location will be returned indicating the invalid position. .PP See also prev(), next(), first(), last(), seek(), isActive(), and isValid(). .PP Example: sql/overview/navigating/main.cpp. -.SH "void QSqlQuery::beforeSeek ()\fC [virtual protected]\fR" +.SH "void TQSqlQuery::beforeSeek ()\fC [virtual protected]\fR" Protected virtual function called before the internal record pointer is moved to a new record. The default implementation does nothing. -.SH "void QSqlQuery::bindValue ( const TQString & placeholder, const QVariant & val, QSql::ParameterType type )" -Set the placeholder \fIplaceholder\fR to be bound to value \fIval\fR in the prepared statement. Note that the placeholder mark (e.g \fC:\fR) must be included when specifying the placeholder name. If \fItype\fR is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the exec() call. +.SH "void TQSqlQuery::bindValue ( const TQString & placeholder, const QVariant & val, TQSql::ParameterType type )" +Set the placeholder \fIplaceholder\fR to be bound to value \fIval\fR in the prepared statement. Note that the placeholder mark (e.g \fC:\fR) must be included when specifying the placeholder name. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call. .PP See also addBindValue(), prepare(), and exec(). -.SH "void QSqlQuery::bindValue ( const TQString & placeholder, const QVariant & val )" +.SH "void TQSqlQuery::bindValue ( const TQString & placeholder, const QVariant & val )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Binds the placeholder with type QSql::In. -.SH "void QSqlQuery::bindValue ( int pos, const QVariant & val )" +Binds the placeholder with type TQSql::In. +.SH "void TQSqlQuery::bindValue ( int pos, const QVariant & val )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Binds the placeholder at position \fIpos\fR with type QSql::In. -.SH "void QSqlQuery::bindValue ( int pos, const QVariant & val, QSql::ParameterType type )" +Binds the placeholder at position \fIpos\fR with type TQSql::In. +.SH "void TQSqlQuery::bindValue ( int pos, const QVariant & val, TQSql::ParameterType type )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Set the placeholder in position \fIpos\fR to be bound to value \fIval\fR in the prepared statement. Field numbering starts at 0. If \fItype\fR is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the exec() call. +Set the placeholder in position \fIpos\fR to be bound to value \fIval\fR in the prepared statement. Field numbering starts at 0. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call. .PP See also addBindValue(), prepare(), and exec(). -.SH "QVariant QSqlQuery::boundValue ( const TQString & placeholder ) const" +.SH "QVariant TQSqlQuery::boundValue ( const TQString & placeholder ) const" Returns the value for the \fIplaceholder\fR. -.SH "QVariant QSqlQuery::boundValue ( int pos ) const" +.SH "QVariant TQSqlQuery::boundValue ( int pos ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the value for the placeholder at position \fIpos\fR. -.SH "QMap<TQString, QVariant> QSqlQuery::boundValues () const" +.SH "QMap<TQString, QVariant> TQSqlQuery::boundValues () const" Returns a map of the bound values. .PP The bound values can be examined in the following way: .PP .nf .br - QSqlQuery query; + TQSqlQuery query; .br ... .br @@ -379,9 +379,9 @@ The bound values can be examined in the following way: .br .br .fi -.SH "const QSqlDriver * QSqlQuery::driver () const" +.SH "const TQSqlDriver * TQSqlQuery::driver () const" Returns the database driver associated with the query. -.SH "bool QSqlQuery::exec ( const TQString & query )\fC [virtual]\fR" +.SH "bool TQSqlQuery::exec ( const TQString & query )\fC [virtual]\fR" Executes the SQL in \fIquery\fR. Returns TRUE and sets the query state to active if the query was successful; otherwise returns FALSE and sets the query state to inactive. The \fIquery\fR string must use syntax appropriate for the SQL database being queried, for example, standard SQL. .PP After the query is executed, the query is positioned on an \fIinvalid\fR record, and must be navigated to a valid record before data values can be retrieved, e.g. using next(). @@ -392,56 +392,56 @@ See also isActive(), isValid(), next(), prev(), first(), last(), and seek(). .PP Examples: .)l sql/overview/basicbrowsing/main.cpp, sql/overview/basicbrowsing2/main.cpp, sql/overview/basicdatamanip/main.cpp, and sql/overview/connection.cpp. -.SH "bool QSqlQuery::exec ()" +.SH "bool TQSqlQuery::exec ()" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Executes a previously prepared SQL query. Returns TRUE if the query executed successfully; otherwise returns FALSE. .PP See also prepare(), bindValue(), and addBindValue(). -.SH "TQString QSqlQuery::executedQuery () const" +.SH "TQString TQSqlQuery::executedQuery () const" Returns the last query that was executed. .PP In most cases this function returns the same as lastQuery(). If a prepared query with placeholders is executed on a DBMS that does not support it, the preparation of this query is emulated. The placeholders in the original query are replaced with their bound values to form a new query. This function returns the modified query. Useful for debugging purposes. .PP See also lastQuery(). -.SH "bool QSqlQuery::first ()\fC [virtual]\fR" +.SH "bool TQSqlQuery::first ()\fC [virtual]\fR" Retrieves the first record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and isSelect() must return TRUE before calling this function or it will do nothing and return FALSE. Returns TRUE if successful. If unsuccessful the query position is set to an invalid position and FALSE is returned. .PP See also next(), prev(), last(), seek(), at(), isActive(), and isValid(). .PP Example: sql/overview/navigating/main.cpp. -.SH "bool QSqlQuery::isActive () const" +.SH "bool TQSqlQuery::isActive () const" Returns TRUE if the query is currently active; otherwise returns FALSE. .PP Examples: .)l sql/overview/basicbrowsing/main.cpp, sql/overview/basicbrowsing2/main.cpp, sql/overview/basicdatamanip/main.cpp, sql/overview/navigating/main.cpp, and sql/overview/retrieve1/main.cpp. -.SH "bool QSqlQuery::isForwardOnly () const" +.SH "bool TQSqlQuery::isForwardOnly () const" Returns TRUE if you can only scroll \fIforward\fR through a result set; otherwise returns FALSE. .PP See also setForwardOnly(). -.SH "bool QSqlQuery::isNull ( int field ) const" +.SH "bool TQSqlQuery::isNull ( int field ) const" Returns TRUE if the query is active and positioned on a valid record and the \fIfield\fR is NULL; otherwise returns FALSE. Note that for some drivers isNull() will not return accurate information until after an attempt is made to retrieve data. .PP See also isActive(), isValid(), and value(). -.SH "bool QSqlQuery::isSelect () const" +.SH "bool TQSqlQuery::isSelect () const" Returns TRUE if the current query is a \fCSELECT\fR statement; otherwise returns FALSE. -.SH "bool QSqlQuery::isValid () const" +.SH "bool TQSqlQuery::isValid () const" Returns TRUE if the query is currently positioned on a valid record; otherwise returns FALSE. -.SH "bool QSqlQuery::last ()\fC [virtual]\fR" +.SH "bool TQSqlQuery::last ()\fC [virtual]\fR" Retrieves the last record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and isSelect() must return TRUE before calling this function or it will do nothing and return FALSE. Returns TRUE if successful. If unsuccessful the query position is set to an invalid position and FALSE is returned. .PP See also next(), prev(), first(), seek(), at(), isActive(), and isValid(). .PP Example: sql/overview/navigating/main.cpp. -.SH "QSqlError QSqlQuery::lastError () const" +.SH "TQSqlError TQSqlQuery::lastError () const" Returns error information about the last error (if any) that occurred. .PP -See also QSqlError. -.SH "TQString QSqlQuery::lastQuery () const" +See also TQSqlError. +.SH "TQString TQSqlQuery::lastQuery () const" Returns the text of the current query being used, or TQString::null if there is no current query text. .PP See also executedQuery(). -.SH "bool QSqlQuery::next ()\fC [virtual]\fR" +.SH "bool TQSqlQuery::next ()\fC [virtual]\fR" Retrieves the next record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and isSelect() must return TRUE before calling this function or it will do nothing and return FALSE. .PP The following rules apply: @@ -460,20 +460,20 @@ See also prev(), first(), last(), seek(), at(), isActive(), and isValid(). .PP Examples: .)l sql/overview/basicbrowsing/main.cpp, sql/overview/basicbrowsing2/main.cpp, sql/overview/delete/main.cpp, sql/overview/order1/main.cpp, sql/overview/retrieve1/main.cpp, sql/overview/subclass4/main.cpp, and sql/overview/subclass5/main.cpp. -.SH "int QSqlQuery::numRowsAffected () const" +.SH "int TQSqlQuery::numRowsAffected () const" Returns the number of rows affected by the result's SQL statement, or -1 if it cannot be determined. Note that for \fCSELECT\fR statements, the value is undefined; see size() instead. If the query is not active (isActive() returns FALSE), -1 is returned. .PP -See also size() and QSqlDriver::hasFeature(). +See also size() and TQSqlDriver::hasFeature(). .PP Examples: .)l sql/overview/basicbrowsing2/main.cpp and sql/overview/basicdatamanip/main.cpp. -.SH "QSqlQuery & QSqlQuery::operator= ( const QSqlQuery & other )" +.SH "TQSqlQuery & TQSqlQuery::operator= ( const TQSqlQuery & other )" Assigns \fIother\fR to the query. -.SH "bool QSqlQuery::prepare ( const TQString & query )" +.SH "bool TQSqlQuery::prepare ( const TQString & query )" Prepares the SQL query \fIquery\fR for execution. The query may contain placeholders for binding values. Both Oracle style colon-name (e.g. \fC:surname\fR), and ODBC style (e.g. \fC?\fR) placeholders are supported; but they cannot be mixed in the same query. See the Description for examples. .PP See also exec(), bindValue(), and addBindValue(). -.SH "bool QSqlQuery::prev ()\fC [virtual]\fR" +.SH "bool TQSqlQuery::prev ()\fC [virtual]\fR" Retrieves the previous record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and isSelect() must return TRUE before calling this function or it will do nothing and return FALSE. .PP The following rules apply: @@ -489,9 +489,9 @@ If the result is somewhere in the middle, an attempt is made to retrieve the pre If the record could not be retrieved, the result is positioned before the first record and FALSE is returned. If the record is successfully retrieved, TRUE is returned. .PP See also next(), first(), last(), seek(), at(), isActive(), and isValid(). -.SH "const QSqlResult * QSqlQuery::result () const" +.SH "const TQSqlResult * TQSqlQuery::result () const" Returns the result associated with the query. -.SH "bool QSqlQuery::seek ( int i, bool relative = FALSE )\fC [virtual]\fR" +.SH "bool TQSqlQuery::seek ( int i, bool relative = FALSE )\fC [virtual]\fR" Retrieves the record at position (offset) \fIi\fR, if available, and positions the query on the retrieved record. The first record is at position 0. Note that the query must be in an active state and isSelect() must return TRUE before calling this function. .PP If \fIrelative\fR is FALSE (the default), the following rules apply: @@ -513,23 +513,23 @@ Otherwise, an attempt is made to move to the record \fIi\fR records ahead of the See also next(), prev(), first(), last(), at(), isActive(), and isValid(). .PP Example: sql/overview/navigating/main.cpp. -.SH "void QSqlQuery::setForwardOnly ( bool forward )" +.SH "void TQSqlQuery::setForwardOnly ( bool forward )" Sets forward only mode to \fIforward\fR. If forward is TRUE only next(), and seek() with positive values, are allowed for navigating the results. Forward only mode needs far less memory since results do not need to be cached. .PP Forward only mode is off by default. .PP -Forward only mode cannot be used with data aware widgets like QDataTable, since they must to be able to scroll backward as well as forward. +Forward only mode cannot be used with data aware widgets like TQDataTable, since they must to be able to scroll backward as well as forward. .PP See also isForwardOnly(), next(), and seek(). -.SH "int QSqlQuery::size () const" +.SH "int TQSqlQuery::size () const" Returns the size of the result, (number of rows returned), or -1 if the size cannot be determined or if the database does not support reporting information about query sizes. Note that for non-\fCSELECT\fR statements (isSelect() returns FALSE), size() will return -1. If the query is not active (isActive() returns FALSE), -1 is returned. .PP To determine the number of rows affected by a non-SELECT statement, use numRowsAffected(). .PP -See also isActive(), numRowsAffected(), and QSqlDriver::hasFeature(). +See also isActive(), numRowsAffected(), and TQSqlDriver::hasFeature(). .PP Example: sql/overview/navigating/main.cpp. -.SH "QVariant QSqlQuery::value ( int i ) const\fC [virtual]\fR" +.SH "QVariant TQSqlQuery::value ( int i ) const\fC [virtual]\fR" Returns the value of the \fIi\fR-th field in the query (zero based). .PP The fields are numbered from left to right using the text of the \fCSELECT\fR statement, e.g. in \fCSELECT forename, surname FROM people\fR, field 0 is \fCforename\fR and field 1 is \fCsurname\fR. Using \fCSELECT *\fR is not recommended because the order of the fields in the query is undefined. @@ -542,7 +542,7 @@ Examples: .)l sql/overview/basicbrowsing/main.cpp, sql/overview/basicbrowsing2/main.cpp, sql/overview/retrieve1/main.cpp, sql/overview/subclass3/main.cpp, sql/overview/subclass4/main.cpp, sql/overview/subclass5/main.cpp, and sql/overview/table4/main.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlquery.html +.BR http://doc.trolltech.com/tqsqlquery.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlrecord.3qt b/doc/man/man3/tqsqlrecord.3qt index 241b7de35..fa095195f 100644 --- a/doc/man/man3/tqsqlrecord.3qt +++ b/doc/man/man3/tqsqlrecord.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlRecord 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlRecord 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,11 +7,11 @@ .ad l .nh .SH NAME -QSqlRecord \- Encapsulates a database record, i.e. a set of database fields +TQSqlRecord \- Encapsulates a database record, i.e. a set of database fields .SH SYNOPSIS -\fC#include <ntqsqlrecord.h>\fR +\fC#include <tqsqlrecord.h>\fR .PP -Inherited by QSqlCursor and QSqlIndex. +Inherited by TQSqlCursor and TQSqlIndex. .PP .SS "Public Members" .in +1c @@ -19,13 +19,13 @@ Inherited by QSqlCursor and QSqlIndex. .BI "\fBQSqlRecord\fR ()" .br .ti -1c -.BI "\fBQSqlRecord\fR ( const QSqlRecord & other )" +.BI "\fBQSqlRecord\fR ( const TQSqlRecord & other )" .br .ti -1c -.BI "QSqlRecord & \fBoperator=\fR ( const QSqlRecord & other )" +.BI "TQSqlRecord & \fBoperator=\fR ( const TQSqlRecord & other )" .br .ti -1c -.BI "virtual \fB~QSqlRecord\fR ()" +.BI "virtual \fB~TQSqlRecord\fR ()" .br .ti -1c .BI "virtual QVariant \fBvalue\fR ( int i ) const" @@ -70,22 +70,22 @@ Inherited by QSqlCursor and QSqlIndex. .BI "TQString \fBfieldName\fR ( int i ) const" .br .ti -1c -.BI "QSqlField * \fBfield\fR ( int i )" +.BI "TQSqlField * \fBfield\fR ( int i )" .br .ti -1c -.BI "QSqlField * \fBfield\fR ( const TQString & name )" +.BI "TQSqlField * \fBfield\fR ( const TQString & name )" .br .ti -1c -.BI "const QSqlField * \fBfield\fR ( int i ) const" +.BI "const TQSqlField * \fBfield\fR ( int i ) const" .br .ti -1c -.BI "const QSqlField * \fBfield\fR ( const TQString & name ) const" +.BI "const TQSqlField * \fBfield\fR ( const TQString & name ) const" .br .ti -1c -.BI "virtual void \fBappend\fR ( const QSqlField & field )" +.BI "virtual void \fBappend\fR ( const TQSqlField & field )" .br .ti -1c -.BI "virtual void \fBinsert\fR ( int pos, const QSqlField & field )" +.BI "virtual void \fBinsert\fR ( int pos, const TQSqlField & field )" .br .ti -1c .BI "virtual void \fBremove\fR ( int pos )" @@ -113,137 +113,137 @@ Inherited by QSqlCursor and QSqlIndex. .br .in -1c .SH DESCRIPTION -The QSqlRecord class encapsulates a database record, i.e. a set of database fields. +The TQSqlRecord class encapsulates a database record, i.e. a set of database fields. .PP -The QSqlRecord class encapsulates the functionality and characteristics of a database record (usually a table or view within the database). QSqlRecords support adding and removing fields as well as setting and retrieving field values. +The TQSqlRecord class encapsulates the functionality and characteristics of a database record (usually a table or view within the database). TQSqlRecords support adding and removing fields as well as setting and retrieving field values. .PP -QSqlRecord is implicitly shared. This means you can make copies of the record in time O(1). If multiple QSqlRecord instances share the same data and one is modifying the record's data then this modifying instance makes a copy and modifies its private copy - thus it does not affect other instances. +TQSqlRecord is implicitly shared. This means you can make copies of the record in time O(1). If multiple TQSqlRecord instances share the same data and one is modifying the record's data then this modifying instance makes a copy and modifies its private copy - thus it does not affect other instances. .PP -See also QSqlRecordInfo and Database Classes. +See also TQSqlRecordInfo and Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlRecord::QSqlRecord ()" +.SH "TQSqlRecord::TQSqlRecord ()" Constructs an empty record. -.SH "QSqlRecord::QSqlRecord ( const QSqlRecord & other )" +.SH "TQSqlRecord::TQSqlRecord ( const TQSqlRecord & other )" Constructs a copy of \fIother\fR. -.SH "QSqlRecord::~QSqlRecord ()\fC [virtual]\fR" +.SH "TQSqlRecord::~TQSqlRecord ()\fC [virtual]\fR" Destroys the object and frees any allocated resources. -.SH "void QSqlRecord::append ( const QSqlField & field )\fC [virtual]\fR" +.SH "void TQSqlRecord::append ( const TQSqlField & field )\fC [virtual]\fR" Append a copy of field \fIfield\fR to the end of the record. .PP -Reimplemented in QSqlIndex. -.SH "void QSqlRecord::clear ()\fC [virtual]\fR" +Reimplemented in TQSqlIndex. +.SH "void TQSqlRecord::clear ()\fC [virtual]\fR" Removes all the record's fields. .PP See also clearValues(). .PP -Reimplemented in QSqlCursor. -.SH "void QSqlRecord::clearValues ( bool nullify = FALSE )\fC [virtual]\fR" +Reimplemented in TQSqlCursor. +.SH "void TQSqlRecord::clearValues ( bool nullify = FALSE )\fC [virtual]\fR" Clears the value of all fields in the record. If \fInullify\fR is TRUE, (the default is FALSE), each field is set to NULL. -.SH "bool QSqlRecord::contains ( const TQString & name ) const" +.SH "bool TQSqlRecord::contains ( const TQString & name ) const" Returns TRUE if there is a field in the record called \fIname\fR; otherwise returns FALSE. -.SH "uint QSqlRecord::count () const" +.SH "uint TQSqlRecord::count () const" Returns the number of fields in the record. -.SH "QSqlField * QSqlRecord::field ( int i )" +.SH "TQSqlField * TQSqlRecord::field ( int i )" Returns the field at position \fIi\fR within the record, or 0 if it cannot be found. -.SH "QSqlField * QSqlRecord::field ( const TQString & name )" +.SH "TQSqlField * TQSqlRecord::field ( const TQString & name )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the field called \fIname\fR within the record, or 0 if it cannot be found. Field names are not case-sensitive. -.SH "const QSqlField * QSqlRecord::field ( int i ) const" +.SH "const TQSqlField * TQSqlRecord::field ( int i ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "const QSqlField * QSqlRecord::field ( const TQString & name ) const" +.SH "const TQSqlField * TQSqlRecord::field ( const TQString & name ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the field called \fIname\fR within the record, or 0 if it cannot be found. Field names are not case-sensitive. -.SH "TQString QSqlRecord::fieldName ( int i ) const" +.SH "TQString TQSqlRecord::fieldName ( int i ) const" Returns the name of the field at position \fIi\fR. If the field does not exist, TQString::null is returned. -.SH "void QSqlRecord::insert ( int pos, const QSqlField & field )\fC [virtual]\fR" +.SH "void TQSqlRecord::insert ( int pos, const TQSqlField & field )\fC [virtual]\fR" Insert a copy of \fIfield\fR at position \fIpos\fR. If a field already exists at \fIpos\fR, it is removed. -.SH "bool QSqlRecord::isEmpty () const" +.SH "bool TQSqlRecord::isEmpty () const" Returns TRUE if there are no fields in the record; otherwise returns FALSE. -.SH "bool QSqlRecord::isGenerated ( const TQString & name ) const" +.SH "bool TQSqlRecord::isGenerated ( const TQString & name ) const" Returns TRUE if the record has a field called \fIname\fR and this field is to be generated (the default); otherwise returns FALSE. .PP See also setGenerated(). -.SH "bool QSqlRecord::isGenerated ( int i ) const" +.SH "bool TQSqlRecord::isGenerated ( int i ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the record has a field at position \fIi\fR and this field is to be generated (the default); otherwise returns FALSE. .PP See also setGenerated(). -.SH "bool QSqlRecord::isNull ( const TQString & name ) const" +.SH "bool TQSqlRecord::isNull ( const TQString & name ) const" Returns TRUE if the field called \fIname\fR is NULL or if there is no field called \fIname\fR; otherwise returns FALSE. .PP See also position(). -.SH "bool QSqlRecord::isNull ( int i ) const" +.SH "bool TQSqlRecord::isNull ( int i ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the field \fIi\fR is NULL or if there is no field at position \fIi\fR; otherwise returns FALSE. .PP See also fieldName(). -.SH "QSqlRecord & QSqlRecord::operator= ( const QSqlRecord & other )" +.SH "TQSqlRecord & TQSqlRecord::operator= ( const TQSqlRecord & other )" Sets the record equal to \fIother\fR. -.SH "int QSqlRecord::position ( const TQString & name ) const" +.SH "int TQSqlRecord::position ( const TQString & name ) const" Returns the position of the field called \fIname\fR within the record, or -1 if it cannot be found. Field names are not case-sensitive. If more than one field matches, the first one is returned. -.SH "void QSqlRecord::remove ( int pos )\fC [virtual]\fR" +.SH "void TQSqlRecord::remove ( int pos )\fC [virtual]\fR" Removes the field at \fIpos\fR. If \fIpos\fR does not exist, nothing happens. .PP -Reimplemented in QSqlCursor. -.SH "void QSqlRecord::setGenerated ( const TQString & name, bool generated )\fC [virtual]\fR" -Sets the generated flag for the field called \fIname\fR to \fIgenerated\fR. If the field does not exist, nothing happens. Only fields that have \fIgenerated\fR set to TRUE are included in the SQL that is generated, e.g. by QSqlCursor. +Reimplemented in TQSqlCursor. +.SH "void TQSqlRecord::setGenerated ( const TQString & name, bool generated )\fC [virtual]\fR" +Sets the generated flag for the field called \fIname\fR to \fIgenerated\fR. If the field does not exist, nothing happens. Only fields that have \fIgenerated\fR set to TRUE are included in the SQL that is generated, e.g. by TQSqlCursor. .PP See also isGenerated(). .PP -Reimplemented in QSqlCursor. -.SH "void QSqlRecord::setGenerated ( int i, bool generated )\fC [virtual]\fR" +Reimplemented in TQSqlCursor. +.SH "void TQSqlRecord::setGenerated ( int i, bool generated )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the generated flag for the field \fIi\fR to \fIgenerated\fR. .PP See also isGenerated(). .PP -Reimplemented in QSqlCursor. -.SH "void QSqlRecord::setNull ( int i )\fC [virtual]\fR" +Reimplemented in TQSqlCursor. +.SH "void TQSqlRecord::setNull ( int i )\fC [virtual]\fR" Sets the value of field \fIi\fR to NULL. If the field does not exist, nothing happens. -.SH "void QSqlRecord::setNull ( const TQString & name )\fC [virtual]\fR" +.SH "void TQSqlRecord::setNull ( const TQString & name )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the value of the field called \fIname\fR to NULL. If the field does not exist, nothing happens. -.SH "void QSqlRecord::setValue ( int i, const QVariant & val )\fC [virtual]\fR" +.SH "void TQSqlRecord::setValue ( int i, const QVariant & val )\fC [virtual]\fR" Sets the value of the field at position \fIi\fR to \fIval\fR. If the field does not exist, nothing happens. .PP Examples: .)l sql/overview/insert/main.cpp, sql/overview/insert2/main.cpp, sql/overview/subclass5/main.cpp, sql/overview/update/main.cpp, and sql/sqltable/main.cpp. -.SH "void QSqlRecord::setValue ( const TQString & name, const QVariant & val )\fC [virtual]\fR" +.SH "void TQSqlRecord::setValue ( const TQString & name, const QVariant & val )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the value of the field called \fIname\fR to \fIval\fR. If the field does not exist, nothing happens. -.SH "TQString QSqlRecord::toString ( const TQString & prefix = TQString::null, const TQString & sep = "," ) const\fC [virtual]\fR" +.SH "TQString TQSqlRecord::toString ( const TQString & prefix = TQString::null, const TQString & sep = "," ) const\fC [virtual]\fR" Returns a list of all the record's field names as a string separated by \fIsep\fR. .PP Note that fields which are not generated are \fInot\fR included (see isGenerated()). The returned string is suitable, for example, for generating SQL SELECT statements. If a \fIprefix\fR is specified, e.g. a table name, all fields are prefixed in the form: .PP" \fIprefix\fR.<fieldname>" -.SH "QStringList QSqlRecord::toStringList ( const TQString & prefix = TQString::null ) const\fC [virtual]\fR" +.SH "QStringList TQSqlRecord::toStringList ( const TQString & prefix = TQString::null ) const\fC [virtual]\fR" Returns a list of all the record's field names, each having the prefix \fIprefix\fR. .PP Note that fields which have generated set to FALSE are \fInot\fR included. (See isGenerated()). If \fIprefix\fR is supplied, e.g. a table name, all fields are prefixed in the form: .PP" \fIprefix\fR.<fieldname>" -.SH "QVariant QSqlRecord::value ( int i ) const\fC [virtual]\fR" +.SH "QVariant TQSqlRecord::value ( int i ) const\fC [virtual]\fR" Returns the value of the field located at position \fIi\fR in the record. If field \fIi\fR does not exist the resultant behaviour is undefined. .PP -This function should be used with QSqlQuerys. When working with a QSqlCursor the value(const TQString&) overload which uses field names is more appropriate. +This function should be used with TQSqlQuerys. When working with a TQSqlCursor the value(const TQString&) overload which uses field names is more appropriate. .PP Example: sql/overview/update/main.cpp. -.SH "QVariant QSqlRecord::value ( const TQString & name ) const\fC [virtual]\fR" +.SH "QVariant TQSqlRecord::value ( const TQString & name ) const\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the value of the field called \fIname\fR in the record. If field \fIname\fR does not exist the resultant behaviour is undefined. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlrecord.html +.BR http://doc.trolltech.com/tqsqlrecord.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlrecordinfo.3qt b/doc/man/man3/tqsqlrecordinfo.3qt index e06c26851..7b5a74324 100644 --- a/doc/man/man3/tqsqlrecordinfo.3qt +++ b/doc/man/man3/tqsqlrecordinfo.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlRecordInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlRecordInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSqlRecordInfo \- Encapsulates a set of database field meta data +TQSqlRecordInfo \- Encapsulates a set of database field meta data .SH SYNOPSIS -\fC#include <ntqsqlrecord.h>\fR +\fC#include <tqsqlrecord.h>\fR .PP .SS "Public Members" .in +1c @@ -17,44 +17,44 @@ QSqlRecordInfo \- Encapsulates a set of database field meta data .BI "\fBQSqlRecordInfo\fR ()" .br .ti -1c -.BI "\fBQSqlRecordInfo\fR ( const QSqlFieldInfoList & other )" +.BI "\fBQSqlRecordInfo\fR ( const TQSqlFieldInfoList & other )" .br .ti -1c -.BI "\fBQSqlRecordInfo\fR ( const QSqlRecord & other )" +.BI "\fBQSqlRecordInfo\fR ( const TQSqlRecord & other )" .br .ti -1c .BI "size_type \fBcontains\fR ( const TQString & fieldName ) const" .br .ti -1c -.BI "QSqlFieldInfo \fBfind\fR ( const TQString & fieldName ) const" +.BI "TQSqlFieldInfo \fBfind\fR ( const TQString & fieldName ) const" .br .ti -1c -.BI "QSqlRecord \fBtoRecord\fR () const" +.BI "TQSqlRecord \fBtoRecord\fR () const" .br .in -1c .SH DESCRIPTION -The QSqlRecordInfo class encapsulates a set of database field meta data. +The TQSqlRecordInfo class encapsulates a set of database field meta data. .PP -This class is a QValueList that holds a set of database field meta data. Use contains() to see if a given field name exists in the record, and use find() to get a QSqlFieldInfo record for a named field. +This class is a QValueList that holds a set of database field meta data. Use contains() to see if a given field name exists in the record, and use find() to get a TQSqlFieldInfo record for a named field. .PP -See also QValueList, QSqlFieldInfo, and Database Classes. +See also QValueList, TQSqlFieldInfo, and Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlRecordInfo::QSqlRecordInfo ()" +.SH "TQSqlRecordInfo::TQSqlRecordInfo ()" Constructs an empty record info object -.SH "QSqlRecordInfo::QSqlRecordInfo ( const QSqlFieldInfoList & other )" +.SH "TQSqlRecordInfo::TQSqlRecordInfo ( const TQSqlFieldInfoList & other )" Constructs a copy of \fIother\fR. -.SH "QSqlRecordInfo::QSqlRecordInfo ( const QSqlRecord & other )" -Constructs a QSqlRecordInfo object based on the fields in the QSqlRecord \fIother\fR. -.SH "size_type QSqlRecordInfo::contains ( const TQString & fieldName ) const" +.SH "TQSqlRecordInfo::TQSqlRecordInfo ( const TQSqlRecord & other )" +Constructs a TQSqlRecordInfo object based on the fields in the TQSqlRecord \fIother\fR. +.SH "size_type TQSqlRecordInfo::contains ( const TQString & fieldName ) const" Returns the number of times a field called \fIfieldName\fR occurs in the record. Returns 0 if no field by that name could be found. -.SH "QSqlFieldInfo QSqlRecordInfo::find ( const TQString & fieldName ) const" -Returns a QSqlFieldInfo object for the first field in the record which has the field name \fIfieldName\fR. If no matching field is found then an empty QSqlFieldInfo object is returned. -.SH "QSqlRecord QSqlRecordInfo::toRecord () const" -Returns an empty QSqlRecord based on the field information -in this QSqlRecordInfo. +.SH "TQSqlFieldInfo TQSqlRecordInfo::find ( const TQString & fieldName ) const" +Returns a TQSqlFieldInfo object for the first field in the record which has the field name \fIfieldName\fR. If no matching field is found then an empty TQSqlFieldInfo object is returned. +.SH "TQSqlRecord TQSqlRecordInfo::toRecord () const" +Returns an empty TQSqlRecord based on the field information +in this TQSqlRecordInfo. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qsqlrecordinfo.html +.BR http://doc.trolltech.com/tqsqlrecordinfo.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlresult.3qt b/doc/man/man3/tqsqlresult.3qt index c8c3ab66a..7f3bf88ae 100644 --- a/doc/man/man3/tqsqlresult.3qt +++ b/doc/man/man3/tqsqlresult.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlResult 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlResult 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,20 +7,20 @@ .ad l .nh .SH NAME -QSqlResult \- Abstract interface for accessing data from SQL databases +TQSqlResult \- Abstract interface for accessing data from SQL databases .SH SYNOPSIS -\fC#include <ntqsqlresult.h>\fR +\fC#include <tqsqlresult.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual \fB~QSqlResult\fR ()" +.BI "virtual \fB~TQSqlResult\fR ()" .br .in -1c .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQSqlResult\fR ( const QSqlDriver * db )" +.BI "\fBQSqlResult\fR ( const TQSqlDriver * db )" .br .ti -1c .BI "int \fBat\fR () const" @@ -29,7 +29,7 @@ QSqlResult \- Abstract interface for accessing data from SQL databases .BI "TQString \fBlastQuery\fR () const" .br .ti -1c -.BI "QSqlError \fBlastError\fR () const" +.BI "TQSqlError \fBlastError\fR () const" .br .ti -1c .BI "bool \fBisValid\fR () const" @@ -44,7 +44,7 @@ QSqlResult \- Abstract interface for accessing data from SQL databases .BI "bool \fBisForwardOnly\fR () const" .br .ti -1c -.BI "const QSqlDriver * \fBdriver\fR () const" +.BI "const TQSqlDriver * \fBdriver\fR () const" .br .ti -1c .BI "virtual void \fBsetAt\fR ( int at )" @@ -53,7 +53,7 @@ QSqlResult \- Abstract interface for accessing data from SQL databases .BI "virtual void \fBsetActive\fR ( bool a )" .br .ti -1c -.BI "virtual void \fBsetLastError\fR ( const QSqlError & e )" +.BI "virtual void \fBsetLastError\fR ( const TQSqlError & e )" .br .ti -1c .BI "virtual void \fBsetQuery\fR ( const TQString & query )" @@ -96,75 +96,75 @@ QSqlResult \- Abstract interface for accessing data from SQL databases .br .in -1c .SH DESCRIPTION -The QSqlResult class provides an abstract interface for accessing data from SQL databases. +The TQSqlResult class provides an abstract interface for accessing data from SQL databases. .PP -Normally you would use QSqlQuery instead of QSqlResult since QSqlQuery provides a generic wrapper for database-specific implementations of QSqlResult. +Normally you would use TQSqlQuery instead of TQSqlResult since TQSqlQuery provides a generic wrapper for database-specific implementations of TQSqlResult. .PP -See also QSql and Database Classes. +See also TQSql and Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlResult::QSqlResult ( const QSqlDriver * db )\fC [protected]\fR" -Protected constructor which creates a QSqlResult using database \fIdb\fR. The object is initialized to an inactive state. -.SH "QSqlResult::~QSqlResult ()\fC [virtual]\fR" +.SH "TQSqlResult::TQSqlResult ( const TQSqlDriver * db )\fC [protected]\fR" +Protected constructor which creates a TQSqlResult using database \fIdb\fR. The object is initialized to an inactive state. +.SH "TQSqlResult::~TQSqlResult ()\fC [virtual]\fR" Destroys the object and frees any allocated resources. -.SH "int QSqlResult::at () const\fC [protected]\fR" +.SH "int TQSqlResult::at () const\fC [protected]\fR" Returns the current (zero-based) position of the result. -.SH "QVariant QSqlResult::data ( int i )\fC [pure virtual protected]\fR" +.SH "QVariant TQSqlResult::data ( int i )\fC [pure virtual protected]\fR" Returns the data for field \fIi\fR (zero-based) as a QVariant. This function is only called if the result is in an active state and is positioned on a valid record and \fIi\fR is non-negative. Derived classes must reimplement this function and return the value of field \fIi\fR, or QVariant() if it cannot be determined. -.SH "const QSqlDriver * QSqlResult::driver () const\fC [protected]\fR" +.SH "const TQSqlDriver * TQSqlResult::driver () const\fC [protected]\fR" Returns the driver associated with the result. -.SH "bool QSqlResult::fetch ( int i )\fC [pure virtual protected]\fR" +.SH "bool TQSqlResult::fetch ( int i )\fC [pure virtual protected]\fR" Positions the result to an arbitrary (zero-based) index \fIi\fR. This function is only called if the result is in an active state. Derived classes must reimplement this function and position the result to the index \fIi\fR, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure. -.SH "bool QSqlResult::fetchFirst ()\fC [pure virtual protected]\fR" +.SH "bool TQSqlResult::fetchFirst ()\fC [pure virtual protected]\fR" Positions the result to the first record in the result. This function is only called if the result is in an active state. Derived classes must reimplement this function and position the result to the first record, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure. -.SH "bool QSqlResult::fetchLast ()\fC [pure virtual protected]\fR" +.SH "bool TQSqlResult::fetchLast ()\fC [pure virtual protected]\fR" Positions the result to the last record in the result. This function is only called if the result is in an active state. Derived classes must reimplement this function and position the result to the last record, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure. -.SH "bool QSqlResult::fetchNext ()\fC [virtual protected]\fR" +.SH "bool TQSqlResult::fetchNext ()\fC [virtual protected]\fR" Positions the result to the next available record in the result. This function is only called if the result is in an active state. The default implementation calls fetch() with the next index. Derived classes can reimplement this function and position the result to the next record in some other way, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure. -.SH "bool QSqlResult::fetchPrev ()\fC [virtual protected]\fR" +.SH "bool TQSqlResult::fetchPrev ()\fC [virtual protected]\fR" Positions the result to the previous available record in the result. This function is only called if the result is in an active state. The default implementation calls fetch() with the previous index. Derived classes can reimplement this function and position the result to the next record in some other way, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure. -.SH "bool QSqlResult::isActive () const\fC [protected]\fR" +.SH "bool TQSqlResult::isActive () const\fC [protected]\fR" Returns TRUE if the result has records to be retrieved; otherwise returns FALSE. -.SH "bool QSqlResult::isForwardOnly () const\fC [protected]\fR" +.SH "bool TQSqlResult::isForwardOnly () const\fC [protected]\fR" Returns TRUE if you can only scroll forward through a result set; otherwise returns FALSE. -.SH "bool QSqlResult::isNull ( int i )\fC [pure virtual protected]\fR" +.SH "bool TQSqlResult::isNull ( int i )\fC [pure virtual protected]\fR" Returns TRUE if the field at position \fIi\fR is NULL; otherwise returns FALSE. -.SH "bool QSqlResult::isSelect () const\fC [protected]\fR" +.SH "bool TQSqlResult::isSelect () const\fC [protected]\fR" Returns TRUE if the current result is from a SELECT statement; otherwise returns FALSE. -.SH "bool QSqlResult::isValid () const\fC [protected]\fR" +.SH "bool TQSqlResult::isValid () const\fC [protected]\fR" Returns TRUE if the result is positioned on a valid record (that is, the result is not positioned before the first or after the last record); otherwise returns FALSE. -.SH "QSqlError QSqlResult::lastError () const\fC [protected]\fR" +.SH "TQSqlError TQSqlResult::lastError () const\fC [protected]\fR" Returns the last error associated with the result. -.SH "TQString QSqlResult::lastQuery () const\fC [protected]\fR" +.SH "TQString TQSqlResult::lastQuery () const\fC [protected]\fR" Returns the current SQL query text, or TQString::null if there is none. -.SH "int QSqlResult::numRowsAffected ()\fC [pure virtual protected]\fR" +.SH "int TQSqlResult::numRowsAffected ()\fC [pure virtual protected]\fR" Returns the number of rows affected by the last query executed. -.SH "bool QSqlResult::reset ( const TQString & query )\fC [pure virtual protected]\fR" +.SH "bool TQSqlResult::reset ( const TQString & query )\fC [pure virtual protected]\fR" Sets the result to use the SQL statement \fIquery\fR for subsequent data retrieval. Derived classes must reimplement this function and apply the \fIquery\fR to the database. This function is called only after the result is set to an inactive state and is positioned before the first record of the new result. Derived classes should return TRUE if the query was successful and ready to be used, or FALSE otherwise. -.SH "void QSqlResult::setActive ( bool a )\fC [virtual protected]\fR" +.SH "void TQSqlResult::setActive ( bool a )\fC [virtual protected]\fR" Protected function provided for derived classes to set the internal active state to the value of \fIa\fR. .PP See also isActive(). -.SH "void QSqlResult::setAt ( int at )\fC [virtual protected]\fR" +.SH "void TQSqlResult::setAt ( int at )\fC [virtual protected]\fR" Protected function provided for derived classes to set the internal (zero-based) result index to \fIat\fR. .PP See also at(). -.SH "void QSqlResult::setForwardOnly ( bool forward )\fC [virtual protected]\fR" +.SH "void TQSqlResult::setForwardOnly ( bool forward )\fC [virtual protected]\fR" Sets forward only mode to \fIforward\fR. If forward is TRUE only fetchNext() is allowed for navigating the results. Forward only mode needs far less memory since results do not have to be cached. forward only mode is off by default. .PP See also fetchNext(). -.SH "void QSqlResult::setLastError ( const QSqlError & e )\fC [virtual protected]\fR" +.SH "void TQSqlResult::setLastError ( const TQSqlError & e )\fC [virtual protected]\fR" Protected function provided for derived classes to set the last error to the value of \fIe\fR. .PP See also lastError(). -.SH "void QSqlResult::setQuery ( const TQString & query )\fC [virtual protected]\fR" +.SH "void TQSqlResult::setQuery ( const TQString & query )\fC [virtual protected]\fR" Sets the current query for the result to \fIquery\fR. The result must be reset() in order to execute the query on the database. -.SH "void QSqlResult::setSelect ( bool s )\fC [virtual protected]\fR" +.SH "void TQSqlResult::setSelect ( bool s )\fC [virtual protected]\fR" Protected function provided for derived classes to indicate whether or not the current statement is a SQL SELECT statement. The \fIs\fR parameter should be TRUE if the statement is a SELECT statement, or FALSE otherwise. -.SH "int QSqlResult::size ()\fC [pure virtual protected]\fR" +.SH "int TQSqlResult::size ()\fC [pure virtual protected]\fR" Returns the size of the result or -1 if it cannot be determined. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlresult.html +.BR http://doc.trolltech.com/tqsqlresult.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqsqlselectcursor.3qt b/doc/man/man3/tqsqlselectcursor.3qt index a169131f9..231287936 100644 --- a/doc/man/man3/tqsqlselectcursor.3qt +++ b/doc/man/man3/tqsqlselectcursor.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSqlSelectCursor 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSqlSelectCursor 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,30 +7,30 @@ .ad l .nh .SH NAME -QSqlSelectCursor \- Browsing of general SQL SELECT statements +TQSqlSelectCursor \- Browsing of general SQL SELECT statements .SH SYNOPSIS -\fC#include <ntqsqlselectcursor.h>\fR +\fC#include <tqsqlselectcursor.h>\fR .PP -Inherits QSqlCursor. +Inherits TQSqlCursor. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlSelectCursor\fR ( const TQString & query = TQString::null, QSqlDatabase * db = 0 )" +.BI "\fBQSqlSelectCursor\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "\fBQSqlSelectCursor\fR ( const QSqlSelectCursor & other )" +.BI "\fBQSqlSelectCursor\fR ( const TQSqlSelectCursor & other )" .br .ti -1c -.BI "\fB~QSqlSelectCursor\fR ()" +.BI "\fB~TQSqlSelectCursor\fR ()" .br .in -1c .SH DESCRIPTION -The QSqlSelectCursor class provides browsing of general SQL SELECT statements. +The TQSqlSelectCursor class provides browsing of general SQL SELECT statements. .PP -QSqlSelectCursor is a convenience class that makes it possible to display result sets from general SQL \fCSELECT\fR statements in data-aware TQt widgets. QSqlSelectCursor is read-only and does not support \fCINSERT\fR, \fCUPDATE\fR or \fCDELETE\fR operations. +TQSqlSelectCursor is a convenience class that makes it possible to display result sets from general SQL \fCSELECT\fR statements in data-aware TQt widgets. TQSqlSelectCursor is read-only and does not support \fCINSERT\fR, \fCUPDATE\fR or \fCDELETE\fR operations. .PP -Pass the query in at construction time, or use the QSqlSelectCursor::exec() function. +Pass the query in at construction time, or use the TQSqlSelectCursor::exec() function. .PP Example: .PP @@ -38,9 +38,9 @@ Example: .br ... .br - QSqlSelectCursor* cur = new QSqlSelectCursor( "SELECT id, firstname, lastname FROM author" ); + TQSqlSelectCursor* cur = new TQSqlSelectCursor( "SELECT id, firstname, lastname FROM author" ); .br - QDataTable* table = new QDataTable( this ); + TQDataTable* table = new TQDataTable( this ); .br table->setSqlCursor( cur, TRUE, TRUE ); .br @@ -58,15 +58,15 @@ Example: .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSqlSelectCursor::QSqlSelectCursor ( const TQString & query = TQString::null, QSqlDatabase * db = 0 )" +.SH "TQSqlSelectCursor::TQSqlSelectCursor ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" Constructs a read only cursor on database \fIdb\fR using the query \fIquery\fR. -.SH "QSqlSelectCursor::QSqlSelectCursor ( const QSqlSelectCursor & other )" +.SH "TQSqlSelectCursor::TQSqlSelectCursor ( const TQSqlSelectCursor & other )" Constructs a copy of \fIother\fR -.SH "QSqlSelectCursor::~QSqlSelectCursor ()" +.SH "TQSqlSelectCursor::~TQSqlSelectCursor ()" Destroys the object and frees any allocated resources .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsqlselectcursor.html +.BR http://doc.trolltech.com/tqsqlselectcursor.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqtable.3qt b/doc/man/man3/tqtable.3qt index 164b1acb6..ec0bbfb79 100644 --- a/doc/man/man3/tqtable.3qt +++ b/doc/man/man3/tqtable.3qt @@ -13,7 +13,7 @@ QTable \- Flexible editable table widget .PP Inherits QScrollView. .PP -Inherited by QDataTable. +Inherited by TQDataTable. .PP .SS "Public Members" .in +1c @@ -622,7 +622,7 @@ See also adjustRow(). .PP Example: regexptester/regexptester.cpp. .PP -Reimplemented in QDataTable. +Reimplemented in TQDataTable. .SH "void QTable::adjustRow ( int row )\fC [virtual slot]\fR" Resizes row \fIrow\fR so that the row height is tall enough to display the tallest item the row contains. .PP @@ -923,11 +923,11 @@ Example: regexptester/regexptester.cpp. .SH "int QTable::numCols () const\fC [virtual]\fR" Returns the number of columns in the table. See the "numCols" property for details. .PP -Reimplemented in QDataTable. +Reimplemented in TQDataTable. .SH "int QTable::numRows () const\fC [virtual]\fR" Returns the number of rows in the table. See the "numRows" property for details. .PP -Reimplemented in QDataTable. +Reimplemented in TQDataTable. .SH "int QTable::numSelections () const" Returns the number of selections. See the "numSelections" property for details. .SH "void QTable::paintCell ( QPainter * p, int row, int col, const QRect & cr, bool selected, const QColorGroup & cg )\fC [virtual]\fR" @@ -1097,7 +1097,7 @@ See also columnWidth() and setRowHeight(). .PP Example: chart/setdataform.cpp. .PP -Reimplemented in QDataTable. +Reimplemented in TQDataTable. .SH "void QTable::setCurrentCell ( int row, int col )\fC [virtual slot]\fR" Moves the focus to the cell at \fIrow\fR, \fIcol\fR. .PP @@ -1210,7 +1210,7 @@ See also swapRows(). .PP Example: table/statistics/statistics.cpp. .PP -Reimplemented in QDataTable. +Reimplemented in TQDataTable. .SH "bool QTable::sorting () const" Returns TRUE if a click on the header of a column sorts that column; otherwise returns FALSE. See the "sorting" property for details. .SH "void QTable::startDrag ()\fC [virtual protected]\fR" @@ -1262,7 +1262,7 @@ See also setText() and setPixmap(). .PP Example: chart/setdataform.cpp. .PP -Reimplemented in QDataTable. +Reimplemented in TQDataTable. .SH "void QTable::updateCell ( int row, int col )" Repaints the cell at \fIrow\fR, \fIcol\fR. .SH "void QTable::updateHeaderStates ()" diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index ab8969d1c..456e74284 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and QPaintDevice. .PP -Inherited by QAxWidget, QButton, QFrame, QDialog, QComboBox, QDataBrowser, QDataView, QDateTimeEditBase, QDateTimeEdit, QDesktopWidget, QDial, QDockArea, QGLWidget, QHeader, QMainWindow, QMotifWidget, QNPWidget, QScrollBar, QSizeGrip, QSlider, QSpinBox, QSplashScreen, QStatusBar, QTabBar, QTabWidget, QWorkspace, and QXtWidget. +Inherited by QAxWidget, QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, QDateTimeEditBase, QDateTimeEdit, QDesktopWidget, QDial, QDockArea, QGLWidget, QHeader, QMainWindow, QMotifWidget, QNPWidget, QScrollBar, QSizeGrip, QSlider, QSpinBox, QSplashScreen, QStatusBar, QTabBar, QTabWidget, QWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c diff --git a/doc/plugins-howto.doc b/doc/plugins-howto.doc index f771678b5..a9ea466c3 100644 --- a/doc/plugins-howto.doc +++ b/doc/plugins-howto.doc @@ -64,7 +64,7 @@ by default in the standard plugin directory. \i \l QImageFormatPlugin \i \c{pluginsbase/imageformats} <sup>*</sup> \row -\i \l QSqlDriverPlugin +\i \l TQSqlDriverPlugin \i \c{pluginsbase/sqldrivers} <sup>*</sup> \row \i \l QStylePlugin diff --git a/doc/sql-driver.doc b/doc/sql-driver.doc index 995c35852..9aa893477 100644 --- a/doc/sql-driver.doc +++ b/doc/sql-driver.doc @@ -140,7 +140,7 @@ modified servers. If you have a recent client library and connect to a transaction-enabled MySQL server, a call to the -QSqlDriver::hasFeature( QSqlDriver::Transactions ) function returns +TQSqlDriver::hasFeature( TQSqlDriver::Transactions ) function returns TRUE and SQL transactions can be used. If the plugin is compiled against MySQL 4.x client libraries, @@ -203,17 +203,17 @@ that this process may require a lot of memory. Note that Oracle 9 doesn't support scrollable result sets with LOB columns, you have to use a forward only query to select LOB fields -(see QSqlQuery::setForwardOnly()). +(see TQSqlQuery::setForwardOnly()). Inserting BLOBs should be done using either a prepared query where the -BLOBs are bound to placeholders, or QSqlCursor which uses a prepared +BLOBs are bound to placeholders, or TQSqlCursor which uses a prepared query to do this internally (see $TQTDIR/examples/sql/blob). \section3 Know problems -When a query is in forward only mode a call to QSqlQuery::last() will +When a query is in forward only mode a call to TQSqlQuery::last() will position the query on the last record and return TRUE, but subsequent -calls to QSqlQuery::value() will only return NULLs. +calls to TQSqlQuery::value() will only return NULLs. \section3 How to build the plugin on Unix/Linux @@ -307,7 +307,7 @@ is required to have an ODBC driver manager installed, otherwise the QODBC3 plugin will not work. Be aware that when connecting to an ODBC datasource you must pass in -the name of the ODBC datasource to the QSqlDatabase::setDatabaseName() +the name of the ODBC datasource to the TQSqlDatabase::setDatabaseName() function: not the actual database name. The QODBC3 Plugin needs an ODBC compliant driver manager version 2.0 or @@ -316,7 +316,7 @@ but do not offer all the necessary functionality. The QODBC3 plugin therefore checks whether the data source can be used after a connection has been established and refuses to work if the check fails. If you don't like this behaviour, you can remove the \c{#define -ODBC_CHECK_DRIVER} line from the file \c{qsql_odbc.cpp}. Do this at +ODBC_CHECK_DRIVER} line from the file \c{tqsql_odbc.cpp}. Do this at your own risk! If you experience very slow access of the ODBC datasource, make sure @@ -485,7 +485,7 @@ nmake By default the Microsoft library is used on Windows, if you want to force the use of the Sybase Open Client, you must define -\c Q_USE_SYBASE in \c{%TQTDIR%\src\sql\drivers\tds\qsql_tds.cpp}. +\c Q_USE_SYBASE in \c{%TQTDIR%\src\sql\drivers\tds\tqsql_tds.cpp}. \target QDB2 \section2 QDB2 - IBM DB2 Driver (v7.1 or higher) @@ -503,7 +503,7 @@ The QDB2 driver supports prepared queries, reading/writing of Unicode strings and reading/writing of BLOBs. We suggest using a forward-only query when calling stored procedures -in DB2 (see QSqlQuery::setForwardOnly()). +in DB2 (see TQSqlQuery::setForwardOnly()). \section3 How to build the plugin on Unix/Linux @@ -651,8 +651,8 @@ If you are experiencing problems with loading plugins, and see output like this \code -QSqlDatabase warning: QMYSQL3 driver not loaded -QSqlDatabase: available drivers: QMYSQL3 +TQSqlDatabase warning: QMYSQL3 driver not loaded +TQSqlDatabase: available drivers: QMYSQL3 \endcode the problem is probably that the plugin had the wrong build key. For @@ -665,30 +665,30 @@ error message. \target development \section1 How to write your own database driver -QSqlDatabase is responsible for loading and managing database driver -plugins. When a database is added (see QSqlDatabase::addDatabase()), -the appropriate driver plugin is loaded (using QSqlDriverPlugin). -QSqlDatabase relies on the driver plugin to provide interfaces for -QSqlDriver and QSqlResult. +TQSqlDatabase is responsible for loading and managing database driver +plugins. When a database is added (see TQSqlDatabase::addDatabase()), +the appropriate driver plugin is loaded (using TQSqlDriverPlugin). +TQSqlDatabase relies on the driver plugin to provide interfaces for +TQSqlDriver and TQSqlResult. -QSqlDriver is an abstract base class which defines the functionality +TQSqlDriver is an abstract base class which defines the functionality of a SQL database driver. This includes functions such as -QSqlDriver::open() and QSqlDriver::close(). QSqlDriver is responsible +TQSqlDriver::open() and TQSqlDriver::close(). TQSqlDriver is responsible for connecting to a database, establish the proper environment, etc. -In addition, QSqlDriver can create QSqlQuery objects appropriate for -the particular database API. QSqlDatabase forwards many of its -function calls directly to QSqlDriver which provides the concrete +In addition, TQSqlDriver can create TQSqlQuery objects appropriate for +the particular database API. TQSqlDatabase forwards many of its +function calls directly to TQSqlDriver which provides the concrete implementation. -QSqlResult is an abstract base class which defines the functionality +TQSqlResult is an abstract base class which defines the functionality of a SQL database query. This includes statements such as \c{SELECT}, -\c{UPDATE}, and \c{ALTER TABLE}. QSqlResult contains functions such as -QSqlResult::next() and QSqlResult::value(). QSqlResult is responsible +\c{UPDATE}, and \c{ALTER TABLE}. TQSqlResult contains functions such as +TQSqlResult::next() and TQSqlResult::value(). TQSqlResult is responsible for sending queries to the database, returning result data, etc. -QSqlQuery forwards many of its function calls directly to QSqlResult +TQSqlQuery forwards many of its function calls directly to TQSqlResult which provides the concrete implementation. -QSqlDriver and QSqlResult are closely connected. When implementing a +TQSqlDriver and TQSqlResult are closely connected. When implementing a Qt SQL driver, both of these classes must to be subclassed and the abstract virtual methods in each class must be implemented. @@ -703,10 +703,10 @@ with TQt in \c{TQTDIR/plugins/src/sqldrivers} and The following code can be used as a skeleton for a SQL driver: \code -class QNullResult : public QSqlResult +class QNullResult : public TQSqlResult { public: - QNullResult( const QSqlDriver* d ): QSqlResult( d ) {} + QNullResult( const TQSqlDriver* d ): TQSqlResult( d ) {} ~QNullResult() {} protected: QVariant data( int ) { return QVariant(); } @@ -715,15 +715,15 @@ protected: bool fetchFirst() { return FALSE; } bool fetchLast() { return FALSE; } bool isNull( int ) { return FALSE; } - QSqlRecord record() { return QSqlRecord(); } + TQSqlRecord record() { return TQSqlRecord(); } int size() { return 0; } int numRowsAffected() { return 0; } }; -class QNullDriver : public QSqlDriver +class QNullDriver : public TQSqlDriver { public: - QNullDriver(): QSqlDriver() {} + QNullDriver(): TQSqlDriver() {} ~QNullDriver() {} bool hasFeature( DriverFeature ) const { return FALSE; } bool open( const TQString&, @@ -732,7 +732,7 @@ public: const TQString&, int ) { return FALSE; } void close() {} - QSqlQuery createQuery() const { return QSqlQuery( new QNullResult( this ) ); } + TQSqlQuery createQuery() const { return TQSqlQuery( new QNullResult( this ) ); } }; \endcode diff --git a/doc/sql.doc b/doc/sql.doc index 9754cf178..9542f4aff 100644 --- a/doc/sql.doc +++ b/doc/sql.doc @@ -80,26 +80,26 @@ This module is part of the \link commercialeditions.html TQt Enterprise Edition \table \row -\i \l QSql -\i \l QSqlCursor -\i \l QSqlDatabase -\i \l QSqlDriver -\i \l QSqlDriverPlugin +\i \l TQSql +\i \l TQSqlCursor +\i \l TQSqlDatabase +\i \l TQSqlDriver +\i \l TQSqlDriverPlugin \row -\i \l QSqlEditorFactory -\i \l QSqlError -\i \l QSqlField -\i \l QSqlFieldInfo -\i \l QSqlForm +\i \l TQSqlEditorFactory +\i \l TQSqlError +\i \l TQSqlField +\i \l TQSqlFieldInfo +\i \l TQSqlForm \row -\i \l QSqlIndex -\i \l QSqlPropertyMap -\i \l QSqlQuery -\i \l QSqlRecord -\i \l QSqlRecordInfo +\i \l TQSqlIndex +\i \l TQSqlPropertyMap +\i \l TQSqlQuery +\i \l TQSqlRecord +\i \l TQSqlRecordInfo \row -\i \l QSqlResult -\i \l QSqlSelectCursor +\i \l TQSqlResult +\i \l TQSqlSelectCursor \i31 See also: \link sql-driver.html Supported Drivers\endlink \endtable @@ -114,7 +114,7 @@ your TQt applications. <blockquote> This overview assumes that you have at least a basic knowledge of SQL. You should be able to understand simple \c SELECT, \c INSERT, \c UPDATE -and \c DELETE commands. Although the \l QSqlCursor class provides an +and \c DELETE commands. Although the \l TQSqlCursor class provides an interface to database browsing and editing that does not \e require a knowledge of SQL, a basic understanding of SQL is highly recommended. A standard text covering SQL databases is \e {An Introduction to Database @@ -135,30 +135,30 @@ how the classes fit together. \link #Connecting_to_Databases Connecting to Databases \endlink. This section explains how to set up database connections using the \l -QSqlDatabase class. +TQSqlDatabase class. \link #Executing_SQL_commands Executing SQL Commands \endlink. This section demonstrates how to issue the standard data manipulation commands, \c SELECT, \c INSERT, \c UPDATE and \c DELETE on tables in the database (although any valid SQL statement can be sent to the database). The focus is purely on database interaction using \l -QSqlQuery. +TQSqlQuery. \link #Using_QSqlCursor Using Cursors \endlink. This section explains -how to use the QSqlCursor class which provides a simpler API than the -raw SQL used with \l QSqlQuery. +how to use the TQSqlCursor class which provides a simpler API than the +raw SQL used with \l TQSqlQuery. \link #Data-Aware_Widgets Data-Aware Widgets \endlink. This section shows how to programmatically link your database to the user interface. In -this section we introduce the \l QDataTable, \l QSqlForm, \l -QSqlPropertyMap and QSqlEditorFactory classes and demonstrate how to +this section we introduce the \l TQDataTable, \l TQSqlForm, \l +TQSqlPropertyMap and TQSqlEditorFactory classes and demonstrate how to use custom data-aware widgets. \link designer-manual.book Qt Designer\endlink provides an easy visual way of achieving the same thing. See the \link designer-manual.book TQt Designer\endlink manual, -\l QDataBrowser and \l QDataView for more information. +\l TQDataBrowser and \l TQDataView for more information. -\link #Subclassing_QSqlCursor Subclassing QSqlCursor \endlink. This -section gives examples of subclassing QSqlCursor. Subclassing can be +\link #Subclassing_QSqlCursor Subclassing TQSqlCursor \endlink. This +section gives examples of subclassing TQSqlCursor. Subclassing can be used to provide default and calculated values for fields (such as auto-numbered primary index fields), and to display calculated data, e.g. showing names rather than ids of foreign keys. @@ -173,25 +173,25 @@ The SQL classes are divided into three layers: \e {User Interface Layer.} These classes provide data-aware widgets that can be connected to tables or views in the database (by using a -QSqlCursor as a data source). End users can interact directly with +TQSqlCursor as a data source). End users can interact directly with these widgets to browse or edit data. \link designer-manual.book Qt Designer\endlink is fully integrated with the SQL classes and can be used to create data-aware forms. The data-aware widgets can also be programmed directly with your own C++ code. The classes that support -this layer include \l QSqlEditorFactory, \l QSqlForm, \l -QSqlPropertyMap, \l QDataTable, \l QDataBrowser and \l QDataView. +this layer include \l TQSqlEditorFactory, \l TQSqlForm, \l +TQSqlPropertyMap, \l TQDataTable, \l TQDataBrowser and \l TQDataView. \e {SQL API Layer.} These classes provide access to databases. -Connections are made using the \l QSqlDatabase class. Database -interaction is achieved either by using the QSqlQuery class and +Connections are made using the \l TQSqlDatabase class. Database +interaction is achieved either by using the TQSqlQuery class and executing SQL commands directly or by using the higher level \l -QSqlCursor class which composes SQL commands automatically. In -addition to \l QSqlDatabase, \l QSqlCursor and \l QSqlQuery, the SQL -API layer is supported by QSqlError, QSqlField, QSqlFieldInfo, -QSqlIndex, QSqlRecord and QSqlRecordInfo. +TQSqlCursor class which composes SQL commands automatically. In +addition to \l TQSqlDatabase, \l TQSqlCursor and \l TQSqlQuery, the SQL +API layer is supported by TQSqlError, TQSqlField, TQSqlFieldInfo, +TQSqlIndex, TQSqlRecord and TQSqlRecordInfo. -\e {Driver Layer.} This comprises three classes, \l QSqlResult, \l -QSqlDriver and QSqlDriverFactoryInterface. This layer provides the +\e {Driver Layer.} This comprises three classes, \l TQSqlResult, \l +TQSqlDriver and TQSqlDriverFactoryInterface. This layer provides the low level bridge between the database and the SQL classes. This layer is \link sql-driver.html documented separately \endlink since it is only relevant to driver writers, and is rarely used in standard @@ -208,21 +208,21 @@ The \link sql-driver.html SQL driver documentation\endlink describes how to build plugins for specific database management systems. Once a plugin is built, TQt will automatically load it, and the driver -will be available for use by QSqlDatabase (see QSqlDatabase::drivers() +will be available for use by TQSqlDatabase (see TQSqlDatabase::drivers() for more information). \target Connecting_to_Databases \section1 Connecting to Databases At least one database connection must be created and opened before the -\l QSqlQuery or \l QSqlCursor classes can be used. +\l TQSqlQuery or \l TQSqlCursor classes can be used. If the application only needs a single database connection, the \l -QSqlDatabase class can create a connection which is used by default +TQSqlDatabase class can create a connection which is used by default for all SQL operations. If multiple database connections are required these can easily be set up. -\l QSqlDatabase requires the \c ntqsqldatabase.h header file. +\l TQSqlDatabase requires the \c tqsqldatabase.h header file. \target Connecting_to_a_Single_Database \section1 Connecting to a Single Database @@ -238,7 +238,7 @@ connection. \printline \caption From \l sql/overview/connect1/main.cpp -First we activate the driver by calling \l QSqlDatabase::addDatabase(), +First we activate the driver by calling \l TQSqlDatabase::addDatabase(), passing the name of the driver we wish to use for this connection. At the time of writing the available drivers are: QODBC3 (Open Database Connectivity, includes Microsoft SQL Server support), QOCI8 (Oracle 8 and 9), @@ -259,13 +259,13 @@ Source Name (DSN) should be used in the setDatabaseName() call. Third we call open() to open the database and give us access to the data. If this call fails it will return FALSE; error information can -be obtained from \l QSqlDatabase::lastError(). +be obtained from \l TQSqlDatabase::lastError(). \target Connecting_to_Multiple_Databases \section2 Connecting to Multiple Databases Connecting to multiple databases is achieved using the two argument form -of \l QSqlDatabase::addDatabase() where the second argument is a unique +of \l TQSqlDatabase::addDatabase() where the second argument is a unique identifier distinguishing the connection. In the example below we have moved the connections into their own @@ -307,7 +307,7 @@ createConnections() function.cpp. \printline \caption From \l sql/overview/create_connections/main.cpp -The static function \l QSqlDatabase::database() can be called from +The static function \l TQSqlDatabase::database() can be called from anywhere to provide a pointer to a database connection. If we call it without a parameter it will return the default connection. If called with the identifier we've used for a connection, e.g. "ORACLE", in the @@ -321,36 +321,36 @@ will not run unless you implement your own database connections function. Note that in the code above the ODBC connection was not named and is -therefore used as the default connection. \l QSqlDatabase maintains +therefore used as the default connection. \l TQSqlDatabase maintains ownership of the pointers returned by the addDatabase() static function. To remove a database from the list of maintained -connections, first close the database with QSqlDatabase::close(), and +connections, first close the database with TQSqlDatabase::close(), and then remove it using the static function -QSqlDatabase::removeDatabase(). +TQSqlDatabase::removeDatabase(). \target Executing_SQL_commands -\section1 Executing SQL Commands Using QSqlQuery +\section1 Executing SQL Commands Using TQSqlQuery -The \l QSqlQuery class provides an interface for executing SQL commands. +The \l TQSqlQuery class provides an interface for executing SQL commands. It also has functions for navigating through the result sets of \c SELECT queries and for retrieving individual records and field values. -The \l QSqlCursor class described in the next section inherits from \l -QSqlQuery and provides a higher level interface that composes SQL -commands for us. \l QSqlCursor is particularly easy to integrate with +The \l TQSqlCursor class described in the next section inherits from \l +TQSqlQuery and provides a higher level interface that composes SQL +commands for us. \l TQSqlCursor is particularly easy to integrate with on-screen widgets. Programmers unfamiliar with SQL can safely skip this -section and use the \l QSqlCursor class covered in -\link #Using_QSqlCursor "Using QSqlCursor" \endlink. +section and use the \l TQSqlCursor class covered in +\link #Using_QSqlCursor "Using TQSqlCursor" \endlink. \target Transactions \section2 Transactions If the underlying database engine supports transactions -QSqlDriver::hasFeature( QSqlDriver::Transactions ) will return TRUE. -You can use QSqlDatabase::transaction() to initiate a transaction, +TQSqlDriver::hasFeature( TQSqlDriver::Transactions ) will return TRUE. +You can use TQSqlDatabase::transaction() to initiate a transaction, followed by the SQL commands you want to execute within the context of -the transaction, and then either QSqlDatabase::commit() or -\l{QSqlDatabase::rollback()}. +the transaction, and then either TQSqlDatabase::commit() or +\l{TQSqlDatabase::rollback()}. \target Basic_Browsing \section2 Basic Browsing @@ -363,7 +363,7 @@ the transaction, and then either QSqlDatabase::commit() or \caption From \l sql/overview/basicbrowsing/main.cpp In the example above we've added an additional header file, -\c ntqsqlquery.h. The first query we create, \c target, uses the default +\c tqsqlquery.h. The first query we create, \c target, uses the default database and is initially empty. For the second query, \c q, we specify the "ORACLE" database that we want to retrieve records from. Both the database connections were set up in the createConnections() function we @@ -374,7 +374,7 @@ to see if the query executed successfully. The next() function is used to iterate through the query results. The value() function returns the contents of fields as QVariants. The insertions are achieved by creating and executing queries against the default -database using the \c target QSqlQuery. +database using the \c target TQSqlQuery. Note that this example and all the other examples in this document use the tables defined in the \link #Example_Tables Example Tables\endlink @@ -405,7 +405,7 @@ cannot be determined, e.g. if the query fails. This example demonstrates straightforward SQL DML (data manipulation language) commands. Since we did not specify a database in the \l -QSqlQuery constructor the default database is used. \l QSqlQuery objects +TQSqlQuery constructor the default database is used. \l TQSqlQuery objects can also be used to execute SQL DDL (data definition language) commands such as \c{CREATE TABLE} and \c{CREATE INDEX}. @@ -415,7 +415,7 @@ such as \c{CREATE TABLE} and \c{CREATE INDEX}. Once a \c SELECT query has been executed successfully we have access to the result set of records that matched the query criteria. We have already used one of the navigation functions, next(), which can be -used alone to step sequentially through the records. \l QSqlQuery also +used alone to step sequentially through the records. \l TQSqlQuery also provides first(), last() and prev(). After any of these commands we can check that we are on a valid record by calling isValid(). @@ -437,12 +437,12 @@ Not all drivers support size(), but we can interrogate the driver to find out: \code - QSqlDatabase* defaultDB = QSqlDatabase::database(); - if ( defaultDB->driver()->hasFeature( QSqlDriver::QuerySize ) ) { - // QSqlQuery::size() supported + TQSqlDatabase* defaultDB = TQSqlDatabase::database(); + if ( defaultDB->driver()->hasFeature( TQSqlDriver::QuerySize ) ) { + // TQSqlQuery::size() supported } else { - // QSqlQuery::size() cannot be relied upon + // TQSqlQuery::size() cannot be relied upon } \endcode @@ -468,52 +468,52 @@ executed. This can be useful to check that the query you think is being executed is the one actually being executed. \target Using_QSqlCursor -\section1 Using QSqlCursor +\section1 Using TQSqlCursor -The \l QSqlCursor class provides a high level interface to browsing and +The \l TQSqlCursor class provides a high level interface to browsing and editing records in SQL database tables or views without the need to write your own SQL. -QSqlCursor can do almost everything that QSqlQuery can, with two +TQSqlCursor can do almost everything that TQSqlQuery can, with two exceptions. Since cursors represent tables or views within the -database, by default, \l QSqlCursor objects retrieve all the fields of +database, by default, \l TQSqlCursor objects retrieve all the fields of each record in the table or view whenever navigating to a new record. If only some fields are relevant simply confine your processing to those and ignore the others. Or, manually disable the -generation of certain fields using QSqlRecord::setGenerated(). Another +generation of certain fields using TQSqlRecord::setGenerated(). Another approach is to create a \c VIEW which only presents the fields you're interested in; but note that some databases do not support editable views. So if you really don't want to retrieve all the fields in the -cursor, then you should use a \l QSqlQuery instead, and customize the -query to suit your needs. You can edit records using a \l QSqlCursor +cursor, then you should use a \l TQSqlQuery instead, and customize the +query to suit your needs. You can edit records using a \l TQSqlCursor providing that the table or view has a primary index that uniquely distinguishes each record. If this condition is not met then you'll -need to use a \l QSqlQuery for edits. +need to use a \l TQSqlQuery for edits. -QSqlCursor operates on a single record at a time. Whenever performing -an insert, update or delete using QSqlCursor, only a single record in +TQSqlCursor operates on a single record at a time. Whenever performing +an insert, update or delete using TQSqlCursor, only a single record in the database is affected. When navigating through records in the cursor, only one record at a time is available in application code. -In addition, QSqlCursor maintains a separate 'edit buffer' which is +In addition, TQSqlCursor maintains a separate 'edit buffer' which is used to make changes to a single record in the database. The edit buffer is maintained in a separate memory area, and is unnaffected by the 'navigation buffer' which changes as the cursor moves from record to record. -Before we can use \l QSqlCursor objects we must first create and open +Before we can use \l TQSqlCursor objects we must first create and open a database connection. Connecting is described in the \link #Connecting_to_Databases Connecting to Databases \endlink section above. For the examples that follow we will assume that the connections have been created using the createConnections() function -defined in the \link #create_connections QSqlDatabase example \endlink +defined in the \link #create_connections TQSqlDatabase example \endlink presented earlier. In the \link #Data-Aware_Widgets data-aware widgets \endlink section that follows this one we show how to link widgets to database cursors. Once we have a knowledge of both cursors and data-aware widgets we can -discuss \link #Subclassing_QSqlCursor subclassing QSqlCursor \endlink. +discuss \link #Subclassing_QSqlCursor subclassing TQSqlCursor \endlink. -The \l QSqlCursor class requires the \c ntqsqlcursor.h header file. +The \l TQSqlCursor class requires the \c tqsqlcursor.h header file. \target Retrieving_Records \section2 Retrieving Records @@ -525,9 +525,9 @@ The \l QSqlCursor class requires the \c ntqsqlcursor.h header file. \printline \caption From \l sql/overview/retrieve2/main.cpp -We create the \l QSqlCursor object, specifying the table or view to use. +We create the \l TQSqlCursor object, specifying the table or view to use. If we need to use a database other than the default we can specify it -in the QSqlCursor constructor. +in the TQSqlCursor constructor. The SQL executed by the cur.select() call is @@ -537,7 +537,7 @@ The SQL executed by the cur.select() call is Next, we iterate through the records returned by this select statement using cur.next(). Field values are retrieved in in a similar way to -QSqlQuery, except that we pass field names rather than numeric indexes +TQSqlQuery, except that we pass field names rather than numeric indexes to value() and setValue(). \target Sorting_Data @@ -562,16 +562,16 @@ This will retrieve only those staff whose \c id is greater than 100. In addition to retrieving selected records we often want to specify a sort order for the returned records. This is achieved by creating a \l -QSqlIndex object which contains the names of the field(s) we wish to +TQSqlIndex object which contains the names of the field(s) we wish to sort by and pass this object to the select() call. \code - QSqlCursor cur( "staff" ); - QSqlIndex nameIndex = cur.index( "surname" ); + TQSqlCursor cur( "staff" ); + TQSqlIndex nameIndex = cur.index( "surname" ); cur.select( nameIndex ); \endcode -Here we create a \l QSqlIndex object with one field, "surname". When +Here we create a \l TQSqlIndex object with one field, "surname". When we call the select() function we pass the index object, which specifies that the records should be returned sorted by staff.surname. Each field in the index object is used in the ORDER BY @@ -588,7 +588,7 @@ is straightforward. cur.select( "staff.surname LIKE 'A%'", nameIndex ); \endcode -We pass in a filter string (the \c WHERE clause), and the \l QSqlIndex +We pass in a filter string (the \c WHERE clause), and the \l TQSqlIndex object to sort by (the \c{ORDER BY} clause). This produces \code @@ -598,16 +598,16 @@ object to sort by (the \c{ORDER BY} clause). This produces To sort by more than one field, an index can be created which contains multiple fields. Ascending and descending order can be set using -QSqlIndex::setDescending(); the default is ascending. +TQSqlIndex::setDescending(); the default is ascending. \quotefile sql/overview/order1/main.cpp -\skipto QSqlCursor -\printline QSqlCursor +\skipto TQSqlCursor +\printline TQSqlCursor \printuntil while \caption From \l sql/overview/order1/main.cpp Here we create a string list containing the fields we wish to sort by, -in the order they are to be used. Then we create a \l QSqlIndex object +in the order they are to be used. Then we create a \l TQSqlIndex object based on these fields, finally executing the select() call using this index. This executes \code @@ -619,8 +619,8 @@ If we need to retrieve records with fields that match specific criteria we can create a filter based on an index. \quotefile sql/overview/order2/main.cpp -\skipto QSqlCursor -\printline QSqlCursor +\skipto TQSqlCursor +\printline TQSqlCursor \printuntil while \caption From \l sql/overview/order2/main.cpp @@ -630,8 +630,8 @@ This executes FROM staff WHERE staff.surname='Bloggs' ORDER BY staff.id ASC, staff.forename ASC \endcode -The "order" \l QSqlIndex contains two fields, "id" and "forename" -which are used to order the results. The "filter" \l QSqlIndex +The "order" \l TQSqlIndex contains two fields, "id" and "forename" +which are used to order the results. The "filter" \l TQSqlIndex contains a single field, "surname". When an index is passed as a filter to the select() function, for each field in the filter, a \e{fieldname=value} subclause is created where the value @@ -642,14 +642,14 @@ setValue() to ensure that the value used is the one we want. \section3 Extracting Data \quotefile sql/overview/extract/main.cpp -\skipto QSqlCursor -\printline QSqlCursor +\skipto TQSqlCursor +\printline TQSqlCursor \printuntil tqDebug \printline \caption From \l sql/overview/extract/main.cpp In this example we begin by creating a cursor on the creditors table. -We create two \l QSqlIndex objects. The first, "order", is created +We create two \l TQSqlIndex objects. The first, "order", is created from the "orderFields" string list. The second, "filter", is created from the "filterFields" string list. We set the values of the two fields used in the filter, "surname" and "city", to the values we're @@ -674,9 +674,9 @@ some processing function, in this example a simple tqDebug() call. \section2 Manipulating Records Records can be inserted, updated or deleted in a table or view using a -\l QSqlCursor providing that the table or view has a primary index +\l TQSqlCursor providing that the table or view has a primary index that uniquely distinguishes each record. If this is not the case a \l -QSqlQuery must be used instead. (Note that not all databases support +TQSqlQuery must be used instead. (Note that not all databases support editable views.) Each cursor has an internal 'edit buffer' which is used by all the @@ -687,7 +687,7 @@ insert() or update() or del() to perform the desired operation. For example, when inserting a record using a cursor, you call primeInsert() to get a pointer to the edit buffer and then call setValue() on this buffer to set each field's value. Then you call -QSQlCursor::insert() to insert the contents of the edit buffer into +TQSQlCursor::insert() to insert the contents of the edit buffer into the database. Similarly, when updating (or deleting) a record, the values of the fields in the edit buffer are used to update (or delete) the record in the database. The 'edit buffer' is unaffected by any @@ -699,16 +699,16 @@ quote is a special character in SQL. The primeInsert(), primeUpdate() and primeDelete() methods all return a pointer to the internal edit buffer. Each method can potentially perform different operations on the edit buffer before returning it. -By default, QSqlCursor::primeInsert() clears all the field values in -the edit buffer (see \l QSqlRecord::clearValues()). Both \l -QSqlCursor::primeUpdate() and QSqlCursor::primeDelete() initialize the +By default, TQSqlCursor::primeInsert() clears all the field values in +the edit buffer (see \l TQSqlRecord::clearValues()). Both \l +TQSqlCursor::primeUpdate() and TQSqlCursor::primeDelete() initialize the edit buffer with the current contents of the cursor before returning it. All three of these functions are virtual, so you can redefine the behavior (for example, reimplementing primeInsert() to auto-number fields in the edit buffer). Data-aware user-interface controls emit signals, e.g. primeInsert(), that you can connect to; these pass a pointer to the appropriate buffer so subclassing may not be necessary. -See \link #Subclassing_QSqlCursor subclassing QSqlCursor \endlink for +See \link #Subclassing_QSqlCursor subclassing TQSqlCursor \endlink for more information on subclassing; see the \link designer-manual.book Qt Designer\endlink manual for more on connecting to the primeInsert() signal. @@ -723,33 +723,33 @@ changes to the database are accurately reflected in the cursor. \section3 Inserting Records \quotefile sql/overview/insert/main.cpp -\skipto QSqlCursor -\printline QSqlCursor +\skipto TQSqlCursor +\printline TQSqlCursor \printuntil } \caption From \l sql/overview/insert/main.cpp In this example we create a cursor on the "prices" table. Next we create a list of product names which we iterate over. For each iteration we call the cursor's primeInsert() method. This method -returns a pointer to a \l QSqlRecord buffer in which all the fields -are set to \c NULL. (Note that QSqlCursor::primeInsert() is virtual, -and can be customized by derived classes. See \l QSqlCursor). Next we +returns a pointer to a \l TQSqlRecord buffer in which all the fields +are set to \c NULL. (Note that TQSqlCursor::primeInsert() is virtual, +and can be customized by derived classes. See \l TQSqlCursor). Next we call setValue() for each field that requires a value. Finally we call insert() to insert the record. The insert() call returns the number of rows inserted. -We obtained a pointer to a \l QSqlRecord object from the primeInsert() -call. QSqlRecord objects can hold the data for a single record plus some +We obtained a pointer to a \l TQSqlRecord object from the primeInsert() +call. TQSqlRecord objects can hold the data for a single record plus some meta-data about the record. In practice most interaction with a -QSqlRecord consists of simple value() and setValue() calls as shown in +TQSqlRecord consists of simple value() and setValue() calls as shown in this and the following example. \target Updating_Records \section3 Updating Records \quotefile sql/overview/update/main.cpp -\skipto QSqlCursor -\printline QSqlCursor +\skipto TQSqlCursor +\printline TQSqlCursor \printuntil update \printline \caption From \l sql/overview/update/main.cpp @@ -757,7 +757,7 @@ this and the following example. This example begins with the creation of a cursor over the prices table. We select the record we wish to update with the select() call and move to it with the next() call. We call primeUpdate() to get a \l -QSqlRecord pointer to a buffer which is populated with the contents of +TQSqlRecord pointer to a buffer which is populated with the contents of the current record. We retrieve the value of the price field, calculate a new price, and set the the price field to the newly calculated value. Finally we call update() to update the record. The update() call returns @@ -765,32 +765,32 @@ the number of rows updated. If many identical updates need to be performed, for example increasing the price of every item in the price list, using a single SQL statement -with \l QSqlQuery is more efficient, e.g. +with \l TQSqlQuery is more efficient, e.g. \code - QSqlQuery query( "UPDATE prices SET price = price * 1.05" ); + TQSqlQuery query( "UPDATE prices SET price = price * 1.05" ); \endcode \target Deleting_Records \section3 Deleting Records \quotefile sql/overview/delete/main.cpp -\skipto QSqlCursor -\printline QSqlCursor +\skipto TQSqlCursor +\printline TQSqlCursor \printuntil del \caption From \l sql/overview/delete/main.cpp To delete records, select the record to be deleted and navigate to it. Then call primeDelete() to populate the cursor with the primary key of the selected record, (in this example, the \c prices.id field), and -then call QSqlCursor::del() to delete it. +then call TQSqlCursor::del() to delete it. As with update(), if multiple deletions need to be made with some common criteria it is more efficient to do so using a single SQL statement, e.g. \code - QSqlQuery query( "DELETE FROM prices WHERE id >= 2450 AND id <= 2500" ); + TQSqlQuery query( "DELETE FROM prices WHERE id >= 2450 AND id <= 2500" ); \endcode \target Data-Aware_Widgets @@ -815,14 +815,14 @@ examples provides additional information. \printline \caption From \l sql/overview/table1/main.cpp -Data-Aware tables require the \c ntqdatatable.h and \c ntqsqlcursor.h header +Data-Aware tables require the \c tqdatatable.h and \c tqsqlcursor.h header files. We create our application object, call createConnections() and -create the cursor. We create the \l QDataTable passing it a pointer to +create the cursor. We create the \l TQDataTable passing it a pointer to the cursor, and set the autoPopulate flag to TRUE. Next we make our \l -QDataTable the main widget and call refresh() to populate it with data +TQDataTable the main widget and call refresh() to populate it with data and call show() to make it visible. -The autoPopulate flag tells the \l QDataTable whether or nor it should +The autoPopulate flag tells the \l TQDataTable whether or nor it should create columns based on the cursor. autoPopulate does not affect the loading of data into the table; that is achieved by the refresh() function. @@ -833,7 +833,7 @@ function. \printuntil show \caption From \l sql/overview/table2/main.cpp -We create an empty \l QDataTable which we make into our main widget and +We create an empty \l TQDataTable which we make into our main widget and then we manually add the columns we want in the order we wish them to appear. For each column we specify the field name and optionally a display label. @@ -844,7 +844,7 @@ been achieved by applying the sort to the cursor itself. Once everything is set up we call refresh() to load the data from the database and show() to make the widget visible. -QDataTables only retrieve visible rows which (depending on the driver) +TQDataTables only retrieve visible rows which (depending on the driver) allows even large tables to be displayed very quickly with minimal memory cost. @@ -868,8 +868,8 @@ designer-manual.book TQt Designer\endlink manual for more details. \caption From \l sql/overview/form1/main.cpp We include the header files for the widgets that we need. We also -include \c ntqsqldatabase.h and \c ntqsqlcursor.h as usual, but we now add -\c ntqsqlform.h. +include \c tqsqldatabase.h and \c tqsqlcursor.h as usual, but we now add +\c tqsqlform.h. The form will be presented as a dialog so we subclass \l QDialog with our own FormDialog class. We use a \l QLineEdit for the salary so that @@ -878,23 +878,23 @@ the user can change it. All the widgets are laid out using a grid. We create a cursor on the staff table, select all records and move to the first record. -Now we create a \l QSqlForm object and set the QSqlForm's record buffer +Now we create a \l TQSqlForm object and set the TQSqlForm's record buffer to the cursor's update buffer. For each widget that we wish to make data-aware we insert a pointer to the widget and the associated field -name into the \l QSqlForm. Finally we call readFields() to populate the +name into the \l TQSqlForm. Finally we call readFields() to populate the widgets with data from the database via the cursor's buffer. \target Displaying_a_Record_in_a_DataForm \section3 Displaying a Record in a Data Form -\l QDataView is a Widget that can hold a read-only \l QSqlForm. In -addition to \l QSqlForm it offers the slot refresh( \l QSqlRecord * ) so it -can easily be linked together with a \l QDataTable to display a detailed +\l TQDataView is a Widget that can hold a read-only \l TQSqlForm. In +addition to \l TQSqlForm it offers the slot refresh( \l TQSqlRecord * ) so it +can easily be linked together with a \l TQDataTable to display a detailed view of a record: \code - connect( myDataTable, TQ_SIGNAL( currentChanged( QSqlRecord* ) ), - myDataView, TQ_SLOT( refresh( QSqlRecord* ) ) ); + connect( myDataTable, TQ_SIGNAL( currentChanged( TQSqlRecord* ) ), + myDataView, TQ_SLOT( refresh( TQSqlRecord* ) ) ); \endcode \target Editing_a_Record @@ -910,8 +910,8 @@ differences. \caption From \l sql/overview/form2/main.h The save slot will be used for a button that the user can press to -confirm their update. We also hold pointers to the \l QSqlCursor and the -\l QSqlForm since they will need to be accessed outside the constructor. +confirm their update. We also hold pointers to the \l TQSqlCursor and the +\l TQSqlForm since they will need to be accessed outside the constructor. \quotefile sql/overview/form2/main.cpp \skipto setTrimmed @@ -946,14 +946,14 @@ We add an extra row to the grid containing the save button. \printline staffCursor \printuntil first -We create a \l QSqlIndex object and then execute a select() using the +We create a \l TQSqlIndex object and then execute a select() using the index. We then move to the first record in the result set. -\skipto new QSqlForm +\skipto new TQSqlForm \printline \printline -We create a new QSqlForm object and set it's record buffer to the +We create a new TQSqlForm object and set it's record buffer to the cursor's update buffer. \skipto insert @@ -968,7 +968,7 @@ populated by the readFields() call as before. \printline FormDialog:: \printuntil } -In the destructor we don't have to worry about the widgets or QSqlForm +In the destructor we don't have to worry about the widgets or TQSqlForm since they are children of the form and will be deleted by TQt at the right time. @@ -978,16 +978,16 @@ right time. Finally we add the save functionality for when the user presses the save button. We write back the data from the widgets to the \l -QSqlRecord buffer with the writeFields() call. Then we update the +TQSqlRecord buffer with the writeFields() call. Then we update the database with the updated version of the record with the cursor's update() function. At this point the cursor is no longer positioned at -a valid record so we reissue the select() call using our \l QSqlIndex +a valid record so we reissue the select() call using our \l TQSqlIndex and move to the first record. -QDataBrowser and QDataView are widgets which provide a great deal of -the above functionality. \l QDataBrowser provides a data form which +TQDataBrowser and TQDataView are widgets which provide a great deal of +the above functionality. \l TQDataBrowser provides a data form which allows editing of and navigation through a cursor's records. \l -QDataView provides a read only form for data in a cursor or database +TQDataView provides a read only form for data in a cursor or database record. See the class documentation or the \link designer-manual.book Qt Designer\endlink manual for more information on using these widgets. @@ -997,7 +997,7 @@ Link to \l sql/overview/form2/main.cpp \target Custom_Editor_Widgets \section2 Custom Editor Widgets -QSqlForm uses QSqlPropertyMap to handle the transfer of data between +TQSqlForm uses TQSqlPropertyMap to handle the transfer of data between widgets and database fields. Custom widgets can also be used in a form by installing a property map that contains information about the properties of the custom widget which should be used to transfer the @@ -1066,14 +1066,14 @@ Laying out the grid and setting up the cursor is the same as before. We create a new property map on the heap and register our CustomEdit class and its upperLine property with the property map. -\skipto QSqlForm -\printline QSqlForm +\skipto TQSqlForm +\printline TQSqlForm \printline \printline propMap -The final change is to install the property map into the QSqlForm once -the QSqlForm has been created. This passes responsibility for the -property map's memory to QSqlForm which itself is owned by the +The final change is to install the property map into the TQSqlForm once +the TQSqlForm has been created. This passes responsibility for the +property map's memory to TQSqlForm which itself is owned by the FormDialog, so TQt will delete them at the right time. The behaviour of this example is identical to the previous one except @@ -1083,9 +1083,9 @@ our CustomEdit widget. \target Custom_Editor_Widgets_for_Tables \section3 Custom Editor Widgets for Tables -We must reimpliment QSqlEditorFactory to use custom editor widgets in +We must reimpliment TQSqlEditorFactory to use custom editor widgets in tables. In the following example we will create a custom editor based -on QComboBox and a QSqlEditorFactory subclass to show how a QDataTable +on QComboBox and a TQSqlEditorFactory subclass to show how a TQDataTable can use a custom editor. \quotefile sql/overview/table3/main.h @@ -1103,7 +1103,7 @@ to/from the statusids that we will list in the combobox. \printline CustomSqlEditor \printuntil }; -We also need to subclass QSqlEditorFactory declaring a createEditor() +We also need to subclass TQSqlEditorFactory declaring a createEditor() function since that is the only function we need to reimplement. \quotefile sql/overview/table3/main.cpp @@ -1141,11 +1141,11 @@ the id parameter's value. If we have a match we set the combobox's current item to the index2id element's key (the combobox index), and leave the loop. -When the user edits the status field in the QDataTable they will be +When the user edits the status field in the TQDataTable they will be presented with a combobox of valid status names taken from the status table. However the status displayed is still the raw statusid. To display the status name when the field isn't being edited requires us -to subclass QDataTable and reimplement the paintField() function. +to subclass TQDataTable and reimplement the paintField() function. \quotefile sql/overview/table4/main.h \skipto CustomTable @@ -1153,25 +1153,25 @@ to subclass QDataTable and reimplement the paintField() function. \printuntil }; \caption From \l sql/overview/table4/main.h -We simply call the original QDataTable constructor without changing +We simply call the original TQDataTable constructor without changing anything. We also declare the paintField function. \quotefile sql/overview/table4/main.cpp \skipto CustomTable \printline CustomTable -\printuntil QDataTable +\printuntil TQDataTable \printline \caption From \l sql/overview/table4/main.cpp -The paintField code is based on QDataTable's source code. We need to +The paintField code is based on TQDataTable's source code. We need to make three changes. Firstly add an if clause \c{field->name() == "statusid"} and look up the textual value for the id with a -straighforward QSqlQuery. Secondly call the superclass to handle other +straighforward TQSqlQuery. Secondly call the superclass to handle other fields. The last change is in our main function where we change -staffTable from being a QDataTable to being a CustomTable. +staffTable from being a TQDataTable to being a CustomTable. \target Subclassing_QSqlCursor -\section1 Subclassing QSqlCursor +\section1 Subclassing TQSqlCursor \quotefile sql/overview/subclass1/main.cpp \skipto include @@ -1181,7 +1181,7 @@ staffTable from being a QDataTable to being a CustomTable. \caption From \l sql/overview/subclass1/main.cpp This example is very similar to the table1 example presented earlier. We -create a cursor, add the fields and their display labels to a QDataTable, +create a cursor, add the fields and their display labels to a TQDataTable, call refresh() to load the data and call show() to show the widget. Unfortunately this example is unsatisfactory. It is tedious to set the @@ -1199,7 +1199,7 @@ the values when the user adds a new record. \printuntil }; \caption From \l sql/overview/subclass2/main.h -We have created a separate header file and subclassed QSqlCursor. +We have created a separate header file and subclassed TQSqlCursor. \quotefile sql/overview/subclass2/main.cpp \skipto InvoiceItem @@ -1207,7 +1207,7 @@ We have created a separate header file and subclassed QSqlCursor. \printuntil } \caption From \l sql/overview/subclass2/main.cpp -In our class's constructor we call the QSqlCursor constructor with the +In our class's constructor we call the TQSqlCursor constructor with the name of the table. We don't have any other characteristics to add at this stage. @@ -1215,7 +1215,7 @@ this stage. \printline InvoiceItemCursor Whenever we require a cursor over the invoiceitem table we can create -an InvoiceItemCursor instead of a generic QSqlCursor. +an InvoiceItemCursor instead of a generic TQSqlCursor. We still need to show the product name rather than the pricesid. @@ -1236,7 +1236,7 @@ of the calculateField() function since we will be reimplementing it. \caption From \l sql/overview/subclass3/main.cpp We have changed the InvoiceItemCursor constructor. We now create a new -QSqlField called productname and append this to the +TQSqlField called productname and append this to the InvoiceItemCursor's set of fields. We call setCalculated() on productname to identify it as a calculated field. The first argument to setCalculated() is the field name, the second a bool which if TRUE diff --git a/doc/threads.doc b/doc/threads.doc index bb50d93bb..358727469 100644 --- a/doc/threads.doc +++ b/doc/threads.doc @@ -312,7 +312,7 @@ A connection can only be used from within the thread that created it. Moving connections between threads or creating queries from a different thread is not supported. -In addition, the third party libraries used by the QSqlDrivers can impose +In addition, the third party libraries used by the TQSqlDrivers can impose further restrictions on using the SQL Module in a multithreaded program. Consult the manual of your database client for more information. |