#include <QtSql/qsqlquerymodel.h> #ifndef QSQLQUERYMODEL_H class QSqlQueryModel: public QAbstractTableModel{ /* Some contents are skipped to improve readability */ public: static inline class QString tr(char const * s, char const * c, int n); /* ... */ }; #endif // QSQLQUERYMODEL_H