PDA

View Full Version : Since which Qt version does QWheelEvent::orientation exist?



Bitjuggler
18th July 2011, 21:04
Hi!

I am submitting a patch to a large open source library, and was wondering if it would be necessary to put a call to QWheelEvent :: orientation (I put a space after :: so that no smiley is rendered) between some #ifdef preprocessor commands, so that it will work for all versions of Qt. I know it works with Qt 4.7, but when was this method introduced?

Or maybe I can look this up somewhere?

Cheers,
Claus

ChrisW67
19th July 2011, 04:58
It has existed for all of the Qt 4.x series. I just looked at the 4.0 QWheelEvent docs (http://doc.qt.nokia.com/4.0/qwheelevent.html) here (http://doc.qt.nokia.com/).

BTW: there are options below the edit box to disable smilies in post text.

Bitjuggler
19th July 2011, 10:06
Ah thanks, there are docs for older versions of Qt! I will look it up :)


Cheers,
Claus