#include <QtSql/qsqldatabase.h> #ifndef QSQLDATABASE_H class QSqlDatabase{ /* Some contents are skipped to improve readability */ public: void setPort(int p); /* ... */ }; #endif // QSQLDATABASE_H