kmail

configuredialog.cpp File Reference

#include <config.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 "colorlistbox.h"
#include "kmacctseldlg.h"
#include "messagesender.h"
#include "kmtransport.h"
#include "kmfoldermgr.h"
#include <libkpimidentities/identitymanager.h>
#include "identitylistview.h"
#include "kcursorsaver.h"
#include "accountmanager.h"
#include <composercryptoconfiguration.h>
#include <warningconfiguration.h>
#include <smimeconfiguration.h>
#include "templatesconfiguration.h"
#include "customtemplates.h"
#include "folderrequester.h"
#include "accountcombobox.h"
#include "imapaccountbase.h"
#include "folderstorage.h"
#include "kmfolder.h"
#include "kmmainwidget.h"
#include "recentaddresses.h"
#include "completionordereditor.h"
#include "ldapclient.h"
#include "index.h"
#include "identitydialog.h"
#include <libkpimidentities/identity.h>
#include <kmime_util.h>
#include <kleo/cryptoconfig.h>
#include <kleo/cryptobackendfactory.h>
#include <ui/backendconfigwidget.h>
#include <ui/keyrequester.h>
#include <ui/keyselectiondialog.h>
#include <klocale.h>
#include <kapplication.h>
#include <kcharsets.h>
#include <kasciistringtools.h>
#include <kdebug.h>
#include <knuminput.h>
#include <kfontdialog.h>
#include <kmessagebox.h>
#include <kurlrequester.h>
#include <kseparator.h>
#include <kiconloader.h>
#include <kstandarddirs.h>
#include <kwin.h>
#include <knotifydialog.h>
#include <kconfig.h>
#include <kactivelabel.h>
#include <kcmultidialog.h>
#include <qvalidator.h>
#include <qwhatsthis.h>
#include <qvgroupbox.h>
#include <qvbox.h>
#include <qvbuttongroup.h>
#include <qhbuttongroup.h>
#include <qtooltip.h>
#include <qlabel.h>
#include <qtextcodec.h>
#include <qheader.h>
#include <qpopupmenu.h>
#include <qradiobutton.h>
#include <qlayout.h>
#include <qcheckbox.h>
#include <qwidgetstack.h>
#include <assert.h>
#include <stdlib.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

static void disableDirmngrWidget (QWidget *w)
static void initializeDirmngrCheckbox (QCheckBox *cb, Kleo::CryptoConfigEntry *entry)
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 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 125 of file configuredialog.cpp.

#define DIM (  )     sizeof(x) / sizeof(*x)

Definition at line 131 of file configuredialog.cpp.


Function Documentation

static void disableDirmngrWidget ( QWidget w  )  [static]

Definition at line 4135 of file configuredialog.cpp.

static void initializeDirmngrCheckbox ( QCheckBox cb,
Kleo::CryptoConfigEntry *  entry 
) [static]

Definition at line 4141 of file configuredialog.cpp.

static void saveCheckBoxToKleoEntry ( QCheckBox cb,
Kleo::CryptoConfigEntry *  entry 
) [static]

Definition at line 4283 of file configuredialog.cpp.

static QString uniqueName ( const QStringList list,
const QString name 
) [inline, static]

Definition at line 734 of file configuredialog.cpp.


Variable Documentation

struct { ... } colorNames[] [static]

const char* configName

Definition at line 1526 of file configuredialog.cpp.

DateFormatter::FormatType dateDisplay

Definition at line 1981 of file configuredialog.cpp.

struct { ... } dateDisplayConfig[] [static]

const char* displayName

Definition at line 1527 of file configuredialog.cpp.

Definition at line 1528 of file configuredialog.cpp.

const EnumConfigEntry folderListMode [static]

Initial value:

 {
  "Geometry", "FolderList", I18N_NOOP("Folder List"),
  folderListModes, DIM(folderListModes), 0
}

Definition at line 1858 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 1854 of file configuredialog.cpp.

struct { ... } fontNames[] [static]

const EnumConfigEntry mimeTreeLocation [static]

Initial value:

 {
  "Reader", "MimeTreeLocation", I18N_NOOP("Message Structure Viewer Placement"),
  mimeTreeLocations, DIM(mimeTreeLocations), 1
}

Definition at line 1868 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 1864 of file configuredialog.cpp.

const EnumConfigEntry mimeTreeMode [static]

Initial value:

 {
  "Reader", "MimeTreeMode", I18N_NOOP("Message Structure Viewer"),
  mimeTreeModes, DIM(mimeTreeModes), 1
}

Definition at line 1878 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 1873 of file configuredialog.cpp.

const int numColorNames = sizeof colorNames / sizeof *colorNames [static]

Definition at line 1724 of file configuredialog.cpp.

const int numDateDisplayConfig [static]

Initial value:

Definition at line 1989 of file configuredialog.cpp.

const int numFontNames = sizeof fontNames / sizeof *fontNames [static]

Definition at line 1546 of file configuredialog.cpp.

bool onlyFixed

Definition at line 1529 of file configuredialog.cpp.

const EnumConfigEntry readerWindowMode [static]

Initial value:

 {
  "Geometry", "readerWindowMode", I18N_NOOP("Message Preview Pane"),
  readerWindowModes, DIM(readerWindowModes), 1
}

Definition at line 1889 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 1884 of file configuredialog.cpp.

const BoolConfigEntry showColorbarMode [static]

Initial value:

 {
  "Reader", "showColorbar", I18N_NOOP("Show HTML stat&us bar"), false
}

Definition at line 2223 of file configuredialog.cpp.

const BoolConfigEntry showEmoticons [static]

Initial value:

 {
  "Reader", "ShowEmoticons", I18N_NOOP("Replace smileys by emoticons"), true
}

Definition at line 2231 of file configuredialog.cpp.

const BoolConfigEntry showExpandQuotesMark [static]

Initial value:

 {
  "Reader", "ShowExpandQuotesMark", I18N_NOOP("Show expand/collapse quote marks"), false
}

Definition at line 2239 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 2227 of file configuredialog.cpp.

const BoolConfigEntry shrinkQuotes [static]

Initial value:

 {
  "Reader", "ShrinkQuotes", I18N_NOOP("Use smaller font for quoted text"), false
}

Definition at line 2235 of file configuredialog.cpp.