summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimage.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2010-08-04 09:14:30 +0200
committerGunnar Sletta <gunnar.sletta@nokia.com>2010-08-04 10:43:34 +0200
commit5683a6f6f30e65c272c1194f31395161bde229e4 (patch)
treea4432011ade11e353a4da732dd2ea3e83f58c05e /src/gui/image/qimage.h
parent0d6a0f1371d899c4105bc4383550ca1cb6b132b2 (diff)
QImage::fill() overloads that take QColor and Qt::GlobalColor
This will break source compatibility in some cases, but only when the user has a bug in the first place, so this is preferable Reviewed-by: Eskil
Diffstat (limited to 'src/gui/image/qimage.h')
-rw-r--r--src/gui/image/qimage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/image/qimage.h b/src/gui/image/qimage.h
index 896061ffc0..f37dcf2755 100644
--- a/src/gui/image/qimage.h
+++ b/src/gui/image/qimage.h
@@ -210,6 +210,9 @@ public:
void setColorTable(const QVector<QRgb> colors);
void fill(uint pixel);
+ void fill(const QColor &color);
+ void fill(Qt::GlobalColor color);
+
bool hasAlphaChannel() const;
void setAlphaChannel(const QImage &alphaChannel);