Make the library compatible with 3th party signals and slots.

http://qt-project.org/doc/qt-5.0/qtcore/signalsandslots.html