#include <QtCore/qfsfileengine.h> #ifndef QFSFILEENGINE_H class QFSFileEngine: public QAbstractFileEngine{ /* Some contents are skipped to improve readability */ public: bool open(class QFlags < enum QIODevice::OpenModeFlag > flags, int fd); /* ... */ }; #endif // QFSFILEENGINE_H