#include <QtGui/qpaintdevice.h>
#ifndef QPAINTDEVICE_H
class QPaintDevice{
   /* Some contents are skipped to improve readability */
   friend struct QPainter;
   /* ... */
};
#endif // QPAINTDEVICE_H