#include <QtGui/qinputcontext.h> #ifndef QINPUTCONTEXT_H #ifndef QT_NO_IM class QInputContext: public QObject{ /* Some contents are skipped to improve readability */ public: virtual void mouseHandler(int x, class QMouseEvent* event); /* ... */ }; #endif //Q_NO_IM #endif // QINPUTCONTEXT_H