summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsqlcursor.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqsqlcursor.3qt')
-rw-r--r--doc/man/man3/tqsqlcursor.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqsqlcursor.3qt b/doc/man/man3/tqsqlcursor.3qt
index d111c604..9a243f91 100644
--- a/doc/man/man3/tqsqlcursor.3qt
+++ b/doc/man/man3/tqsqlcursor.3qt
@@ -156,7 +156,7 @@ Inherited by TQSqlSelectCursor.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "virtual QVariant \fBcalculateField\fR ( const TQString & name )"
+.BI "virtual TQVariant \fBcalculateField\fR ( const TQString & name )"
.br
.ti -1c
.BI "virtual int \fBupdate\fR ( const TQString & filter, bool invalidate = TRUE )"
@@ -272,8 +272,8 @@ Constructs a copy of \fIother\fR.
Destroys the object and frees any allocated resources.
.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 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.
+.SH "TQVariant 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 TQVariant.
.PP
See also setCalculated().
.PP
@@ -521,7 +521,7 @@ Selects all fields in the cursor matching the filter index \fIfilter\fR. The dat
.PP
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.
+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 TQVariant). Calculated fields do not appear in generated SQL statements sent to the database.
.PP
See also calculateField() and TQSqlRecord::setGenerated().
.SH "void TQSqlCursor::setFilter ( const TQString & filter )\fC [virtual]\fR"
@@ -574,7 +574,7 @@ Sets field \fIname\fR's trimmed status to \fItrim\fR. If the field \fIname\fR do
.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.
+See also isTrimmed() and TQVariant.
.SH "TQSqlIndex TQSqlCursor::sort () const"
Returns the current sort, or an empty index if there is no current sort.
.SH "TQString TQSqlCursor::toString ( TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR"