#include <QtCore/qrect.h> #ifndef QRECT_H class QRectF{ /* Some contents are skipped to improve readability */ public: inline void translate(qreal dx, qreal dy); /* ... */ }; #endif // QRECT_H