equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
174 bool scroll(const QRegion &area, int dx, int dy); |
174 bool scroll(const QRegion &area, int dx, int dy); |
175 |
175 |
176 QImage image() const { return img; } |
176 QImage image() const { return img; } |
177 QPoint painterOffset() const; |
177 QPoint painterOffset() const; |
178 |
178 |
|
179 void beginPaint(const QRegion &rgn); |
|
180 |
179 bool lock(int timeout = -1); |
181 bool lock(int timeout = -1); |
180 void unlock(); |
182 void unlock(); |
181 |
183 |
182 protected: |
184 protected: |
183 QImage::Format preferredImageFormat(const QWidget *widget) const; |
185 QImage::Format preferredImageFormat(const QWidget *widget) const; |