#include <QtGui/qpainterpath.h> #ifndef QPAINTERPATH_H class QPainterPath{ /* Some contents are skipped to improve readability */ private: void detach_helper(); /* ... */ }; #endif // QPAINTERPATH_H