#include <QtGui/qevent.h>
#ifndef QEVENT_H
#ifndef QT_NO_INPUTMETHOD
class QInputMethodEvent: public QEvent{
   /* Some contents are skipped to improve readability */
   public: enum AttributeType{
      /* ... */
      Ruby = 3,
      /* ... */
   };
   /* ... */
};
#endif // QT_NO_INPUTMETHOD
#endif // QEVENT_H