How can I make an Application whose interface is a dialog appear in the taskbar under Linux, for example Fedora 6?

1. If just only writing codes, how to implement it?
2. And if using Qt Designer, how to implement it then?