Added some QObject.connect() functionality