#include <QtSql/qsqlquery.h> #ifndef QSQLQUERY_H class QSqlQuery{ /* Some contents are skipped to improve readability */ public: enum BatchExecutionMode{ ValuesAsRows = 0, ValuesAsColumns = 1, }; /* ... */ }; #endif // QSQLQUERY_H