summaryrefslogtreecommitdiff
path: root/src/script/api/qscriptengine.cpp
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2012-03-01 19:11:09 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-06 00:46:34 +0100
commitffd7231dbec0a96dd34a02a056b86aae1992cdbf (patch)
tree61fec5ad5fba6df290eb67d645756b6ec91c0cf5 /src/script/api/qscriptengine.cpp
parentc81c78c0cf6eff2f65cfaed655ec5ac7531bb75d (diff)
downloadqtscript-ffd7231dbec0a96dd34a02a056b86aae1992cdbf.tar.gz
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 <kent.hansen@nokia.com>
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
-rw-r--r--src/script/api/qscriptengine.cpp30
1 files changed, 15 insertions, 15 deletions
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()