#include <QtSql/qsqldatabase.h> #ifndef QSQLDATABASE_H class QSqlDatabase{ /* Some contents are skipped to improve readability */ protected: explicit QSqlDatabase(class QString const & type); /* ... */ }; #endif // QSQLDATABASE_H