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