#include <QtSql/qsqlfield.h> #ifndef QSQLFIELD_H class QSqlField{ /* Some contents are skipped to improve readability */ public: enum RequiredStatus{ Unknown = -1, Optional = 0, Required = 1, }; /* ... */ }; #endif // QSQLFIELD_H