diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2013-04-26 12:47:14 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-26 12:50:28 +0200 |
commit | 67d7651212bd9485f475a8e079f17b5606168245 (patch) | |
tree | 47f1e35feb742e3e1e906a19e9ebf7c75277ad5a /src/gui/painting | |
parent | 9b021a1fbd0b974a452a6e18a8c0b4b97cbf8edb (diff) |
Add since 5.2 to the new QColor features
Change-Id: Ia45feca4ffb1cbec8ccab78284b05e89a2061e31
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qcolor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp index aa3c3c4377..c93320c491 100644 --- a/src/gui/painting/qcolor.cpp +++ b/src/gui/painting/qcolor.cpp @@ -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} |