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