You can do 1. and 3. in the same thread. For 2. you can (but don't have to) use an external thread.

Read the article in QQ: http://doc.trolltech.com/qq/qq27-responsive-guis.html