#include <QtCore/qglobal.h>
#ifndef QGLOBAL_H
#if defined(__cplusplus)
#ifndef Q_NO_TYPESAFE_FLAGS
template < typename Enum > class QFlags{
   /* Some contents are skipped to improve readability */
   public: inline class QFlags& operator |=(Enum f);
   /* ... */
};
#else /* Q_NO_TYPESAFE_FLAGS */
#endif /* Q_NO_TYPESAFE_FLAGS */
#endif /* __cplusplus */
#endif /* QGLOBAL_H */