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