how do i integrate this into a basic ui? Any one please help... i'm starting to learn!

Qt 4.4.3: QtConcurrent Word Count Example