#include <QtSql/qsqlresult.h>
#ifndef QSQLRESULT_H
class QSqlResult{
   /* Some contents are skipped to improve readability */
   protected: virtual class QVariant lastInsertId() const
   /* ... */
};
#endif // QSQLRESULT_H