#include <QtSql/qsqlrelationaltablemodel.h> #ifndef QSQLRELATIONALTABLEMODEL_H class QSqlRelation{ /* Some contents are skipped to improve readability */ public: inline bool isValid() const /* ... */ }; #endif // QSQLRELATIONALTABLEMODEL_H