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