ported to Qt5
Merge pull request #1 from digited/master

ported to Qt5