summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2010-03-01 14:36:00 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2010-03-01 14:36:00 (GMT)
commit2fa8c8d4ddc162297a05f2908e0d86eb2c738153 (patch)
tree7fb32be530984804fb35cc6c2cfc2acba9018f16 /src/gui
parent52c486156287bdfb67ed3765952f5c5a2cd0c318 (diff)
downloadQt-2fa8c8d4ddc162297a05f2908e0d86eb2c738153.zip
Qt-2fa8c8d4ddc162297a05f2908e0d86eb2c738153.tar.gz
Qt-2fa8c8d4ddc162297a05f2908e0d86eb2c738153.tar.bz2
Doc: Rephrase documentation for QColor::isValidColor and add \since 4.7.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qcolor.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp
index 1b43161..0b735a2 100644
--- a/src/gui/painting/qcolor.cpp
+++ b/src/gui/painting/qcolor.cpp
@@ -537,11 +537,13 @@ void QColor::setNamedColor(const QString &name)
}
/*!
- Checks if the \a name is a valid color name. The algorithm used is the same as with
- \a setNamedColor().
+ \since 4.7
- \return true if the color name is valid, false otherwise.
+ Returns true if the \a name is a valid color name and can
+ be used to construct a valid QColor object, otherwise returns
+ false.
+ The algorithm used is the same as with \a setNamedColor().
\sa setNamedColor()
*/
bool QColor::isValidColor(const QString &name)