Some QT4 code