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