Lays, It's way better when you provide us a working example: the code that you posted here won't build anywhere besides on your project. So a small, working example, is always appreciated. Other than that, please don't send the same e-mail to different mailing lists at once: it breaks answering to them (if a user is not registered in some of the lists the e-mails will bounce and create a really nasty thing).
Tomaz
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<