3 struct QScopedPointerDeleter {
4 static void cleanup(int *);
7 typedef int *QScopedPointer::*RestrictedBool;
10 operator RestrictedBool() { return d ? nullptr : &QScopedPointer::d; }
13 QScopedPointerDeleter::cleanup(d);
17 class DOpenGLPaintDevicePrivate {
20 } DOpenGLPaintDeviceresize_d;
21 void DOpenGLPaintDeviceresize() {
22 if (DOpenGLPaintDeviceresize_d.fbo)
23 DOpenGLPaintDeviceresize_d.fbo.reset();