#include <QtCore/qsize.h> #ifndef QSIZE_H class QSize{ /* Some contents are skipped to improve readability */ public: inline void scale(int w, int h, enum Qt::AspectRatioMode mode); /* ... */ }; #endif // QSIZE_H