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/tqdatatable.html | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'doc/html/tqdatatable.html') diff --git a/doc/html/tqdatatable.html b/doc/html/tqdatatable.html index 85f97277c..3cfa552b1 100644 --- a/doc/html/tqdatatable.html +++ b/doc/html/tqdatatable.html @@ -192,7 +192,7 @@ 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(). -

The contents of a cell is available as a TQString with text() or as +

The contents of a cell is available as a TQString with text() or as a TQVariant with value(). The current record is returned by currentRecord(). Use the find() function to search for a string in the table. @@ -256,7 +256,7 @@ representing NULL values as strings. Destroys the object and frees any allocated resources. -

void TQDataTable::addColumn ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) ) [virtual] +

void TQDataTable::addColumn ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) ) [virtual]

Adds the next column to be displayed using the field fieldName, column label label, width width and iconset iconset. @@ -397,17 +397,17 @@ delete succeeded; otherwise FALSE. that a unique record is deleted within the database otherwise the database may be changed to an inconsistent state. -

TQString TQDataTable::falseText () const +

TQString TQDataTable::falseText () const

Returns the text used to represent false values. See the "falseText" property for details.

int TQDataTable::fieldAlignment ( const TQSqlField * field ) [virtual protected]

Returns the alignment for field. -

TQString TQDataTable::filter () const +

TQString TQDataTable::filter () const

Returns the data filter for the data table. See the "filter" property for details. -

void TQDataTable::find ( const TQString & str, bool caseSensitive, bool backwards ) [virtual slot] +

void TQDataTable::find ( const TQString & str, bool caseSensitive, bool backwards ) [virtual slot]

Searches the current cursor for a cell containing the string str starting at the current cell and working forwards (or backwards if backwards is TRUE). If the string is found, the @@ -460,7 +460,7 @@ delete it when it is no longer needed or when installPropertMap() is called again.

See also TQSqlPropertyMap. -

TQString TQDataTable::nullText () const +

TQString TQDataTable::nullText () const

Returns the text used to represent NULL values. See the "nullText" property for details.

int TQDataTable::numCols () const [virtual] @@ -544,7 +544,7 @@ will not be deleted.

void TQDataTable::setAutoEdit ( bool autoEdit ) [virtual]

Sets whether the data table automatically applies edits to autoEdit. See the "autoEdit" property for details. -

void TQDataTable::setColumn ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) ) [virtual] +

void TQDataTable::setColumn ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) ) [virtual]

Sets the col column to display using the field fieldName, column label label, width width and iconset iconset. @@ -581,13 +581,13 @@ See the "confirmUpdate" proper

void TQDataTable::setDateFormat ( const DateFormat f ) [virtual]

Sets the format used for displaying date/time values to f. See the "dateFormat" property for details. -

void TQDataTable::setFalseText ( const TQString & falseText ) [virtual] +

void TQDataTable::setFalseText ( const TQString & falseText ) [virtual]

Sets the text used to represent false values to falseText. See the "falseText" property for details. -

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

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

Sets the data filter for the data table to filter. See the "filter" property for details. -

void TQDataTable::setNullText ( const TQString & nullText ) [virtual] +

void TQDataTable::setNullText ( const TQString & nullText ) [virtual]

Sets the text used to represent NULL values to nullText. See the "nullText" property for details.

void TQDataTable::setSize ( TQSqlCursor * sql ) [protected] @@ -598,7 +598,7 @@ table dynamically resizes itself as it is scrolled. If sql is not active, it is made active by issuing a select() on the cursor using the sql cursor's current filter and current sort. -

void TQDataTable::setSort ( const TQStringList & sort ) [virtual] +

void TQDataTable::setSort ( const TQStringList & sort ) [virtual]

Sets the data table's sort to sort. See the "sort" property for details.

void TQDataTable::setSort ( const TQSqlIndex & sort ) [virtual] @@ -621,10 +621,10 @@ table becomes read-only. The table adopts the cursor's driver's definition for representing NULL values as strings.

See also refresh(), readOnly, setAutoDelete(), and TQSqlDriver::nullText(). -

void TQDataTable::setTrueText ( const TQString & trueText ) [virtual] +

void TQDataTable::setTrueText ( const TQString & trueText ) [virtual]

Sets the text used to represent true values to trueText. See the "trueText" property for details. -

TQStringList TQDataTable::sort () const +

TQStringList TQDataTable::sort () const

Returns the data table's sort. See the "sort" property for details.

void TQDataTable::sortAscending ( int col ) [virtual slot] @@ -649,15 +649,15 @@ Sorts column col in descending order.

Returns the cursor used by the data table. -

TQString TQDataTable::text ( int row, int col ) const [virtual] +

TQString TQDataTable::text ( int row, int col ) const [virtual]

Returns the text in cell row, col, 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. If the cell does not exist then TQString::null is returned.

Reimplemented from TQTable. -

TQString TQDataTable::trueText () const +

TQString TQDataTable::trueText () const

Returns the text used to represent true values. See the "trueText" property for details.

bool TQDataTable::updateCurrent () [virtual protected] @@ -738,13 +738,13 @@ update operations occur immediately. the table. The default value is TQt::LocalDate.

Set this property's value with setDateFormat() and get this property's value with dateFormat(). -

TQString falseText

+

TQString falseText

This property holds the text used to represent false values.

The falseText property will be used to represent NULL values in the table. The default value is "False".

Set this property's value with setFalseText() and get this property's value with falseText(). -

TQString filter

+

TQString filter

This property holds the data filter for the data table.

The filter applies to the data shown in the table. To view data with a new filter, use refresh(). A filter string is an SQL WHERE @@ -754,7 +754,7 @@ clause without the WHERE keyword.

Set this property's value with setFilter() and get this property's value with filter(). -

TQString nullText

+

TQString nullText

This property holds the text used to represent NULL values.

The nullText property will be used to represent NULL values in the table. The default value is provided by the cursor's driver. @@ -768,7 +768,7 @@ table. The default value is provided by the cursor's driver.

This property holds the number of rows in the table.

Get this property's value with numRows(). -

TQStringList sort

+

TQStringList sort

This property holds the data table's sort.

The table's sort affects the order in which data records are displayed in the table. To apply a sort, use refresh(). @@ -779,7 +779,7 @@ each item having the form 'fieldname order' (e.g., 'id ASC',

Note that if you want to iterate over the sort list, you should iterate over a copy, e.g.

-    TQStringList list = myDataTable.sort();
+    TQStringList list = myDataTable.sort();
     TQStringList::Iterator it = list.begin();
     while( it != list.end() ) {
         myProcessing( *it );
@@ -790,7 +790,7 @@ iterate over a copy, e.g.
 

See also filter and refresh().

Set this property's value with setSort() and get this property's value with sort(). -

TQString trueText

+

TQString trueText

This property holds the text used to represent true values.

The trueText property will be used to represent NULL values in the table. The default value is "True". -- cgit v1.2.3