#include <QtOpenGL/qglpixelbuffer.h>
#ifndef QGLPIXELBUFFER_H
class QGLPixelBuffer: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: QGLPixelBuffer(int width, int height, class QGLFormat const & format, class QGLWidget* shareWidget = 0);
   /* ... */
};
#endif // QGLPIXELBUFFER_H