Use of KEMailSettings

Daniel Vrátil dvratil at kde.org
Thu Apr 13 16:01:37 BST 2017


Hi, 

I'm not aware of any replacement of KEmailSettings. Some of its components have been deprecated, but for Email address and similar its behavior seems to be unchanged since the KDE4 times, so I think you should be able to safely use it in your code. 

Dan


  Original Message  
From: djarvie at kde.org
Sent: April 13, 2017 02:00
To: kde-pim at kde.org
Reply-to: kde-pim at kde.org
Subject: Use of KEMailSettings

Can anybody tell me what the status of KEMailSettings (in KConfig framework) is 
these days? In KDE 4 days, one of its functions was to return the email 
address for the user which was set in System Settings. That function still 
exists "getSetting(KEMailSettings::EmailAddress)", but what does it now 
return? Should its use be deprecated in current code?

I note that it's still used in KOrganizer and accountwizard.

-- 
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm


More information about the kde-pim mailing list