#include <QtSql/qsqldriver.h> #ifndef QSQLDRIVER_H class QSqlDriver: public QObject{ /* Some contents are skipped to improve readability */ public: enum StatementType{ WhereStatement = 0, SelectStatement = 1, UpdateStatement = 2, InsertStatement = 3, DeleteStatement = 4, }; /* ... */ }; #endif // QSQLDRIVER_H