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 175e9bc92..381f96030 100644 --- a/doc/object.doc +++ b/doc/object.doc @@ -323,16 +323,16 @@ 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 QValueList QValueList\<QVariant\>\endlink or \link -QMap QMap\<TQString,QVariant\>\endlink. In -these cases the type must be specified as \c QValueList or as \c QMap +be either \link TQValueList TQValueList\<QVariant\>\endlink or \link +TQMap TQMap\<TQString,QVariant\>\endlink. In +these cases the type must be specified as \c TQValueList or as \c TQMap (i.e. without their template parameters). It is possible to set a value by name, like this: \code obj->setProperty( "priority", "VeryHigh" ); \endcode -In the case of \c QValueList and \c QMap properties the value passes +In the case of \c TQValueList and \c TQMap properties the value passes is a QVariant whose value is the entire list or map. Enumeration types are registered with the \c TQ_ENUMS macro. Here's the |