diff options
Diffstat (limited to 'doc/man/man3/tqeditorfactory.3qt')
-rw-r--r-- | doc/man/man3/tqeditorfactory.3qt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqeditorfactory.3qt b/doc/man/man3/tqeditorfactory.3qt index d12ea7334..418e01471 100644 --- a/doc/man/man3/tqeditorfactory.3qt +++ b/doc/man/man3/tqeditorfactory.3qt @@ -7,7 +7,7 @@ .ad l .nh .SH NAME -TQEditorFactory \- Used to create editor widgets for QVariant data types +TQEditorFactory \- Used to create editor widgets for TQVariant data types .SH SYNOPSIS \fC#include <tqeditorfactory.h>\fR .PP @@ -24,7 +24,7 @@ Inherited by TQSqlEditorFactory. .BI "\fB~TQEditorFactory\fR ()" .br .ti -1c -.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QVariant & v )" +.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const TQVariant & v )" .br .in -1c .SS "Static Public Members" @@ -37,9 +37,9 @@ Inherited by TQSqlEditorFactory. .br .in -1c .SH DESCRIPTION -The TQEditorFactory class is used to create editor widgets for QVariant data types. +The TQEditorFactory class is used to create editor widgets for TQVariant data types. .PP -Each editor factory provides the createEditor() function which given a QVariant will create and return a TQWidget that can edit that QVariant. For example if you have a QVariant::String type, a TQLineEdit would be the default editor returned, whereas a QVariant::Int's default editor would be a TQSpinBox. +Each editor factory provides the createEditor() function which given a TQVariant will create and return a TQWidget that can edit that TQVariant. For example if you have a TQVariant::String type, a TQLineEdit would be the default editor returned, 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 TQEditorFactory and reimplement the createEditor() function. .PP @@ -49,8 +49,8 @@ See also Database Classes. Constructs an editor factory with parent \fIparent\fR, called \fIname\fR. .SH "TQEditorFactory::~TQEditorFactory ()" Destroys the object and frees any allocated resources. -.SH "TQWidget * TQEditorFactory::createEditor ( TQWidget * parent, const QVariant & v )\fC [virtual]\fR" -Creates and returns the appropriate editor for the QVariant \fIv\fR. If the QVariant is invalid, 0 is returned. The \fIparent\fR is passed to the appropriate editor's constructor. +.SH "TQWidget * TQEditorFactory::createEditor ( TQWidget * parent, const TQVariant & v )\fC [virtual]\fR" +Creates and returns the appropriate editor for the TQVariant \fIv\fR. If the TQVariant is invalid, 0 is returned. The \fIparent\fR is passed to the appropriate editor's constructor. .PP Reimplemented in TQSqlEditorFactory. .SH "TQEditorFactory * TQEditorFactory::defaultFactory ()\fC [static]\fR" |