kemailsettings.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef _KEMAILSETTINGS_H
00030 #define _KEMAILSETTINGS_H "$Id: kemailsettings.h,v 1.6 2002/06/17 17:19:59 garbanzo Exp $"
00031
00032 #include <qstring.h>
00033 #include <qstringlist.h>
00034
00035 class KEMailSettingsPrivate;
00036
00037
00045 class KEMailSettings {
00046 public:
00054 enum Setting {
00055 ClientProgram,
00056 ClientTerminal,
00057 RealName,
00058 EmailAddress,
00059 ReplyToAddress,
00060 Organization,
00061 OutServer,
00062 OutServerLogin,
00063 OutServerPass,
00064 OutServerType,
00065 OutServerCommand,
00066 OutServerTLS,
00067 InServer,
00068 InServerLogin,
00069 InServerPass,
00070 InServerType,
00071 InServerMBXType,
00072 InServerTLS
00073 };
00074
00078 enum Extension {
00079 POP3,
00080 SMTP,
00081 OTHER
00082 };
00083
00087 KEMailSettings();
00088
00092 ~KEMailSettings();
00093
00097 QStringList profiles() const;
00098
00102 QString currentProfileName() const;
00103
00107 void setProfile (const QString &);
00108
00112 QString defaultProfileName() const;
00113
00117 void setDefault(const QString &);
00118
00122 QString getSetting(KEMailSettings::Setting s);
00123 void setSetting(KEMailSettings::Setting s, const QString &v);
00124
00130 QString getExtendedSetting(KEMailSettings::Extension e, const QString &s );
00131
00137 void setExtendedSetting(KEMailSettings::Extension e, const QString &s, const QString &v );
00138
00139 private:
00140 KEMailSettingsPrivate *p;
00141 };
00142
00143 #endif
This file is part of the documentation for kdelibs Version 3.1.4.