kmail
configuredialog.cpp File Reference
#include <config-kmail.h>
#include "configuredialog.h"
#include "configuredialog_p.h"
#include "globalsettings.h"
#include "replyphrases.h"
#include "templatesconfiguration_kfg.h"
#include "kmkernel.h"
#include "simplestringlisteditor.h"
#include "accountdialog.h"
#include <libkdepim/colorlistbox.h>
#include "kmacctseldlg.h"
#include "messagesender.h"
#include "kmfoldermgr.h"
#include <kpimidentities/identitymanager.h>
#include "identitylistview.h"
#include "kcursorsaver.h"
#include "accountmanager.h"
#include "folderrequester.h"
#include "accountcombobox.h"
#include "imapaccountbase.h"
#include "folderstorage.h"
#include "kmfolder.h"
#include "kmmainwidget.h"
#include "kmmessagetag.h"
#include "recentaddresses.h"
#include "completionordereditor.h"
#include "ldapclient.h"
#include "templatesconfiguration.h"
#include "customtemplates.h"
#include "identitydialog.h"
#include <kpimidentities/identity.h>
#include <kmime/kmime_dateformatter.h>
#include "kleo/cryptoconfig.h"
#include "kleo/cryptobackendfactory.h"
#include "libkleo/ui/backendconfigwidget.h"
#include "libkleo/ui/keyrequester.h"
#include "libkleo/ui/keyselectiondialog.h"
#include <mailtransport/transportmanagementwidget.h>
#include <klocale.h>
#include <kcharsets.h>
#include <kascii.h>
#include <knuminput.h>
#include <kfontchooser.h>
#include <kmessagebox.h>
#include <kurlrequester.h>
#include <kseparator.h>
#include <kiconloader.h>
#include <kstandarddirs.h>
#include <kwindowsystem.h>
#include <kconfig.h>
#include <kcmultidialog.h>
#include <knotifyconfigwidget.h>
#include <kconfiggroup.h>
#include <kbuttongroup.h>
#include <kcolorcombo.h>
#include <kfontrequester.h>
#include <kicondialog.h>
#include <kkeysequencewidget.h>
#include <KIconButton>
#include <KRandom>
#include <KColorScheme>
#include <QBoxLayout>
#include <QCheckBox>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QHideEvent>
#include <QLabel>
#include <QLayout>
#include <QList>
#include <QRadioButton>
#include <QLineEdit>
#include <QGroupBox>
#include <QToolTip>
#include <QListWidget>
#include <QValidator>
#include <QVBoxLayout>
#include <QWhatsThis>
#include <QDBusConnection>
#include <QHostInfo>
#include <QTextCodec>
#include <QMenu>
#include <assert.h>
#include <stdlib.h>
#include <kvbox.h>
#include "configuredialog.moc"
Go to the source code of this file.
Defines | |
| #define | _PATH_SENDMAIL "/usr/sbin/sendmail" |
| #define | DIM(x) sizeof(x) / sizeof(*x) |
Functions | |
| void | checkLockDown (QWidget *w, const KConfigGroup &c, const char *key) |
| static void | disableDirmngrWidget (QWidget *w) |
| static void | initializeDirmngrCheckbox (QCheckBox *cb, Kleo::CryptoConfigEntry *entry) |
| void | loadProfile (QGroupBox *box, QButtonGroup *group, const KConfigGroup &c, const EnumConfigEntry &e) |
| template<typename T_Widget, typename T_Entry> | |
| void | loadProfile (T_Widget *g, const KConfigGroup &c, const T_Entry &e) |
| void | loadWidget (QGroupBox *box, QButtonGroup *group, const KConfigGroup &c, const EnumConfigEntry &e) |
| void | loadWidget (QCheckBox *b, const KConfigGroup &c, const BoolConfigEntry &e) |
| void | populateButtonGroup (QGroupBox *box, QButtonGroup *group, int orientation, const EnumConfigEntry &e) |
| void | populateCheckBox (QCheckBox *b, const BoolConfigEntry &e) |
| void | saveButtonGroup (QButtonGroup *group, KConfigGroup &c, const EnumConfigEntry &e) |
| void | saveCheckBox (QCheckBox *b, KConfigGroup &c, const BoolConfigEntry &e) |
| static void | saveCheckBoxToKleoEntry (QCheckBox *cb, Kleo::CryptoConfigEntry *entry) |
| static QString | uniqueName (const QStringList &list, const QString &name) |
Variables | |
| struct { | |
| const char * configName | |
| const char * displayName | |
| } | colorNames [] |
| struct { | |
| DateFormatter::FormatType dateDisplay | |
| const char * displayName | |
| } | dateDisplayConfig [] |
| static const EnumConfigEntry | folderListMode |
| static const EnumConfigEntryItem | folderListModes [] |
| struct { | |
| const char * configName | |
| const char * displayName | |
| bool enableFamilyAndSize | |
| bool onlyFixed | |
| } | fontNames [] |
| static const char * | lockedDownWarning |
| static const EnumConfigEntry | mimeTreeLocation |
| static const EnumConfigEntryItem | mimeTreeLocations [] |
| static const EnumConfigEntry | mimeTreeMode |
| static const EnumConfigEntryItem | mimeTreeModes [] |
| static const int | numColorNames = sizeof colorNames / sizeof *colorNames |
| static const int | numDateDisplayConfig |
| static const int | numFontNames = sizeof fontNames / sizeof *fontNames |
| static const EnumConfigEntry | readerWindowMode |
| static const EnumConfigEntryItem | readerWindowModes [] |
| static const BoolConfigEntry | showColorbarMode |
| static const BoolConfigEntry | showEmoticons |
| static const BoolConfigEntry | showExpandQuotesMark |
| static const BoolConfigEntry | showSpamStatusMode |
| static const BoolConfigEntry | shrinkQuotes |
Define Documentation
| #define _PATH_SENDMAIL "/usr/sbin/sendmail" |
Definition at line 136 of file configuredialog.cpp.
| #define DIM | ( | x | ) | sizeof(x) / sizeof(*x) |
Definition at line 142 of file configuredialog.cpp.
Function Documentation
| void @44::checkLockDown | ( | QWidget * | w, | |
| const KConfigGroup & | c, | |||
| const char * | key | |||
| ) | [static] |
Definition at line 169 of file configuredialog.cpp.
| static void disableDirmngrWidget | ( | QWidget * | w | ) | [static] |
Definition at line 4534 of file configuredialog.cpp.
| static void initializeDirmngrCheckbox | ( | QCheckBox * | cb, | |
| Kleo::CryptoConfigEntry * | entry | |||
| ) | [static] |
Definition at line 4539 of file configuredialog.cpp.
| void @44::loadProfile | ( | QGroupBox * | box, | |
| QButtonGroup * | group, | |||
| const KConfigGroup & | c, | |||
| const EnumConfigEntry & | e | |||
| ) | [inline, static] |
Definition at line 236 of file configuredialog.cpp.
| void @44::loadProfile | ( | T_Widget * | g, | |
| const KConfigGroup & | c, | |||
| const T_Entry & | e | |||
| ) | [inline, static] |
Definition at line 231 of file configuredialog.cpp.
| void @44::loadWidget | ( | QGroupBox * | box, | |
| QButtonGroup * | group, | |||
| const KConfigGroup & | c, | |||
| const EnumConfigEntry & | e | |||
| ) | [static] |
Definition at line 203 of file configuredialog.cpp.
| void @44::loadWidget | ( | QCheckBox * | b, | |
| const KConfigGroup & | c, | |||
| const BoolConfigEntry & | e | |||
| ) | [static] |
Definition at line 197 of file configuredialog.cpp.
| void @44::populateButtonGroup | ( | QGroupBox * | box, | |
| QButtonGroup * | group, | |||
| int | orientation, | |||
| const EnumConfigEntry & | e | |||
| ) | [static] |
Definition at line 178 of file configuredialog.cpp.
| void @44::populateCheckBox | ( | QCheckBox * | b, | |
| const BoolConfigEntry & | e | |||
| ) | [static] |
Definition at line 193 of file configuredialog.cpp.
| void @44::saveButtonGroup | ( | QButtonGroup * | group, | |
| KConfigGroup & | c, | |||
| const EnumConfigEntry & | e | |||
| ) | [static] |
Definition at line 222 of file configuredialog.cpp.
| void @44::saveCheckBox | ( | QCheckBox * | b, | |
| KConfigGroup & | c, | |||
| const BoolConfigEntry & | e | |||
| ) | [static] |
Definition at line 217 of file configuredialog.cpp.
| static void saveCheckBoxToKleoEntry | ( | QCheckBox * | cb, | |
| Kleo::CryptoConfigEntry * | entry | |||
| ) | [static] |
Definition at line 4685 of file configuredialog.cpp.
| static QString uniqueName | ( | const QStringList & | list, | |
| const QString & | name | |||
| ) | [inline, static] |
Definition at line 752 of file configuredialog.cpp.
Variable Documentation
struct { ... } colorNames[] [static] |
| const char* configName |
Definition at line 1280 of file configuredialog.cpp.
| DateFormatter::FormatType dateDisplay |
Definition at line 1750 of file configuredialog.cpp.
struct { ... } dateDisplayConfig[] [static] |
| int defaultItem |
Definition at line 156 of file configuredialog.cpp.
| bool defaultValue |
Definition at line 162 of file configuredialog.cpp.
| const char* desc |
Definition at line 148 of file configuredialog.cpp.
| const char* displayName |
Definition at line 1281 of file configuredialog.cpp.
| bool enableFamilyAndSize |
Definition at line 1282 of file configuredialog.cpp.
const EnumConfigEntry folderListMode [static] |
Initial value:
{
"Geometry", "FolderList", I18N_NOOP("Folder List"),
folderListModes, DIM(folderListModes), 0
}
Definition at line 1625 of file configuredialog.cpp.
const EnumConfigEntryItem folderListModes[] [static] |
Initial value:
{
{ "long", I18N_NOOP("Lon&g folder list") },
{ "short", I18N_NOOP("Shor&t folder list" ) }
}
Definition at line 1621 of file configuredialog.cpp.
struct { ... } fontNames[] [static] |
| const char* group |
Definition at line 151 of file configuredialog.cpp.
| const EnumConfigEntryItem* items |
Definition at line 154 of file configuredialog.cpp.
| const char* key |
Definition at line 147 of file configuredialog.cpp.
const char* lockedDownWarning [static] |
Initial value:
I18N_NOOP("<qt><p>This setting has been fixed by your administrator.</p>"
"<p>If you think this is an error, please contact him.</p></qt>")
Definition at line 165 of file configuredialog.cpp.
const EnumConfigEntry mimeTreeLocation [static] |
Initial value:
{
"Reader", "MimeTreeLocation", I18N_NOOP("Message Structure Viewer Placement"),
mimeTreeLocations, DIM(mimeTreeLocations), 1
}
Definition at line 1635 of file configuredialog.cpp.
const EnumConfigEntryItem mimeTreeLocations[] [static] |
Initial value:
{
{ "top", I18N_NOOP("Abo&ve the message pane") },
{ "bottom", I18N_NOOP("&Below the message pane") }
}
Definition at line 1631 of file configuredialog.cpp.
const EnumConfigEntry mimeTreeMode [static] |
Initial value:
{
"Reader", "MimeTreeMode", I18N_NOOP("Message Structure Viewer"),
mimeTreeModes, DIM(mimeTreeModes), 1
}
Definition at line 1645 of file configuredialog.cpp.
const EnumConfigEntryItem mimeTreeModes[] [static] |
Initial value:
{
{ "never", I18N_NOOP("Show &never") },
{ "smart", I18N_NOOP("Show only for non-plaintext &messages") },
{ "always", I18N_NOOP("Show alway&s") }
}
Definition at line 1640 of file configuredialog.cpp.
const int numColorNames = sizeof colorNames / sizeof *colorNames [static] |
Definition at line 1484 of file configuredialog.cpp.
const int numDateDisplayConfig [static] |
Initial value:
sizeof dateDisplayConfig / sizeof *dateDisplayConfig
Definition at line 1758 of file configuredialog.cpp.
const int numFontNames = sizeof fontNames / sizeof *fontNames [static] |
Definition at line 1300 of file configuredialog.cpp.
| int numItems |
Definition at line 155 of file configuredialog.cpp.
| bool onlyFixed |
Definition at line 1283 of file configuredialog.cpp.
const EnumConfigEntry readerWindowMode [static] |
Initial value:
{
"Geometry", "readerWindowMode", I18N_NOOP("Message Preview Pane"),
readerWindowModes, DIM(readerWindowModes), 1
}
Definition at line 1656 of file configuredialog.cpp.
const EnumConfigEntryItem readerWindowModes[] [static] |
Initial value:
{
{ "hide", I18N_NOOP("&Do not show a message preview pane") },
{ "below", I18N_NOOP("Show the message preview pane belo&w the message list") },
{ "right", I18N_NOOP("Show the message preview pane ne&xt to the message list") }
}
Definition at line 1651 of file configuredialog.cpp.
const BoolConfigEntry showColorbarMode [static] |
Initial value:
{
"Reader", "showColorbar", I18N_NOOP("Show HTML stat&us bar"), false
}
Definition at line 2002 of file configuredialog.cpp.
const BoolConfigEntry showEmoticons [static] |
Initial value:
{
"Reader", "ShowEmoticons", I18N_NOOP("Replace smileys by emoticons"), true
}
Definition at line 2010 of file configuredialog.cpp.
const BoolConfigEntry showExpandQuotesMark [static] |
Initial value:
{
"Reader", "ShowExpandQuotesMark", I18N_NOOP("Show expand/collapse quote marks"), false
}
Definition at line 2018 of file configuredialog.cpp.
const BoolConfigEntry showSpamStatusMode [static] |
Initial value:
{
"Reader", "showSpamStatus", I18N_NOOP("Show s&pam status in fancy headers"), true
}
Definition at line 2006 of file configuredialog.cpp.
const BoolConfigEntry shrinkQuotes [static] |
Initial value:
{
"Reader", "ShrinkQuotes", I18N_NOOP("Use smaller font for quoted text"), false
}
Definition at line 2014 of file configuredialog.cpp.
KDE 4.2 API Reference