#include <QtCore/qline.h> #ifndef QLINE_H class QLineF{ /* Some contents are skipped to improve readability */ public: inline qreal dy() const /* ... */ }; #endif // QLINE_H