#include <QtSql/qsqlerror.h> #ifndef QSQLERROR_H class QSqlError{ /* Some contents are skipped to improve readability */ public: void setDatabaseText(class QString const & databaseText); /* ... */ }; #endif // QSQLERROR_H