#include <QtGui/qgridlayout.h> #ifndef QGRIDLAYOUT_H class QGridLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: void setRowStretch(int row, int stretch); /* ... */ }; #endif // QGRIDLAYOUT_H