#include <QtGui/qpainterpath.h> #ifndef QPAINTERPATH_H class QPainterPath{ /* Some contents are skipped to improve readability */ public: inline void addText(qreal x, qreal y, struct QFont const & f, struct QString const & text); /* ... */ }; #endif // QPAINTERPATH_H