.TH "KEMailSettings" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KEMailSettings \- 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.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kemailsettings.h>\fP
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBSetting\fP { \fBClientProgram\fP, \fBClientTerminal\fP, \fBRealName\fP, \fBEmailAddress\fP, \fBReplyToAddress\fP, \fBOrganization\fP, \fBOutServer\fP, \fBOutServerLogin\fP, \fBOutServerPass\fP, \fBOutServerType\fP, \fBOutServerCommand\fP, \fBOutServerTLS\fP, \fBInServer\fP, \fBInServerLogin\fP, \fBInServerPass\fP, \fBInServerType\fP, \fBInServerMBXType\fP, \fBInServerTLS\fP }"
.br
.RI "\fIThe list of settings that I thought of when I wrote this class. \fP"
.ti -1c
.RI "enum \fBExtension\fP { \fBPOP3\fP, \fBSMTP\fP, \fBOTHER\fP }"
.br
.RI "\fIThe various extensions allowed. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKEMailSettings\fP ()"
.br
.RI "\fIDefault constructor, just sets things up. \fP"
.ti -1c
.RI "\fB~KEMailSettings\fP ()"
.br
.RI "\fIDefault destructor, nothing to see here. \fP"
.ti -1c
.RI "\fBQStringList\fP \fBprofiles\fP () const "
.br
.RI "\fIList of profiles available. \fP"
.ti -1c
.RI "\fBQString\fP \fBcurrentProfileName\fP () const "
.br
.ti -1c
.RI "void \fBsetProfile\fP (const  \fBQString\fP &)"
.br
.RI "\fIChange the current profile. \fP"
.ti -1c
.RI "\fBQString\fP \fBdefaultProfileName\fP () const "
.br
.ti -1c
.RI "void \fBsetDefault\fP (const  \fBQString\fP &)"
.br
.RI "\fINew default.. \fP"
.ti -1c
.RI "\fBQString\fP \fBgetSetting\fP (\fBKEMailSettings::Setting\fP s)"
.br
.RI "\fIGet a 'basic' setting, one that I've already thought of.. \fP"
.ti -1c
.RI "void \fBsetSetting\fP (\fBKEMailSettings::Setting\fP s, const  \fBQString\fP &v)"
.br
.ti -1c
.RI "\fBQString\fP \fBgetExtendedSetting\fP (\fBKEMailSettings::Extension\fP e, const  \fBQString\fP &s)"
.br
.RI "\fIUse 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. \fP"
.ti -1c
.RI "void \fBsetExtendedSetting\fP (\fBKEMailSettings::Extension\fP e, const  \fBQString\fP &s, const  \fBQString\fP &v)"
.br
.RI "\fIUse 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. \fP"
.in -1c
.SH "Detailed Description"
.PP 
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. 

\fBAuthor:\fP
.RS 4
Alex Zepeda zipzippy@sonic.net 
.RE
.PP

.PP
Definition at line 45 of file kemailsettings.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKEMailSettings::Setting\fP"
.PP
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. 
.PP
\fBSee also:\fP
.RS 4
\fBgetExtendedSetting\fP. 
.PP
\fBsetExtendedSetting\fP. 
.RE
.PP
Definition at line 54 of file kemailsettings.h.
.SS "enum \fBKEMailSettings::Extension\fP"
.PP
The various extensions allowed. Definition at line 78 of file kemailsettings.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KEMailSettings::KEMailSettings ()"
.PP
Default constructor, just sets things up. Definition at line 241 of file kemailsettings.cpp.
.PP
References defaultProfileName(), setDefault(), and setProfile().
.SS "KEMailSettings::~\fBKEMailSettings\fP ()"
.PP
Default destructor, nothing to see here. Definition at line 271 of file kemailsettings.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBQStringList\fP KEMailSettings::profiles () const"
.PP
List of profiles available. Definition at line 236 of file kemailsettings.cpp.
.SS "\fBQString\fP KEMailSettings::currentProfileName () const"
.PP
\fBReturns:\fP
.RS 4
what profile we're currently using 
.RE
.PP
Definition at line 231 of file kemailsettings.cpp.
.SS "void KEMailSettings::setProfile (const \fBQString\fP &)"
.PP
Change the current profile. Definition at line 218 of file kemailsettings.cpp.
.PP
References QString::append().
.PP
Referenced by KEMailSettings().
.SS "\fBQString\fP KEMailSettings::defaultProfileName () const"
.PP
\fBReturns:\fP
.RS 4
the name of the one that's currently default QString::null if none 
.RE
.PP
Definition at line 44 of file kemailsettings.cpp.
.PP
Referenced by KEMailSettings().
.SS "void KEMailSettings::setDefault (const \fBQString\fP &)"
.PP
New default.. Definition at line 208 of file kemailsettings.cpp.
.PP
Referenced by KEMailSettings().
.SS "\fBQString\fP KEMailSettings::getSetting (\fBKEMailSettings::Setting\fP s)"
.PP
Get a 'basic' setting, one that I've already thought of.. Definition at line 49 of file kemailsettings.cpp.
.SS "\fBQString\fP KEMailSettings::getExtendedSetting (\fBKEMailSettings::Extension\fP e, const \fBQString\fP & s)"
.PP
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. 
.SS "void KEMailSettings::setExtendedSetting (\fBKEMailSettings::Extension\fP e, const \fBQString\fP & s, const \fBQString\fP & v)"
.PP
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. 

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
