Fix contextmenu actions for Qt5

As documented for QObject::connectNotify
Merge pull request #78 from seezer/qt5contextmenu

Fix contextmenu actions for Qt5