src/gui/painting/qwindowsurface_qws_p.h
changeset 7 f7bc934e204c
parent 0 1918ee327afb
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     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;