#include <QtGui/qpaintdevice.h>
#ifndef QPAINTDEVICE_H
class QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: inline int height() const
   /* ... */
};
#endif // QPAINTDEVICE_H