#include <QtSql/qsqlquerymodel.h>
#ifndef QSQLQUERYMODEL_H
class QSqlQueryModel: public QAbstractTableModel{
   /* Some contents are skipped to improve readability */
   protected: void setLastError(struct QSqlError const & error);
   /* ... */
};
#endif // QSQLQUERYMODEL_H