diff options
Diffstat (limited to 'doc/object.doc')
| -rw-r--r-- | doc/object.doc | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/doc/object.doc b/doc/object.doc index 52dedbc61..50c7a1fd3 100644 --- a/doc/object.doc +++ b/doc/object.doc @@ -317,14 +317,14 @@ it. The optional write function must return void and must take exactly  one argument, either the type itself, a pointer or a const reference  to it. The meta object compiler enforces this. -The type of a property can be any \l QVariant supported type or an +The type of a property can be any \l TQVariant supported type or an  enumeration type declared in the class itself. Since \c MyClass uses  the enumeration type \c Priority for the property, this type must be  registered with the property system as well.  There are two exceptions to the above: The type of a property can also -be either \link TQValueList TQValueList\<QVariant\>\endlink or \link -TQMap TQMap\<TQString,QVariant\>\endlink. In +be either \link TQValueList TQValueList\<TQVariant\>\endlink or \link +TQMap TQMap\<TQString,TQVariant\>\endlink. In  these cases the type must be specified as \c TQValueList or as \c TQMap  (i.e. without their template parameters). @@ -333,7 +333,7 @@ It is possible to set a value by name, like this:      obj->setProperty( "priority", "VeryHigh" );  \endcode  In the case of \c TQValueList and \c TQMap properties the value passes -is a QVariant whose value is the entire list or map. +is a TQVariant whose value is the entire list or map.  Enumeration types are registered with the \c TQ_ENUMS macro. Here's the  final class declaration including the property related declarations: | 
