diff options
Diffstat (limited to 'doc/man/man3/tqsqleditorfactory.3qt')
| -rw-r--r-- | doc/man/man3/tqsqleditorfactory.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqsqleditorfactory.3qt b/doc/man/man3/tqsqleditorfactory.3qt index c468c09f9..feb471f0f 100644 --- a/doc/man/man3/tqsqleditorfactory.3qt +++ b/doc/man/man3/tqsqleditorfactory.3qt @@ -22,7 +22,7 @@ Inherits TQEditorFactory. .BI "\fB~TQSqlEditorFactory\fR ()" .br .ti -1c -.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QVariant & variant )" +.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const TQVariant & variant )" .br .ti -1c .BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const TQSqlField * field )" @@ -40,7 +40,7 @@ Inherits TQEditorFactory. .SH DESCRIPTION The TQSqlEditorFactory class is used to create the editors used by TQDataTable and TQSqlForm. .PP -TQSqlEditorFactory is used by TQDataTable and TQSqlForm to automatically create appropriate editors for a given TQSqlField. For example if the field is a QVariant::String a TQLineEdit would be the default editor, whereas a QVariant::Int's default editor would be a TQSpinBox. +TQSqlEditorFactory is used by TQDataTable and TQSqlForm to automatically create appropriate editors for a given TQSqlField. For example if the field is a TQVariant::String a TQLineEdit would be the default editor, whereas a TQVariant::Int's default editor would be a TQSpinBox. .PP If you want to create different editors for fields with the same data type, subclass TQSqlEditorFactory and reimplement the createEditor() function. .PP @@ -50,8 +50,8 @@ See also TQDataTable, TQSqlForm, and Database Classes. Constructs a SQL editor factory with parent \fIparent\fR, called \fIname\fR. .SH "TQSqlEditorFactory::~TQSqlEditorFactory ()" Destroys the object and frees any allocated resources. -.SH "TQWidget * TQSqlEditorFactory::createEditor ( TQWidget * parent, const QVariant & variant )\fC [virtual]\fR" -Creates and returns the appropriate editor widget for the QVariant \fIvariant\fR. +.SH "TQWidget * TQSqlEditorFactory::createEditor ( TQWidget * parent, const TQVariant & variant )\fC [virtual]\fR" +Creates and returns the appropriate editor widget for the TQVariant \fIvariant\fR. .PP The widget that is returned has the parent \fIparent\fR (which may be zero). If \fIvariant\fR is invalid, 0 is returned. .PP |
