#include <QtSql/qsqlrelationaltablemodel.h>
#ifndef QSQLRELATIONALTABLEMODEL_H
class QSqlRelationalTableModel: public QSqlTableModel{
   /* Some contents are skipped to improve readability */
   public: virtual void revertRow(int row);
   /* ... */
};
#endif // QSQLRELATIONALTABLEMODEL_H