src/opengl/qwindowsurface_x11gl_p.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
--- a/src/opengl/qwindowsurface_x11gl_p.h	Wed Jun 23 19:07:03 2010 +0300
+++ b/src/opengl/qwindowsurface_x11gl_p.h	Tue Jul 06 15:10:48 2010 +0300
@@ -68,9 +68,11 @@
     void flush(QWidget *widget, const QRegion &region, const QPoint &offset);
     void setGeometry(const QRect &rect);
     bool scroll(const QRegion &area, int dx, int dy);
+    QPixmap grabWidget(const QWidget *widget, const QRect& rectangle = QRect()) const;
 
 private:
-    GC      m_GC;
+    GC      m_windowGC;
+    GC      m_pixmapGC;
     QPixmap m_backBuffer;
     QWidget *m_window;
 };