\section{KEMail\-Settings Class Reference}
\label{classKEMailSettings}\index{KEMailSettings@{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.  


{\tt \#include $<$kemailsettings.h$>$}

\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Setting} \{ \par
{\bf Client\-Program}, 
{\bf Client\-Terminal}, 
{\bf Real\-Name}, 
{\bf Email\-Address}, 
\par
{\bf Reply\-To\-Address}, 
{\bf Organization}, 
{\bf Out\-Server}, 
{\bf Out\-Server\-Login}, 
\par
{\bf Out\-Server\-Pass}, 
{\bf Out\-Server\-Type}, 
{\bf Out\-Server\-Command}, 
{\bf Out\-Server\-TLS}, 
\par
{\bf In\-Server}, 
{\bf In\-Server\-Login}, 
{\bf In\-Server\-Pass}, 
{\bf In\-Server\-Type}, 
\par
{\bf In\-Server\-MBXType}, 
{\bf In\-Server\-TLS}
 \}
\begin{CompactList}\small\item\em The list of settings that I thought of when I wrote this class. \item\end{CompactList}\item 
enum {\bf Extension} \{ {\bf POP3}, 
{\bf SMTP}, 
{\bf OTHER}
 \}
\begin{CompactList}\small\item\em The various extensions allowed. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KEMail\-Settings} ()
\begin{CompactList}\small\item\em Default constructor, just sets things up. \item\end{CompactList}\item 
{\bf $\sim$KEMail\-Settings} ()
\begin{CompactList}\small\item\em Default destructor, nothing to see here. \item\end{CompactList}\item 
{\bf QString\-List} {\bf profiles} () const 
\begin{CompactList}\small\item\em List of profiles available. \item\end{CompactList}\item 
{\bf QString} {\bf current\-Profile\-Name} () const 
\item 
void {\bf set\-Profile} (const  {\bf QString} \&)
\begin{CompactList}\small\item\em Change the current profile. \item\end{CompactList}\item 
{\bf QString} {\bf default\-Profile\-Name} () const 
\item 
void {\bf set\-Default} (const  {\bf QString} \&)
\begin{CompactList}\small\item\em New default.. \item\end{CompactList}\item 
{\bf QString} {\bf get\-Setting} ({\bf KEMail\-Settings::Setting} s)
\begin{CompactList}\small\item\em Get a \char`\"{}basic\char`\"{} setting, one that I've already thought of.. \item\end{CompactList}\item 
void {\bf set\-Setting} ({\bf KEMail\-Settings::Setting} s, const  {\bf QString} \&v)\label{classKEMailSettings_a8}

\item 
{\bf QString} {\bf get\-Extended\-Setting} ({\bf KEMail\-Settings::Extension} e, const  {\bf QString} \&s)
\begin{CompactList}\small\item\em 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. \item\end{CompactList}\item 
void {\bf set\-Extended\-Setting} ({\bf KEMail\-Settings::Extension} e, const  {\bf QString} \&s, const  {\bf QString} \&v)
\begin{CompactList}\small\item\em 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. \item\end{CompactList}\end{CompactItemize}


\subsection{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. 

\begin{Desc}
\item[Author:]Alex Zepeda {\tt zipzippy@sonic.net} \end{Desc}




Definition at line 45 of file kemailsettings.h.

\subsection{Member Enumeration Documentation}
\index{KEMailSettings@{KEMail\-Settings}!Setting@{Setting}}
\index{Setting@{Setting}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KEMail\-Settings::Setting}}\label{classKEMailSettings_w21}


The list of settings that I thought of when I wrote this class. 

Any extra settings thought of later can be accessed easily with get\-Extended\-Setting and set\-Extended\-Setting. \begin{Desc}
\item[See also:]{\bf get\-Extended\-Setting}{\rm (p.\,\pageref{classKEMailSettings_a9})}. 

{\bf set\-Extended\-Setting}{\rm (p.\,\pageref{classKEMailSettings_a10})}. \end{Desc}


Definition at line 54 of file kemailsettings.h.\index{KEMailSettings@{KEMail\-Settings}!Extension@{Extension}}
\index{Extension@{Extension}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KEMail\-Settings::Extension}}\label{classKEMailSettings_w22}


