#include <QtGui/qpainter.h>
#ifndef QPAINTER_H
class QPainter{
   /* Some contents are skipped to improve readability */
   public: enum RenderHint{
      Antialiasing = 1,
      TextAntialiasing = 2,
      SmoothPixmapTransform = 4,
   };
   /* ... */
};
#endif // QPAINTER_H