#include <QtGui/qpainter.h>
#ifndef QPAINTER_H
class QPainter{
   /* Some contents are skipped to improve readability */
   public: typedef class QFlags < enum QPainter::RenderHint > RenderHints;
   /* ... */
};
#endif // QPAINTER_H