#include <QtGui/qpainterpath.h> #ifndef QPAINTERPATH_H class QPainterPath{ /* Some contents are skipped to improve readability */ public: void cubicTo(class QPointF const & ctrlPt1, class QPointF const & ctrlPt2, class QPointF const & endPt); /* ... */ }; #endif // QPAINTERPATH_H