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 ec353184b..840b06e53 100644 --- a/doc/man/man3/tqeditorfactory.3qt +++ b/doc/man/man3/tqeditorfactory.3qt @@ -11,20 +11,20 @@ QEditorFactory \- Used to create editor widgets for QVariant data types .SH SYNOPSIS \fC#include <ntqeditorfactory.h>\fR .PP -Inherits QObject. +Inherits TQObject. .PP Inherited by QSqlEditorFactory. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQEditorFactory\fR ( QObject * parent = 0, const char * name = 0 )" +.BI "\fBQEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~QEditorFactory\fR ()" .br .ti -1c -.BI "virtual QWidget * \fBcreateEditor\fR ( QWidget * parent, const QVariant & v )" +.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QVariant & v )" .br .in -1c .SS "Static Public Members" @@ -39,17 +39,17 @@ Inherited by QSqlEditorFactory. .SH DESCRIPTION The QEditorFactory class is used to create editor widgets for QVariant data types. .PP -Each editor factory provides the createEditor() function which given a QVariant will create and return a QWidget that can edit that QVariant. For example if you have a QVariant::String type, a QLineEdit would be the default editor returned, whereas a QVariant::Int's default editor would be a QSpinBox. +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 QLineEdit would be the default editor returned, whereas a QVariant::Int's default editor would be a QSpinBox. .PP If you want to create different editors for fields with the same data type, subclass QEditorFactory and reimplement the createEditor() function. .PP See also Database Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QEditorFactory::QEditorFactory ( QObject * parent = 0, const char * name = 0 )" +.SH "QEditorFactory::QEditorFactory ( TQObject * parent = 0, const char * name = 0 )" Constructs an editor factory with parent \fIparent\fR, called \fIname\fR. .SH "QEditorFactory::~QEditorFactory ()" Destroys the object and frees any allocated resources. -.SH "QWidget * QEditorFactory::createEditor ( QWidget * parent, const QVariant & v )\fC [virtual]\fR" +.SH "TQWidget * QEditorFactory::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. .PP Reimplemented in QSqlEditorFactory. |