Change language to C++/Qt
Working sourcecode for excercise 2