From 1dc517abc688f6cf20bdc75e8a4ff2dda86b5d70 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Thu, 20 Sep 2012 16:57:49 +0200 Subject: Documentation fixes. Change-Id: I2e234ec4307bbe39359cdfa8b13e86661dad43b6 Reviewed-by: Gabriel de Dietrich --- src/widgets/util/qcolormap.qdoc | 8 -------- src/widgets/util/qundostack.cpp | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'src/widgets/util') 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. -- cgit v1.2.3