#include <QtGui/qgridlayout.h> #ifndef QGRIDLAYOUT_H class QGridLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: virtual bool hasHeightForWidth() const /* ... */ }; #endif // QGRIDLAYOUT_H