summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-09-05 08:56:02 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-09-05 08:20:27 +0000
commit4610b56b57ded82b7e6324bf36de8a11a331eede (patch)
tree4ab7f2f8f24af2677a90039a0a7f684dcd480395
parent60964b2be9b4a021e8b6d5b7e189b0c38e43434b (diff)
downloadqtdoc-4610b56b57ded82b7e6324bf36de8a11a331eede.tar.gz
Fix some issues with MOC documentation.
Change-Id: Ide25bc10dd472c8b663273fdfc02fdfb5b29cecd Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-rw-r--r--doc/src/frameworks-technologies/why-moc.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/frameworks-technologies/why-moc.qdoc b/doc/src/frameworks-technologies/why-moc.qdoc
index 2f86586e..d8f6c600 100644
--- a/doc/src/frameworks-technologies/why-moc.qdoc
+++ b/doc/src/frameworks-technologies/why-moc.qdoc
@@ -39,16 +39,16 @@
impossible to express with templates. A generic vector container class
is easily expressible, even with partial specialisation for pointer
types, while a function that sets up a graphical user interface based
- on a XML description given as a string is not expressible as
- template. And then there is gray area in between. Things that you can
+ on an XML description given as a string is not expressible as a
+ template. And then there is a gray area in between. Things that you can
hack with templates at the cost of code size, readability,
portability, usability, extensability, robustness and ultimately
design beauty. Both templates and the C preprocessor can be stretched
to do incredibility smart and mind boggling things. But just because
- those things can be done, does not necessarily mean doing them is the
- right design choice. Code unfortunately is not meant to be published in
+ those things can be done, it does not necessarily mean doing them is the
+ right design choice. Code, unfortunately, is not meant to be published in
books, but compiled with real-world compilers on real-world operating
- system.
+ systems.
Here are some reasons why Qt uses the moc: