#include <QtGui/qpainterpath.h> #ifndef QPAINTERPATH_H class QPainterPath{ /* Some contents are skipped to improve readability */ public: enum ElementType{ MoveToElement = 0, LineToElement = 1, CurveToElement = 2, CurveToDataElement = 3, }; /* ... */ }; #endif // QPAINTERPATH_H