summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2011-03-18 15:45:16 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2011-03-18 15:45:16 (GMT)
commitd9951ddd1e962e51f5ab171f97740fa354366f9a (patch)
tree35a1ebcfc2dc6f6004b6930abf5829f2b87843ee /doc
parente05fd7c0d3cc7593f32e8f53b8c557ea7e96f0eb (diff)
parent3a764060dab07ef0b51d7027b9606c73c0701d2f (diff)
downloadQt-d9951ddd1e962e51f5ab171f97740fa354366f9a.zip
Qt-d9951ddd1e962e51f5ab171f97740fa354366f9a.tar.gz
Qt-d9951ddd1e962e51f5ab171f97740fa354366f9a.tar.bz2
Merge remote branch 'remotes/qt-doc-team/4.7' into 4.7
Diffstat (limited to 'doc')
-rw-r--r--doc/src/examples/undoframework.qdoc3
-rw-r--r--doc/src/howtos/exceptionsafety.qdoc5
-rw-r--r--doc/src/snippets/code/src_corelib_kernel_qmetaobject.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/examples/undoframework.qdoc b/doc/src/examples/undoframework.qdoc
index c5bc279..65104bd 100644
--- a/doc/src/examples/undoframework.qdoc
+++ b/doc/src/examples/undoframework.qdoc
@@ -199,8 +199,7 @@
\snippet examples/tools/undoframework/commands.cpp 8
- \c undo() removes the item from the scene. We need to update the
- scene as ...(ask Andreas)
+ \c undo() removes the item from the scene.
\snippet examples/tools/undoframework/commands.cpp 9
diff --git a/doc/src/howtos/exceptionsafety.qdoc b/doc/src/howtos/exceptionsafety.qdoc
index c4b5ebc..b3795d6 100644
--- a/doc/src/howtos/exceptionsafety.qdoc
+++ b/doc/src/howtos/exceptionsafety.qdoc
@@ -100,8 +100,9 @@
if any allocation fails. Allocations can fail if the system runs out of memory or
doesn't have enough continuous memory to allocate the requested size.
- Exceptions to that rule are documented. As an example, \l QImage::create()
- returns false if not enough memory exists instead of throwing an exception.
+ Exceptions to that rule are documented. As an example, QImage constructors will
+ create a \l{QImage::isNull()}{null} image if not enough memory exists instead
+ of throwing an exception.
\section1 Recovering from exceptions
diff --git a/doc/src/snippets/code/src_corelib_kernel_qmetaobject.cpp b/doc/src/snippets/code/src_corelib_kernel_qmetaobject.cpp
index 7a752b1..86bad5e 100644
--- a/doc/src/snippets/code/src_corelib_kernel_qmetaobject.cpp
+++ b/doc/src/snippets/code/src_corelib_kernel_qmetaobject.cpp
@@ -43,7 +43,7 @@ void wrapInFunction()
{
//! [0]
-class MyClass
+class MyClass : public QObject
{
Q_OBJECT
Q_CLASSINFO("author", "Sabrina Schweinsteiger")