summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cmakedocumentation/src/car.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cmakedocumentation/src/car.cpp')
-rw-r--r--src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cmakedocumentation/src/car.cpp46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cmakedocumentation/src/car.cpp b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cmakedocumentation/src/car.cpp
new file mode 100644
index 000000000..78823d7e3
--- /dev/null
+++ b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cmakedocumentation/src/car.cpp
@@ -0,0 +1,46 @@
+// Copyright (C) 2024 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+
+#include "car.h"
+
+/*!
+ \module TestCar
+ \since 6.6.6
+ \qtvariable testcar
+ \qtcmakepackage TestCar
+*/
+
+/*!
+ \module TestCarPrivate
+ \since 6.6.6
+ \qtvariable testcar-private
+ \qtcmakepackage TestCar
+ \qtcmaketargetitem TestCarPrivate
+*/
+
+/*!
+ \class Car
+ \inmodule TestCar
+ \brief Represents a model of a car.
+*/
+
+/*!
+ \class Engine
+ \inmodule TestCarPrivate
+ \brief Represents a model of an engine.
+*/
+
+/*!
+ \fn void Car::drive()
+ \brief Drives the car.
+*/
+
+/*!
+ \fn void Engine::start()
+ \brief Starts the engine.
+*/
+
+/*!
+ \fn void Engine::stop()
+ \brief Stops the engine.
+*/