fix for Qt 5.1 compatibility

It seems that Qt 5.1 QtQuick engine does not recognize 'this' keyword.