#include <QtSql/qsqldatabase.h> #ifndef QSQLDATABASE_H class QSqlDatabase{ /* Some contents are skipped to improve readability */ public: static class QSqlDatabase database(class QString const & connectionName = QLatin1String::QLatin1String(1), bool open = 1); /* ... */ }; #endif // QSQLDATABASE_H