a helper class and example of how to use a lambda function (c++11/c++0x) as a slot of connect functions