aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml')
-rw-r--r--src/qml/qml/qqmlengine.cpp2
-rw-r--r--src/qml/qml/qqmlparserstatus.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index 5fb5d73341..a6f7067552 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -1346,7 +1346,7 @@ void QQmlEngine::setOutputWarningsToStandardError(bool enabled)
QObject* example:
\code
class MySingleton : public QObject {
- Q_OBJECT
+ \Q_OBJECT
static int typeId;
// ...
};
diff --git a/src/qml/qml/qqmlparserstatus.cpp b/src/qml/qml/qqmlparserstatus.cpp
index b8f4bb8c19..cd45e6668b 100644
--- a/src/qml/qml/qqmlparserstatus.cpp
+++ b/src/qml/qml/qqmlparserstatus.cpp
@@ -71,7 +71,7 @@ QT_BEGIN_NAMESPACE
\code
class MyObject : public QObject, public QQmlParserStatus
{
- Q_OBJECT
+ \Q_OBJECT
Q_INTERFACES(QQmlParserStatus)
public: