summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdataview.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqdataview.3qt')
-rw-r--r--doc/man/man3/tqdataview.3qt48
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/man/man3/tqdataview.3qt b/doc/man/man3/tqdataview.3qt
index ea1a3d410..1608c79f6 100644
--- a/doc/man/man3/tqdataview.3qt
+++ b/doc/man/man3/tqdataview.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QDataView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQDataView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,9 +7,9 @@
.ad l
.nh
.SH NAME
-QDataView \- Read-only SQL forms
+TQDataView \- Read-only SQL forms
.SH SYNOPSIS
-\fC#include <ntqdataview.h>\fR
+\fC#include <tqdataview.h>\fR
.PP
Inherits TQWidget.
.PP
@@ -19,25 +19,25 @@ Inherits TQWidget.
.BI "\fBQDataView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )"
.br
.ti -1c
-.BI "\fB~QDataView\fR ()"
+.BI "\fB~TQDataView\fR ()"
.br
.ti -1c
-.BI "virtual void \fBsetForm\fR ( QSqlForm * form )"
+.BI "virtual void \fBsetForm\fR ( TQSqlForm * form )"
.br
.ti -1c
-.BI "QSqlForm * \fBform\fR ()"
+.BI "TQSqlForm * \fBform\fR ()"
.br
.ti -1c
-.BI "virtual void \fBsetRecord\fR ( QSqlRecord * record )"
+.BI "virtual void \fBsetRecord\fR ( TQSqlRecord * record )"
.br
.ti -1c
-.BI "QSqlRecord * \fBrecord\fR ()"
+.BI "TQSqlRecord * \fBrecord\fR ()"
.br
.in -1c
.SS "Public Slots"
.in +1c
.ti -1c
-.BI "virtual void \fBrefresh\fR ( QSqlRecord * buf )"
+.BI "virtual void \fBrefresh\fR ( TQSqlRecord * buf )"
.br
.ti -1c
.BI "virtual void \fBreadFields\fR ()"
@@ -50,35 +50,35 @@ Inherits TQWidget.
.br
.in -1c
.SH DESCRIPTION
-The QDataView class provides read-only SQL forms.
+The TQDataView class provides read-only SQL forms.
.PP
-This class provides a form which displays SQL field data from a record buffer. Because QDataView does not support editing it uses less resources than a QDataBrowser. This class is well suited for displaying read-only data from a SQL database.
+This class provides a form which displays SQL field data from a record buffer. Because TQDataView does not support editing it uses less resources than a TQDataBrowser. This class is well suited for displaying read-only data from a SQL database.
.PP
-If you want a to present your data in an editable form use QDataBrowser; if you want a table-based presentation of your data use QDataTable.
+If you want a to present your data in an editable form use TQDataBrowser; if you want a table-based presentation of your data use TQDataTable.
.PP
-The form is associated with the data view with setForm() and the record is associated with setRecord(). You can also pass a QSqlRecord to the refresh() function which will set the record to the given record and read the record's fields into the form.
+The form is associated with the data view with setForm() and the record is associated with setRecord(). You can also pass a TQSqlRecord to the refresh() function which will set the record to the given record and read the record's fields into the form.
.PP
See also Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QDataView::QDataView ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )"
+.SH "TQDataView::TQDataView ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )"
Constructs a data view which is a child of \fIparent\fR, called \fIname\fR, and with widget flags \fIfl\fR.
-.SH "QDataView::~QDataView ()"
+.SH "TQDataView::~TQDataView ()"
Destroys the object and frees any allocated resources.
-.SH "void QDataView::clearValues ()\fC [virtual slot]\fR"
+.SH "void TQDataView::clearValues ()\fC [virtual slot]\fR"
Clears the default form's values. If there is no default form, nothing happens. All the values are set to their 'zero state', e.g. 0 for numeric fields, "" for string fields.
-.SH "QSqlForm * QDataView::form ()"
+.SH "TQSqlForm * TQDataView::form ()"
Returns the default form used by the data view, or 0 if there is none.
.PP
See also setForm().
-.SH "void QDataView::readFields ()\fC [virtual slot]\fR"
+.SH "void TQDataView::readFields ()\fC [virtual slot]\fR"
Causes the default form to read its fields from the record buffer. If there is no default form, or no record, nothing happens.
.PP
See also setForm().
-.SH "QSqlRecord * QDataView::record ()"
+.SH "TQSqlRecord * TQDataView::record ()"
Returns the default record used by the data view, or 0 if there is none.
.PP
See also setRecord().
-.SH "void QDataView::refresh ( QSqlRecord * buf )\fC [virtual slot]\fR"
+.SH "void TQDataView::refresh ( TQSqlRecord * buf )\fC [virtual slot]\fR"
Causes the default form to display the contents of \fIbuf\fR. If there is no default form, nothing happens.The \fIbuf\fR also becomes the default record for all subsequent calls to readFields() and writefields(). This slot is equivalant to calling:
.PP
.nf
@@ -90,21 +90,21 @@ Causes the default form to display the contents of \fIbuf\fR. If there is no def
.fi
.PP
See also setRecord() and readFields().
-.SH "void QDataView::setForm ( QSqlForm * form )\fC [virtual]\fR"
+.SH "void TQDataView::setForm ( TQSqlForm * form )\fC [virtual]\fR"
Sets the form used by the data view to \fIform\fR. If a record has already been assigned to the data view, the form will display that record's data.
.PP
See also form().
-.SH "void QDataView::setRecord ( QSqlRecord * record )\fC [virtual]\fR"
+.SH "void TQDataView::setRecord ( TQSqlRecord * record )\fC [virtual]\fR"
Sets the record used by the data view to \fIrecord\fR. If a form has already been assigned to the data view, the form will display the data from \fIrecord\fR in that form.
.PP
See also record().
-.SH "void QDataView::writeFields ()\fC [virtual slot]\fR"
+.SH "void TQDataView::writeFields ()\fC [virtual slot]\fR"
Causes the default form to write its fields to the record buffer. If there is no default form, or no record, nothing happens.
.PP
See also setForm().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqdataview.html
+.BR http://doc.trolltech.com/tqdataview.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the