#include <QtSql/qsqlquery.h> #ifndef QSQLQUERY_H class QSqlQuery{ /* Some contents are skipped to improve readability */ public: int numRowsAffected() const /* ... */ }; #endif // QSQLQUERY_H