org.kde.koala
public class KEMailSettings extends Object implements QtSupport
UNKNOWN: This is just a small class to facilitate accessing e-mail settings in a sane way, and allowing any program to manage multiple e-mail profiles effortlessly
| Field Summary | |
|---|---|
| static int | ClientProgram
The list of settings that I thought of when I wrote this
class. |
| static int | ClientTerminal |
| static int | EmailAddress |
| static int | InServer |
| static int | InServerLogin |
| static int | InServerMBXType |
| static int | InServerPass |
| static int | InServerTLS |
| static int | InServerType |
| static int | Organization |
| static int | OTHER |
| static int | OutServer |
| static int | OutServerCommand |
| static int | OutServerLogin |
| static int | OutServerPass |
| static int | OutServerTLS |
| static int | OutServerType |
| static int | POP3
The various extensions allowed. |
| static int | RealName |
| static int | ReplyToAddress |
| static int | SMTP |
| Constructor Summary | |
|---|---|
| protected | KEMailSettings(Class dummy) |
| KEMailSettings()
Default constructor, just sets things up. | |
| Method Summary | |
|---|---|
| String | currentProfileName()
Returns the name of the current profile. |
| String | defaultProfileName()
Returns the name of the default profile. |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| String | getSetting(int s)
Get one of the predefined "basic" settings. |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| ArrayList | profiles()
List of profiles available. |
| void | setDefault(String def)
Sets a new default. |
| void | setProfile(String s)
Change the current profile. |
| void | setSetting(int s, String v)
Set one of the predefined "basic" settings. |
See Also: KEMailSettings KEMailSettings KEMailSettings KEMailSettings
UNKNOWN: The list of settings that I thought of when I wrote this class.
UNKNOWN: The various extensions allowed.
UNKNOWN: Default constructor, just sets things up.
Returns: what profile we're currently using
UNKNOWN: Returns the name of the current profile.
Returns: the name of the one that's currently default null if none
UNKNOWN: Returns the name of the default profile.
Parameters: s the setting to get
Returns: the value of the setting, or null if not set
UNKNOWN: Get one of the predefined "basic" settings.
Returns: the list of profiles
UNKNOWN: List of profiles available.
Parameters: def the new default
UNKNOWN: Sets a new default.
Parameters: s the name of the new profile
UNKNOWN: Change the current profile.
Parameters: s the setting to set v the new value of the setting, or null to unset
UNKNOWN: Set one of the predefined "basic" settings.