#include <QtSql/qsqltablemodel.h>
#ifndef QSQLTABLEMODEL_H
class QSqlTableModel: public QSqlQueryModel{
   /* Some contents are skipped to improve readability */
   protected: virtual bool updateRowInTable(int row, struct QSqlRecord const & values);
   /* ... */
};
#endif // QSQLTABLEMODEL_H