[PyKDE] Implement MailTo in QT

Andreas Pakulat apaku at gmx.de
Wed Nov 15 09:36:51 GMT 2006


On 15.11.06 10:18:54, Keo Sophon wrote:
> I have an about dialog which has author email links. When a user clicks on 
> those links, it will automatically open a default mail-client. Do you know 
> how to implement the code of it? Or do you know any widget and property of 
> that widget that I can use to implement?

With Qt4.2 you could use QDesktopServices and run openUrl with
mailto:foobar at somename.com. 

With Qt4.1/Qt3 you have to write platform-dependent code.

Andreas

-- 
Beauty and harmony are as necessary to you as the very breath of life.




More information about the PyQt mailing list