KEMailSettings Class Reference
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. More...
#include <kemailsettings.h>
Public Types | |
enum | Setting |
The list of settings that I thought of when I wrote this class. More... | |
enum | Extension |
The various extensions allowed. More... | |
Public Methods | |
KEMailSettings () | |
Default constructor, just sets things up. | |
~KEMailSettings () | |
Default destructor, nothing to see here. | |
QStringList | profiles () const |
List of profiles available. | |
QString | currentProfileName () const |
void | setProfile (const QString &) |
Change the current profile. | |
QString | defaultProfileName () const |
void | setDefault (const QString &) |
New default.. | |
QString | getSetting (KEMailSettings::Setting s) |
Get a "basic" setting, one that I've already thought of.. | |
QString | getExtendedSetting (KEMailSettings::Extension e, const QString &s) |
Use this when trying to get at currently unimplemented settings such as POP3 authentication methods, or mail specific TLS settings or something I haven't already thought of. | |
void | setExtendedSetting (KEMailSettings::Extension e, const QString &s, const QString &v) |
Use this when trying to get at currently unimplemented settings such as POP3 authentication methods, or mail specific TLS settings or something I haven't already thought of. |
Detailed Description
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.
- Author:
- Alex Zepeda zipzippy@sonic.net
Definition at line 45 of file kemailsettings.h.
Member Enumeration Documentation
|
The list of settings that I thought of when I wrote this class. Any extra settings thought of later can be accessed easily with getExtendedSetting and setExtendedSetting.
Definition at line 54 of file kemailsettings.h. Referenced by getSetting(). |
|
The various extensions allowed.
Definition at line 78 of file kemailsettings.h. |
Constructor & Destructor Documentation
|
Default constructor, just sets things up.
Definition at line 241 of file kemailsettings.cpp. References defaultProfileName(), setDefault(), and setProfile(). |
|
Default destructor, nothing to see here.
Definition at line 271 of file kemailsettings.cpp. |
Member Function Documentation
|
List of profiles available.
Definition at line 236 of file kemailsettings.cpp. |
|
Definition at line 231 of file kemailsettings.cpp. |
|
Change the current profile.
Definition at line 218 of file kemailsettings.cpp. References QString::append(). Referenced by KEMailSettings(). |
|
Definition at line 44 of file kemailsettings.cpp. Referenced by KEMailSettings(). |
|
New default..
Definition at line 208 of file kemailsettings.cpp. Referenced by KEMailSettings(). |
|
Get a "basic" setting, one that I've already thought of..
Definition at line 49 of file kemailsettings.cpp. References Setting. |
|
Use this when trying to get at currently unimplemented settings such as POP3 authentication methods, or mail specific TLS settings or something I haven't already thought of.
|
|
Use this when trying to get at currently unimplemented settings such as POP3 authentication methods, or mail specific TLS settings or something I haven't already thought of.
|
The documentation for this class was generated from the following files: