From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tqsqlcursor.html | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'doc/html/tqsqlcursor.html') diff --git a/doc/html/tqsqlcursor.html b/doc/html/tqsqlcursor.html index 30a9ca993..e10c52c05 100644 --- a/doc/html/tqsqlcursor.html +++ b/doc/html/tqsqlcursor.html @@ -220,7 +220,7 @@ database. in the database.

Member Function Documentation

-

TQSqlCursor::TQSqlCursor ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 ) +

TQSqlCursor::TQSqlCursor ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )

Constructs a cursor on database db using table or view name.

If autopopulate is TRUE (the default), the name of the @@ -251,7 +251,7 @@ Destroys the object and frees any allocated resources. Append a copy of field fieldInfo to the end of the cursor. Note that all references to the cursor edit buffer become invalidated. -

TQVariant TQSqlCursor::calculateField ( const TQString & name ) [virtual protected] +

TQVariant TQSqlCursor::calculateField ( const TQString & name ) [virtual protected]

Protected virtual function which is called whenever a field needs to be calculated. If calculated fields are being used, derived @@ -315,7 +315,7 @@ cursor edit buffer and not on the contents of the cursor itself.

See also primeDelete(), setMode(), and lastError().

Example: sql/overview/delete/main.cpp. -

int TQSqlCursor::del ( const TQString & filter, bool invalidate = TRUE ) [virtual protected] +

int TQSqlCursor::del ( const TQString & filter, bool invalidate = TRUE ) [virtual protected]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Deletes the current cursor record from the database using the @@ -335,12 +335,12 @@ the cursor remains valid. The cursor retains ownership of the returned pointer, so it must not be deleted or modified.

See also primeInsert(), primeUpdate(), and primeDelete(). -

TQString TQSqlCursor::filter () const +

TQString TQSqlCursor::filter () const

Returns the current filter, or an empty string if there is no current filter. -

TQSqlIndex TQSqlCursor::index ( const TQStringList & fieldNames ) const [virtual] +

TQSqlIndex TQSqlCursor::index ( const TQStringList & fieldNames ) const [virtual]

Returns an index composed of fieldNames, all in ASCending order. Note that all field names must exist in the cursor, @@ -348,7 +348,7 @@ otherwise an empty index is returned.

See also TQSqlIndex.

Examples: sql/overview/extract/main.cpp, sql/overview/order1/main.cpp, sql/overview/order2/main.cpp, and sql/overview/table3/main.cpp. -

TQSqlIndex TQSqlCursor::index ( const TQString & fieldName ) const +

TQSqlIndex TQSqlCursor::index ( const TQString & fieldName ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns an index based on fieldName. @@ -394,7 +394,7 @@ contents of the cursor edit buffer and not on the contents of the cursor itself.

See also setMode() and lastError(). -

bool TQSqlCursor::isCalculated ( const TQString & name ) const +

bool TQSqlCursor::isCalculated ( const TQString & name ) const

Returns TRUE if the field name exists and is calculated; otherwise returns FALSE. @@ -406,7 +406,7 @@ Returns TRUE if the field i is NULL or if there is no field at position i; otherwise returns FALSE.

This is the same as calling TQSqlRecord::isNull( i ) -

bool TQSqlCursor::isNull ( const TQString & name ) const +

bool TQSqlCursor::isNull ( const TQString & name ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns TRUE if the field called name is NULL or if there is no @@ -420,7 +420,7 @@ The default is FALSE. Read-only cursors cannot be edited using insert(), update() or del().

See also setMode(). -

bool TQSqlCursor::isTrimmed ( const TQString & name ) const +

bool TQSqlCursor::isTrimmed ( const TQString & name ) const

Returns TRUE if the field name exists and is trimmed; otherwise returns FALSE. @@ -433,7 +433,7 @@ database any trailing (right-most) spaces are removed. Returns the current cursor mode.

See also setMode(). -

TQString TQSqlCursor::name () const +

TQString TQSqlCursor::name () const

Returns the name of the cursor. @@ -487,7 +487,7 @@ happens. Note that all references to the cursor edit buffer become invalidated.

Reimplemented from TQSqlRecord. -

bool TQSqlCursor::select ( const TQString & filter, const TQSqlIndex & sort = TQSqlIndex ( ) ) [virtual] +

bool TQSqlCursor::select ( const TQString & filter, const TQSqlIndex & sort = TQSqlIndex ( ) ) [virtual]

Selects all fields in the cursor from the database matching the filter criteria filter. The data is returned in the order @@ -579,7 +579,7 @@ to the current cursor value, WHERE id=10, in this case. When used as the sort (second) argument the field names it contains are used for the ORDER BY clause, ORDER BY id in this example. -

void TQSqlCursor::setCalculated ( const TQString & name, bool calculated ) [virtual] +

void TQSqlCursor::setCalculated ( const TQString & name, bool calculated ) [virtual]

Sets field name to calculated. If the field name does not exist, nothing happens. The value of a calculated field is set by @@ -589,7 +589,7 @@ fields do not appear in generated SQL statements sent to the database.

See also calculateField() and TQSqlRecord::setGenerated(). -

void TQSqlCursor::setFilter ( const TQString & filter ) [virtual] +

void TQSqlCursor::setFilter ( const TQString & filter ) [virtual]

Sets the current filter to filter. Note that no new records are selected. To select new records, use select(). The filter will @@ -598,7 +598,7 @@ specify a filter.

The filter is a SQL WHERE clause without the keyword 'WHERE', e.g. name='Dave' which will be processed by the DBMS. -

void TQSqlCursor::setGenerated ( const TQString & name, bool generated ) [virtual] +

void TQSqlCursor::setGenerated ( const TQString & name, bool generated ) [virtual]

Sets the generated flag for the field name to generated. If the field does not exist, nothing happens. Only fields that have @@ -630,7 +630,7 @@ cursor is TQSqlCursor::Writable. -

void TQSqlCursor::setName ( const TQString & name, bool autopopulate = TRUE ) [virtual] +

void TQSqlCursor::setName ( const TQString & name, bool autopopulate = TRUE ) [virtual]

Sets the name of the cursor to name. If autopopulate is TRUE (the default), the name must correspond to a valid table or @@ -653,7 +653,7 @@ selected. To select new records, use select(). The sor apply to any subsequent select() calls that do not explicitly specify a sort. -

void TQSqlCursor::setTrimmed ( const TQString & name, bool trim ) [virtual] +

void TQSqlCursor::setTrimmed ( const TQString & name, bool trim ) [virtual]

Sets field name's trimmed status to trim. If the field name does not exist, nothing happens.

When a trimmed field of type string or cstring is read from the @@ -665,7 +665,7 @@ database any trailing (right-most) spaces are removed. Returns the current sort, or an empty index if there is no current sort. -

TQString TQSqlCursor::toString ( TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const [virtual protected] +

TQString TQSqlCursor::toString ( TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const [virtual protected]

Returns a formatted string composed of all the fields in rec. Each field is composed of the prefix (e.g. table or view name), @@ -675,7 +675,7 @@ The fields are then joined together separated by sep. Fields where isGenerated() returns FALSE are not included. This function is useful for generating SQL statements. -

TQString TQSqlCursor::toString ( const TQString & prefix, TQSqlField * field, const TQString & fieldSep ) const [virtual protected] +

TQString TQSqlCursor::toString ( const TQString & prefix, TQSqlField * field, const TQString & fieldSep ) const [virtual protected]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns a formatted string composed of the prefix (e.g. table @@ -684,7 +684,7 @@ field value. If the prefix is empty then the string will begin with the field name. This function is useful for generating SQL statements. -

TQString TQSqlCursor::toString ( const TQSqlIndex & i, TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const [virtual protected] +

TQString TQSqlCursor::toString ( const TQSqlIndex & i, TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const [virtual protected]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns a formatted string composed of all the fields in the index @@ -734,7 +734,7 @@ records the database may be changed into an inconsistent state.

See also setMode() and lastError().

Example: sql/overview/update/main.cpp. -

int TQSqlCursor::update ( const TQString & filter, bool invalidate = TRUE ) [virtual protected] +

int TQSqlCursor::update ( const TQString & filter, bool invalidate = TRUE ) [virtual protected]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Updates the database with the current contents of the cursor edit -- cgit v1.2.3