#include <QtCore/qresource.h> #ifndef QRESOURCE_H class QResource{ /* Some contents are skipped to improve readability */ protected: bool isDir() const /* ... */ }; #endif // QRESOURCE_H