summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2012-12-12 09:12:49 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-12 10:01:26 +0100
commit681b3f05db103c7a6ddc216ad10707b56cca7a39 (patch)
tree3092efb4c596b0ee8fceb4ececdb5cf103b7136c
parent36969da0d14c9ecbb65bd0ccee565c0c64b27532 (diff)
Doc: fix the Qt Linguist example pagev5.0.0-rc2
Use the \group and \ingroup commands to have qdoc list the examples. Edit the \brief contents. Change-Id: Iae0769bd1272b03d94b9287b9fddf78df27e1f12 Reviewed-by: David Schulz <david.schulz@digia.com>
-rw-r--r--examples/linguist/doc/src/arrowpad.qdoc5
-rw-r--r--examples/linguist/doc/src/hellotr.qdoc6
-rw-r--r--examples/linguist/doc/src/trollprint.qdoc5
-rw-r--r--src/linguist/linguist/doc/src/linguist-examples.qdoc4
4 files changed, 13 insertions, 7 deletions
diff --git a/examples/linguist/doc/src/arrowpad.qdoc b/examples/linguist/doc/src/arrowpad.qdoc
index dec7fd624..2b59417b2 100644
--- a/examples/linguist/doc/src/arrowpad.qdoc
+++ b/examples/linguist/doc/src/arrowpad.qdoc
@@ -28,9 +28,8 @@
/*!
\example arrowpad
\title Arrow Pad Example
-
- \brief This example is a slightly more involved and introduces a key \e
- {Qt Linguist} concept: "contexts". It also shows how to use two
+ \ingroup examples-linguist
+ \brief Understanding the Qt Linguist \e contexts concept and using two
or more languages.
\image linguist-arrowpad_en.png
diff --git a/examples/linguist/doc/src/hellotr.qdoc b/examples/linguist/doc/src/hellotr.qdoc
index 5e34031ed..67ef6db28 100644
--- a/examples/linguist/doc/src/hellotr.qdoc
+++ b/examples/linguist/doc/src/hellotr.qdoc
@@ -27,10 +27,12 @@
/*!
\example hellotr
+ \ingroup examples-linguist
\title Hello tr() Example
- \brief This example is a small Hello World program with a Latin translation. The
- screenshot shows the English version.
+ \brief Translating a small Hello World program to Latin.
+
+ The screenshot shows the English version.
\image linguist-hellotr_en.png
diff --git a/examples/linguist/doc/src/trollprint.qdoc b/examples/linguist/doc/src/trollprint.qdoc
index fe4857544..9fae61af4 100644
--- a/examples/linguist/doc/src/trollprint.qdoc
+++ b/examples/linguist/doc/src/trollprint.qdoc
@@ -27,9 +27,12 @@
/*!
\example trollprint
+ \ingroup examples-linguist
\title Troll Print Example
- \brief Troll Print is an example application that lets the user choose
+ \brief Updating translations for later releases.
+
+ Troll Print is an example application that lets the user choose
printer settings. It comes in two versions: English and
Portuguese.
diff --git a/src/linguist/linguist/doc/src/linguist-examples.qdoc b/src/linguist/linguist/doc/src/linguist-examples.qdoc
index 85824f1c3..8ece69239 100644
--- a/src/linguist/linguist/doc/src/linguist-examples.qdoc
+++ b/src/linguist/linguist/doc/src/linguist-examples.qdoc
@@ -26,7 +26,7 @@
****************************************************************************/
/*!
- \group examples-linguist.html
+ \group examples-linguist
\ingroup all-examples
\ingroup internationalization
\title Qt Linguist Examples
@@ -34,7 +34,9 @@
Internationalization is a core feature of Qt. These examples show how to
access translation and localization facilities at run-time.
+*/
+/*
\list
\li \l{hellotr}{Hello tr()}\raisedaster
\li \l{arrowpad}{Arrow Pad}\raisedaster