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