7#ifndef _KEMAILSETTINGS_H
8#define _KEMAILSETTINGS_H
10#include <QCoreApplication>
13#include <kconfigcore_export.h>
15class KEMailSettingsPrivate;
51#if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0)
55 OutServerType KCONFIGCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(5, 82, 5, 0,
"No known users"),
59 OutServerCommand KCONFIGCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(5, 82, 5, 0,
"No known users"),
63 OutServerTLS KCONFIGCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(5, 82, 5, 0,
"No known users"),
65 OutServerType_DEPRECATED_DO_NOT_USE,
66 OutServerCommand_DEPRECATED_DO_NOT_USE,
67 OutServerTLS_DEPRECATED_DO_NOT_USE,
72#if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0)
76 InServerType KCONFIGCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(5, 82, 5, 0,
"No known users"),
80 InServerMBXType KCONFIGCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(5, 82, 5, 0,
"No known users"),
84 InServerTLS KCONFIGCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(5, 82, 5, 0,
"No known users")
117#if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0)
123 KCONFIGCORE_DEPRECATED_VERSION(5, 0,
"API planned to be changed")
124 QString currentProfileName() const;
163 KEMailSettingsPrivate *
const p;
This is just a small class to facilitate accessing e-mail settings in a sane way, and allowing any pr...
Definition kemailsettings.h:29
Extension
The various extensions allowed.
Definition kemailsettings.h:91
QString getSetting(KEMailSettings::Setting s) const
Get one of the predefined "basic" settings.
void setProfile(const QString &s)
Change the current profile.
void setSetting(KEMailSettings::Setting s, const QString &v)
Set one of the predefined "basic" settings.
QString defaultProfileName() const
Returns the name of the default profile.
KEMailSettings()
Default constructor, just sets things up and sets the default profile as the current profile.
QStringList profiles() const
List of profiles available.
~KEMailSettings()
Default destructor, nothing to see here.
Setting
The list of settings that I thought of when I wrote this class.
Definition kemailsettings.h:41
void setDefault(const QString &def)
Sets a new default.