#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: inline void drawText(class QPoint const & p, class QString const & s); /* ... */ }; #endif // QPAINTER_H