#include <QtSql/qsqltablemodel.h> #ifndef QSQLTABLEMODEL_H class QSqlTableModel: public QSqlQueryModel{ /* Some contents are skipped to improve readability */ public: static inline class QString trUtf8(char const * s, char const * c = 0); /* ... */ }; #endif // QSQLTABLEMODEL_H