#include <QtCore/qabstractfileengine.h> #ifndef QABSTRACTFILEENGINE_H class QAbstractFileEngine{ /* Some contents are skipped to improve readability */ public: enum QFile::FileError error() const /* ... */ }; #endif // QABSTRACTFILEENGINE_H