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