#include <QtCore/qabstractitemmodel.h>
#ifndef QABSTRACTITEMMODEL_H
class QAbstractTableModel: public QAbstractItemModel{
   /* Some contents are skipped to improve readability */
   private: virtual bool hasChildren(class QModelIndex const & parent) const
   /* ... */
};
#endif // QABSTRACTITEMMODEL_H