handle window icon drag on mac os x

please text, I used this information:
http://doc.qt.digia.com/qq/qq18-macfeatures.html#newevents