PDA

View Full Version : Event timestamp



jupi32000
11th July 2009, 06:49
Hi, I'm new on Qt, and I am trying to port an existing application from Carbon to QT (Due to the lack of 64 bit UI support of Carbon :crying:).

Can anyone suggest a way that I would be able to retrieve a timestamp for an event. i. e. the time when the event happened as opposed to the time when the event is processed?

I appreciate your time reading this question, and trying to advice me.

Thanks in advance,
Ronen

e8johan
14th July 2009, 09:27
Can you do that in Carbon? I thought that you always get the event processing time, at best... if not, you can access the "raw" native events from QApplication's macEventFilter function http://doc.trolltech.com/4.5/qapplication.html#macEventFilter .