summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcolor.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2010-03-01 15:36:00 +0100
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2010-03-01 15:36:00 +0100
commit2fa8c8d4ddc162297a05f2908e0d86eb2c738153 (patch)
tree7fb32be530984804fb35cc6c2cfc2acba9018f16 /src/gui/painting/qcolor.cpp
parent52c486156287bdfb67ed3765952f5c5a2cd0c318 (diff)
Doc: Rephrase documentation for QColor::isValidColor and add \since 4.7.
Diffstat (limited to 'src/gui/painting/qcolor.cpp')
-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 1b4316143f..0b735a23bc 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)