diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/tqdatatable.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqdatatable.html')
-rw-r--r-- | doc/html/tqdatatable.html | 44 |
1 files changed, 22 insertions, 22 deletions
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 <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 with <a href="#installPropertyMap">installPropertyMap</a>(). -<p> The contents of a cell is available as a <a href="ntqstring.html">TQString</a> with <a href="#text">text</a>() or as +<p> The contents of a cell is available as a <a href="tqstring.html">TQString</a> with <a href="#text">text</a>() or as a <a href="ntqvariant.html">TQVariant</a> with <a href="#value">value</a>(). The current record is returned by <a href="#currentRecord">currentRecord</a>(). Use the <a href="#find">find</a>() function to search for a string in the table. @@ -256,7 +256,7 @@ representing NULL values as strings. </h3> Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="addColumn"></a>TQDataTable::addColumn ( 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 class=fn>void <a name="addColumn"></a>TQDataTable::addColumn ( const <a href="tqstring.html">TQString</a> & fieldName, const <a href="tqstring.html">TQString</a> & label = TQString::null, int width = -1, const <a href="ntqiconset.html">TQIconSet</a> & iconset = TQIconSet ( ) )<tt> [virtual]</tt> </h3> Adds the next column to be displayed using the field <em>fieldName</em>, column label <em>label</em>, width <em>width</em> and iconset <em>iconset</em>. @@ -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. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="falseText"></a>TQDataTable::falseText () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="falseText"></a>TQDataTable::falseText () const </h3><p>Returns the text used to represent false values. 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 class=fn><a href="tqstring.html">TQString</a> <a name="filter"></a>TQDataTable::filter () const </h3><p>Returns the data filter for the data table. 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 class=fn>void <a name="find"></a>TQDataTable::find ( const <a href="tqstring.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 backwards if <em>backwards</em> 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. <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 class=fn><a href="tqstring.html">TQString</a> <a name="nullText"></a>TQDataTable::nullText () const </h3><p>Returns the text used to represent NULL values. 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> @@ -544,7 +544,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="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 class=fn>void <a name="setColumn"></a>TQDataTable::setColumn ( uint col, const <a href="tqstring.html">TQString</a> & fieldName, const <a href="tqstring.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>, column label <em>label</em>, width <em>width</em> and iconset <em>iconset</em>. @@ -581,13 +581,13 @@ See the <a href="tqdatatable.html#confirmUpdate-prop">"confirmUpdate"</a> proper <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="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 class=fn>void <a name="setFalseText"></a>TQDataTable::setFalseText ( const <a href="tqstring.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="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 class=fn>void <a name="setFilter"></a>TQDataTable::setFilter ( const <a href="tqstring.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="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 class=fn>void <a name="setNullText"></a>TQDataTable::setNullText ( const <a href="tqstring.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="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> @@ -598,7 +598,7 @@ table dynamically resizes itself as it is scrolled. If <em>sql</em> is not active, it is made active by issuing a select() on the cursor 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 class=fn>void <a name="setSort"></a>TQDataTable::setSort ( const <a href="tqstringlist.html">TQStringList</a> & sort )<tt> [virtual]</tt> </h3><p>Sets the data table's sort to <em>sort</em>. 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> @@ -621,10 +621,10 @@ 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="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 class=fn>void <a name="setTrueText"></a>TQDataTable::setTrueText ( const <a href="tqstring.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="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 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="sort"></a>TQDataTable::sort () const </h3><p>Returns the data table's sort. 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> @@ -649,15 +649,15 @@ Sorts column <em>col</em> in descending order. </h3> Returns the cursor used by the data table. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQDataTable::text ( int row, int col ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQDataTable::text ( int row, int col ) const<tt> [virtual]</tt> </h3> Returns the text in cell <em>row</em>, <em>col</em>, or an empty string if the cell is empty. If the cell's value is NULL then <a href="#nullText">nullText</a>() will be -returned. If the cell does not exist then <a href="ntqstring.html#TQString-null">TQString::null</a> is +returned. If the cell does not exist then <a href="tqstring.html#TQString-null">TQString::null</a> is 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 class=fn><a href="tqstring.html">TQString</a> <a name="trueText"></a>TQDataTable::trueText () const </h3><p>Returns the text used to represent true values. 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> @@ -738,13 +738,13 @@ update operations occur immediately. the table. The default value is <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a>. <p>Set this property's value with <a href="#setDateFormat">setDateFormat</a>() and get this property's value with <a href="#dateFormat">dateFormat</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="falseText-prop"></a>falseText</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="falseText-prop"></a>falseText</h3> <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="#setFalseText">setFalseText</a>() and get this property's value with <a href="#falseText">falseText</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="filter-prop"></a>filter</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="filter-prop"></a>filter</h3> <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="#refresh">refresh</a>(). A filter string is an SQL WHERE @@ -754,7 +754,7 @@ clause without the WHERE keyword. <p> <p>Set this property's value with <a href="#setFilter">setFilter</a>() and get this property's value with <a href="#filter">filter</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="nullText-prop"></a>nullText</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="nullText-prop"></a>nullText</h3> <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. @@ -768,7 +768,7 @@ table. The default value is provided by the cursor's driver. <p>This property holds the number of rows in the table. <p> <p>Get this property's value with <a href="#numRows">numRows</a>(). -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="sort-prop"></a>sort</h3> +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="sort-prop"></a>sort</h3> <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="#refresh">refresh</a>(). @@ -779,7 +779,7 @@ each item having the form 'fieldname order' (e.g., 'id ASC', <p> Note that if you want to iterate over the sort list, you should iterate over a copy, e.g. <pre> - <a href="ntqstringlist.html">TQStringList</a> list = myDataTable.sort(); + <a href="tqstringlist.html">TQStringList</a> list = myDataTable.sort(); TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); @@ -790,7 +790,7 @@ iterate over a copy, e.g. <p> <p>See also <a href="#filter-prop">filter</a> and <a href="#refresh">refresh</a>(). <p>Set this property's value with <a href="#setSort">setSort</a>() and get this property's value with <a href="#sort">sort</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="trueText-prop"></a>trueText</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="trueText-prop"></a>trueText</h3> <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". |