From ffd7231dbec0a96dd34a02a056b86aae1992cdbf Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Thu, 1 Mar 2012 19:11:09 +0100 Subject: Remove the usage of deprecated qdoc macros. QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I7733d18ce1e3459ef618802060d176c9211d3d5f Reviewed-by: Kent Hansen --- src/script/api/qscriptengine.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/script/api/qscriptengine.cpp') diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp index c0b19f3..2934aa6 100644 --- a/src/script/api/qscriptengine.cpp +++ b/src/script/api/qscriptengine.cpp @@ -130,7 +130,7 @@ QT_BEGIN_NAMESPACE \section1 Engine Configuration - The globalObject() function returns the \bold {Global Object} + The globalObject() function returns the \b {Global Object} associated with the script engine. Properties of the Global Object are accessible from any script code (i.e. they are global variables). Typically, before evaluating "user" scripts, you will @@ -3473,13 +3473,13 @@ void QScriptEngine::registerCustomType(int type, MarshalFunction mf, functions is described in the following table: \table - \header \o Script Function \o Corresponding C++ Function - \row \o qsTr() \o QObject::tr() - \row \o QT_TR_NOOP() \o QT_TR_NOOP() - \row \o qsTranslate() \o QCoreApplication::translate() - \row \o QT_TRANSLATE_NOOP() \o QT_TRANSLATE_NOOP() - \row \o qsTrId() (since 4.7) \o qtTrId() - \row \o QT_TRID_NOOP() (since 4.7) \o QT_TRID_NOOP() + \header \li Script Function \li Corresponding C++ Function + \row \li qsTr() \li QObject::tr() + \row \li QT_TR_NOOP() \li QT_TR_NOOP() + \row \li qsTranslate() \li QCoreApplication::translate() + \row \li QT_TRANSLATE_NOOP() \li QT_TRANSLATE_NOOP() + \row \li qsTrId() (since 4.7) \li qtTrId() + \row \li QT_TRID_NOOP() (since 4.7) \li QT_TRID_NOOP() \endtable \sa {Internationalization with Qt} @@ -4287,13 +4287,13 @@ QScriptString QScriptEngine::toStringHandle(const QString &str) is performed according to the following table: \table - \header \o Input Type \o Result - \row \o Undefined \o An invalid QScriptValue. - \row \o Null \o An invalid QScriptValue. - \row \o Boolean \o A new Boolean object whose internal value is set to the value of the boolean. - \row \o Number \o A new Number object whose internal value is set to the value of the number. - \row \o String \o A new String object whose internal value is set to the value of the string. - \row \o Object \o The result is the object itself (no conversion). + \header \li Input Type \li Result + \row \li Undefined \li An invalid QScriptValue. + \row \li Null \li An invalid QScriptValue. + \row \li Boolean \li A new Boolean object whose internal value is set to the value of the boolean. + \row \li Number \li A new Number object whose internal value is set to the value of the number. + \row \li String \li A new String object whose internal value is set to the value of the string. + \row \li Object \li The result is the object itself (no conversion). \endtable \sa newObject() -- cgit v1.2.1