Add since 5.2 to the new QColor features

Change-Id: Ia45feca4ffb1cbec8ccab78284b05e89a2061e31
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
Albert Astals Cid 2013-04-26 12:47:14 +02:00 committed by The Qt Project
parent 9b021a1fbd
commit 67d7651212

View File

@ -505,6 +505,8 @@ QString QColor::name() const
}
/*!
\since 5.2
Returns the name of the color in the specified \a format.
\sa setNamedColor(), NameFormat
@ -531,7 +533,7 @@ QString QColor::name(NameFormat format) const
\list
\li #RGB (each of R, G, and B is a single hex digit)
\li #RRGGBB
\li #AARRGGBB
\li #AARRGGBB (Since 5.2)
\li #RRRGGGBBB
\li #RRRRGGGGBBBB
\li A name from the list of colors defined in the list of \l{http://www.w3.org/TR/SVG/types.html#ColorKeywords}{SVG color keyword names}