The various extensions allowed. 



Definition at line 78 of file kemailsettings.h.

\subsection{Constructor \& Destructor Documentation}
\index{KEMailSettings@{KEMail\-Settings}!KEMailSettings@{KEMailSettings}}
\index{KEMailSettings@{KEMailSettings}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KEMail\-Settings::KEMail\-Settings ()}\label{classKEMailSettings_a0}


Default constructor, just sets things up. 



Definition at line 241 of file kemailsettings.cpp.

References default\-Profile\-Name(), set\-Default(), and set\-Profile().\index{KEMailSettings@{KEMail\-Settings}!~KEMailSettings@{$\sim$KEMailSettings}}
\index{~KEMailSettings@{$\sim$KEMailSettings}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KEMail\-Settings::$\sim${\bf KEMail\-Settings} ()}\label{classKEMailSettings_a1}


Default destructor, nothing to see here. 



Definition at line 271 of file kemailsettings.cpp.

\subsection{Member Function Documentation}
\index{KEMailSettings@{KEMail\-Settings}!profiles@{profiles}}
\index{profiles@{profiles}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KEMail\-Settings::profiles () const}\label{classKEMailSettings_a2}


List of profiles available. 



Definition at line 236 of file kemailsettings.cpp.\index{KEMailSettings@{KEMail\-Settings}!currentProfileName@{currentProfileName}}
\index{currentProfileName@{currentProfileName}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KEMail\-Settings::current\-Profile\-Name () const}\label{classKEMailSettings_a3}


\begin{Desc}
\item[Returns:]what profile we're currently using \end{Desc}


Definition at line 231 of file kemailsettings.cpp.\index{KEMailSettings@{KEMail\-Settings}!setProfile@{setProfile}}
\index{setProfile@{setProfile}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KEMail\-Settings::set\-Profile (const {\bf QString} \&)}\label{classKEMailSettings_a4}


Change the current profile. 



Definition at line 218 of file kemailsettings.cpp.

References QString::append().

Referenced by KEMail\-Settings().\index{KEMailSettings@{KEMail\-Settings}!defaultProfileName@{defaultProfileName}}
\index{defaultProfileName@{defaultProfileName}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KEMail\-Settings::default\-Profile\-Name () const}\label{classKEMailSettings_a5}


\begin{Desc}
\item[Returns:]the name of the one that's currently default QString::null if none \end{Desc}


Definition at line 44 of file kemailsettings.cpp.

Referenced by KEMail\-Settings().\index{KEMailSettings@{KEMail\-Settings}!setDefault@{setDefault}}
\index{setDefault@{setDefault}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KEMail\-Settings::set\-Default (const {\bf QString} \&)}\label{classKEMailSettings_a6}


New default.. 



Definition at line 208 of file kemailsettings.cpp.

Referenced by KEMail\-Settings().\index{KEMailSettings@{KEMail\-Settings}!getSetting@{getSetting}}
\index{getSetting@{getSetting}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KEMail\-Settings::get\-Setting ({\bf KEMail\-Settings::Setting} {\em s})}\label{classKEMailSettings_a7}


Get a \char`\"{}basic\char`\"{} setting, one that I've already thought of.. 



Definition at line 49 of file kemailsettings.cpp.\index{KEMailSettings@{KEMail\-Settings}!getExtendedSetting@{getExtendedSetting}}
\index{getExtendedSetting@{getExtendedSetting}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KEMail\-Settings::get\-Extended\-Setting ({\bf KEMail\-Settings::Extension} {\em e}, const {\bf QString} \& {\em s})}\label{classKEMailSettings_a9}


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. 

\index{KEMailSettings@{KEMail\-Settings}!setExtendedSetting@{setExtendedSetting}}
\index{setExtendedSetting@{setExtendedSetting}!KEMailSettings@{KEMail\-Settings}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KEMail\-Settings::set\-Extended\-Setting ({\bf KEMail\-Settings::Extension} {\em e}, const {\bf QString} \& {\em s}, const {\bf QString} \& {\em v})}\label{classKEMailSettings_a10}


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:\begin{CompactItemize}
\item 
kemailsettings.h\item 
kemailsettings.cpp\end{CompactItemize}
