#include <QtSql/qsqltablemodel.h>
#ifndef QSQLTABLEMODEL_H
class QSqlTableModel: public QSqlQueryModel{
   /* Some contents are skipped to improve readability */
   public: bool isDirty(class QModelIndex const & index) const
   /* ... */
};
#endif // QSQLTABLEMODEL_H