summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdatatable.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqdatatable.3qt')
-rw-r--r--doc/man/man3/tqdatatable.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt
index b42c75c6f..fc0da29d5 100644
--- a/doc/man/man3/tqdatatable.3qt
+++ b/doc/man/man3/tqdatatable.3qt
@@ -11,7 +11,7 @@ TQDataTable \- Flexible SQL table widget that supports browsing and editing
.SH SYNOPSIS
\fC#include <tqdatatable.h>\fR
.PP
-Inherits QTable.
+Inherits TQTable.
.PP
.SS "Public Members"
.in +1c
@@ -295,7 +295,7 @@ If you want a to present your data in a form use TQDataBrowser, or for read-only
.PP
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
-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().
+TQDataTable inherits TQTable'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 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
@@ -350,7 +350,7 @@ Examples:
.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.
+Reimplemented from TQTable.
.SH "bool TQDataTable::autoDelete () const"
Returns TRUE if the table will automatically delete the cursor specified by setSqlCursor(); otherwise returns FALSE.
.SH "bool TQDataTable::autoEdit () const"
@@ -374,7 +374,7 @@ 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 TQDataTable.
.PP
-(\fIreplace\fR is provided for reimplementors and reflects the API of QTable::beginEdit().)
+(\fIreplace\fR is provided for reimplementors and reflects the API of TQTable::beginEdit().)
.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 TQDataTable::confirmCancels () const"
@@ -432,11 +432,11 @@ Returns the text used to represent NULL values. See the "nullText" property for
.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.
+Reimplemented from TQTable.
.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.
+Reimplemented from TQTable.
.SH "void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const TQRect & 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
@@ -479,11 +479,11 @@ If \fIlabel\fR is specified, it is used as the column's header label, otherwise
.PP
See also setSqlCursor() and refresh().
.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.
+Sets the column \fIcol\fR to the width \fIw\fR. Note that unlike TQTable the TQDataTable is not immediately redrawn, you must call refresh(TQDataTable::RefreshColumns) yourself.
.PP
See also refresh().
.PP
-Reimplemented from QTable.
+Reimplemented from TQTable.
.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 TQDataTable::setConfirmDelete ( bool confirm )\fC [virtual]\fR"
@@ -529,7 +529,7 @@ Sorts column \fIcol\fR in ascending order if \fIascending\fR is TRUE (the defaul
.PP
The \fIwholeRows\fR parameter is ignored; TQDataTable always sorts whole rows by the specified column.
.PP
-Reimplemented from QTable.
+Reimplemented from TQTable.
.SH "void TQDataTable::sortDescending ( int col )\fC [virtual slot]\fR"
Sorts column \fIcol\fR in descending order.
.PP
@@ -539,7 +539,7 @@ Returns the cursor used by the data table.
.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.
+Reimplemented from TQTable.
.SH "TQString TQDataTable::trueText () const"
Returns the text used to represent true values. See the "trueText" property for details.
.SH "bool TQDataTable::updateCurrent ()\fC [virtual protected]\fR"