summaryrefslogtreecommitdiffstats
path: root/src/widgets/util
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2012-09-20 16:57:49 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-21 19:59:55 +0200
commit1dc517abc688f6cf20bdc75e8a4ff2dda86b5d70 (patch)
treea691cc353be72de96728f44e910e4a3ff7cebb10 /src/widgets/util
parenteed5be6fcdb06d372c87aa61a7cbba6b78b8d965 (diff)
Documentation fixes.
Change-Id: I2e234ec4307bbe39359cdfa8b13e86661dad43b6 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/widgets/util')
-rw-r--r--src/widgets/util/qcolormap.qdoc8
-rw-r--r--src/widgets/util/qundostack.cpp2
2 files changed, 1 insertions, 9 deletions
diff --git a/src/widgets/util/qcolormap.qdoc b/src/widgets/util/qcolormap.qdoc
index 86e7162cc9..08981eea6f 100644
--- a/src/widgets/util/qcolormap.qdoc
+++ b/src/widgets/util/qcolormap.qdoc
@@ -122,14 +122,6 @@
\sa size()
*/
-/*! \fn HPALETTE QColormap::hPal()
-
- This function is only available on Windows.
-
- Returns an handle to the HPALETTE used by this colormap. If no
- HPALETTE is being used, this function returns zero.
-*/
-
/*! \since 4.2
\fn QColormap &QColormap::operator=(const QColormap &colormap)
diff --git a/src/widgets/util/qundostack.cpp b/src/widgets/util/qundostack.cpp
index 47e161f059..bb264a834c 100644
--- a/src/widgets/util/qundostack.cpp
+++ b/src/widgets/util/qundostack.cpp
@@ -266,7 +266,7 @@ QString QUndoCommand::actionText() const
command does.
If you need to have two different strings for text() and actionText(), separate
- them with "\n" and pass into this function. Even if you do not use this feature
+ them with "\\n" and pass into this function. Even if you do not use this feature
for English strings during development, you can still let translators use two
different strings in order to match specific languages' needs.
The described feature and the function actionText() are available since Qt 4.8.