#include <QtSql/qsqlresult.h> #ifndef QSQLRESULT_H class QSqlResult{ /* Some contents are skipped to improve readability */ public: virtual class QVariant handle() const /* ... */ }; #endif // QSQLRESULT_H