#include <QtCore/qfile.h> #ifndef QFILE_H class QFile: public QIODevice{ /* Some contents are skipped to improve readability */ public: enum Permission{ /* ... */ ExeUser = 256, /* ... */ }; /* ... */ }; #endif // QFILE_H