#include <QtCore/qline.h> #ifndef QLINE_H class QLineF{ /* Some contents are skipped to improve readability */ public: enum IntersectType{ NoIntersection = 0, BoundedIntersection = 1, UnboundedIntersection = 2, }; /* ... */ }; #endif // QLINE_H