kmail

KMail Namespace Reference

folderdiaquotatab.h More...


Namespaces

namespace  ACLJobs
namespace  AnnotationJobs
namespace  Interface
namespace  KorgHelper
namespace  QuotaJobs
namespace  Util

Classes

class  AboutData
class  AccountComboBox
 A readonly combobox showing the accounts, to select one. More...
class  AccountDialog
class  AccountManager
 The account manager is responsible for creating accounts of various types via the factory method create() and for keeping track of them. More...
class  Accumulator
class  ACLEntryDialog
 "New Access Control Entry" dialog. More...
struct  ACLListEntry
 One entry in the ACL list: user and permissions. More...
class  ActionScheduler
struct  AnnotationAttribute
 One entry in the annotation list: attribute name and attribute value. More...
class  AntiSpamConfig
 Singleton to manage loading the kmail.antispamrc file. More...
class  AntiSpamWizard
 KMail anti-spam wizard. More...
class  ASWizInfoPage
class  ASWizPage
class  ASWizSpamRulesPage
class  ASWizSummaryPage
class  ASWizVirusRulesPage
class  AttachmentCollector
class  AttachmentListView
class  AttachmentStrategy
class  BodyPartFormatter
class  BodyPartFormatterFactory
class  BodyVisitor
class  BodyVisitorFactory
class  BodyVisitorHidden
class  BodyVisitorInline
class  BodyVisitorSmart
class  CachedImapJob
class  Callback
 This class is used for callback hooks needed by bodypart formatter plugins. More...
class  Composer
class  CopyFolderJob
 Copy a hierarchy of folders somewhere else in the folder tree. More...
class  CSSHelper
class  DictionaryComboBox
 A combo box for selecting the dictionary used for spell checking. More...
class  EditorWatcher
 Starts an editor for the given URL and emits an signal when editing has been finished. More...
class  ExpireJob
class  ExpiryPropertiesDialog
class  ExtraFolder
class  FavoriteFolderView
class  FavoriteFolderViewItem
class  FileHtmlWriter
class  FilterImporterExporter
 Utility class that provides persisting of filters to/from KConfig. More...
class  FilterLog
 KMail Filter Log Collector. More...
class  FilterLogDialog
 KMail Filter Log Collector. More...
class  FolderDiaACLTab
 "Access Control" tab in the folder dialog Internal class, only used by KMFolderDialog More...
class  FolderDiaGeneralTab
 "General" tab in the folder dialog Internal class, only used by KMFolderDialog More...
class  FolderDiaQuotaTab
 "Quota" tab in the folder dialog Internal class, only used by KMFolderDialog More...
class  FolderDiaTab
 This is the base class for tabs in the folder dialog. More...
class  FolderDiaTemplatesTab
 "Templates" tab in the folder dialog Internal class, only used by KMFolderDialog More...
class  FolderIface
class  FolderJob
class  FolderRequester
 A widget that contains a KLineEdit which shows the current folder and a button that fires a KMFolderSelDlg The dialog is set to disable readonly folders by default Search folders are excluded. More...
class  FolderShortcutDialog
class  FolderTreeBase
class  FolderViewToolTip
class  HeaderItem
 Visual representation of a member of the set of displayables (mails in the current folder). More...
class  HeaderListQuickSearch
class  HeaderStrategy
class  HeaderStyle
 This class encapsulates the visual appearance of message headers. More...
class  HtmlStatusBar
 The HTML statusbar widget for use with the reader. More...
class  HtmlWriter
 An interface to HTML sinks. More...
class  IdentityDialog
class  IdentityDrag
 A QDragObject for KPIM::Identity. More...
class  IdentityListView
 A listview for KPIM::Identity. More...
class  IdentityListViewItem
 A QListViewItem for use in IdentityListView. More...
class  ImapAccountBase
class  ImapJob
class  ISubject
class  JobScheduler
 The unique JobScheduler instance (owned by kmkernel) implements "background processing" of folder operations (like expiration and compaction). More...
class  KHtmlPartHtmlWriter
class  KMFolderSelDlg
class  ListJob
 Generic folder list job for (d)imap accounts. More...
class  LocalSubscriptionDialog
class  MaildirCompactionJob
 A job that runs in the background and compacts maildir folders. More...
class  MaildirJob
class  MailingList
 Class is used for all Mailing List handling inside KMail. More...
class  MailingListFolderPropertiesDialog
class  MailServiceImpl
class  MailSourceHighlighter
class  MailSourceViewer
class  ManageSieveScriptsDialog
class  MboxCompactionJob
 A job that runs in the background and compacts mbox folders. More...
class  MboxJob
class  MessageActions
 Manages common actions that can be performed on one or more messages. More...
class  MessageCopyHelper
 Helper class to copy/move a set of messages defined by their serial numbers from arbitrary folders into a common destination folder. More...
class  MessageProperty
class  MessageSender
struct  MessageStatus
class  NamespaceEditDialog
class  NamespaceLineEdit
class  NetworkAccount
class  NewFolderDialog
class  ObjectTreeParser
class  PartMetaData
class  PartNodeBodyPart
 an implemenation of the BodyPart interface using partNodes More...
class  PopAccount
 KMail account for pop mail account. More...
class  ProcessResult
class  QuotaInfo
class  RedirectDialog
 KMail message redirection dialog. More...
class  RegExpLineEdit
class  RenameJob
 Rename and move (d)imap folders They can be moved everywhere (except search folders) as a new folder is created, all messages are moved there and the original folder is deleted. More...
class  RuleWidgetHandler
 An interface to filter/search rule widget handlers. More...
class  RuleWidgetHandlerManager
 Singleton to manage the list of RuleWidgetHandlers. More...
class  ScheduledCompactionTask
 A scheduled "compact mails in this folder" task. More...
class  ScheduledExpireTask
 A scheduled "expire mails in this folder" task. More...
class  ScheduledJob
 Base class for scheduled jobs. More...
class  ScheduledTask
 A scheduled task is some information about a folder job that should be run later. More...
class  SearchJob
 Search job. More...
class  SearchWindow
 The SearchWindow class provides a dialog for triggering a search on folders and storing that search as a search folder. More...
class  SecondaryWindow
 Window class for secondary KMail window like the composer window and the separate message window. More...
class  SieveConfig
class  SieveConfigEditor
class  SieveDebugDialog
 Diagnostic info for Sieve. More...
class  SieveJob
class  SignatureConfigurator
class  SimpleFolderTree
class  SortCacheItem
 Represents an item in the set of mails to be displayed but only as far as sorting, threading and reading/writing of the current sort order to a disk cache is concerned. More...
class  SpamAgent
class  SpamHeaderAnalyzer
 Flyweight for analysing spam headers. More...
class  SpamScore
 A simple tupel of agent, score and header. More...
class  SubscriptionDialog
class  SubscriptionDialogBase
class  TeeHtmlWriter
 A HtmlWriter that dispatches all calls to a list of other HtmlWriters. More...
class  TransportManager
 Currently only used to provide a function for reading the transport list. More...
class  UndoInfo
 A class for storing Undo information. More...
class  UndoStack
class  URLHandler
 An interface to reader link handlers. More...
class  URLHandlerManager
 Singleton to manage the list of URLHandlers. More...
class  Vacation
class  VacationDialog
class  VCardViewer
class  XFaceConfigurator

Typedefs

typedef QValueVector
< ACLListEntry
ACLList
typedef QValueVector
< AnnotationAttribute
AnnotationList
typedef QValueVector< QuotaInfoQuotaInfoList
typedef QValueList< SpamAgentSpamAgents
typedef QValueListIterator
< SpamAgent
SpamAgentsIterator
typedef QValueList< SpamScoreSpamScores
typedef QValueListIterator
< SpamScore
SpamScoresIterator

Enumerations

enum  { num_primes = 29 }
enum  FolderContentsType {
  ContentsTypeMail = 0, ContentsTypeCalendar, ContentsTypeContact, ContentsTypeNote,
  ContentsTypeTask, ContentsTypeJournal, ContentsTypeLast = ContentsTypeJournal
}
enum  IMAPUserIdFormat { FullEmail, UserName }
enum  ReplyStrategy {
  ReplySmart = 0, ReplyAuthor, ReplyList, ReplyAll,
  ReplyNone
}
enum  SpamAgentTypes {
  SpamAgentNone, SpamAgentBool, SpamAgentFloat, SpamAgentFloatLarge,
  SpamAgentAdjustedFloat
}
enum  StatusValueTypes {
  StatusImportant = 0, StatusNew = 1, StatusUnread = 2, StatusRead = 3,
  StatusOld = 4, StatusDeleted = 5, StatusReplied = 6, StatusForwarded = 7,
  StatusQueued = 8, StatusSent = 9, StatusWatched = 10, StatusIgnored = 11,
  StatusSpam = 12, StatusHam = 13, StatusToDo = 14, StatusHasAttachment = 15
}

Functions

static QString beginVerboseSigstatHeader ()
void checkConfigUpdates ()
void cleanup ()
static QString directionOf (const QString &str)
static QString dotstuff (QString s)
static QString endVerboseSigstatHeader (const PartMetaData &pmd)
static KURL findUrlForAccount (const KMail::ImapAccountBase *a)
void insertLibraryCataloguesAndIcons ()
void lockOrDie ()
ComposermakeComposer (KMMessage *msg=0, uint identity=0)
static QString makeShowAuditLogLink (const QString &auditLog)
unsigned long nextPrime (unsigned long n)
static int recurseFilter (QListViewItem *item, const QString &filter, int column)
static void renameChildFolders (KMFolderDir *dir, const QString &oldPath, const QString &newPath)
static int signatureToStatus (const GpgME::Signature &sig)
static QStringList stringList (const char *headers[], int numHeaders)
static QString strToHtml (const QString &str, int flags=LinkLocator::PreserveSpaces)
static QString writeSimpleSigstatHeader (const PartMetaData &block)

Variables

static const HeaderStrategyallStrategy = 0
static const about_data authors []
static const char * briefHeaders []
static const HeaderStrategybriefStrategy = 0
static const HeaderStylebriefStyle = 0
static const about_data credits []
static const HeaderStrategycustomStrategy = 0
static const HeaderStyleenterpriseStyle = 0
static const HeaderStylefancyStyle = 0
static const AttachmentStrategyhiddenStrategy = 0
static const AttachmentStrategyiconicStrategy = 0
static const unsigned short int imapDefaultPort = 143
static const AttachmentStrategyinlinedStrategy = 0
static const char kmailIdentityMimeType [] = "application/x-kmail-identity-drag"
static const int numBriefHeaders = sizeof briefHeaders / sizeof *briefHeaders
static const int numRichHeaders = sizeof richHeaders / sizeof *richHeaders
static const int numStandardHeaders = sizeof standardHeaders / sizeof *standardHeaders
static const HeaderStyleplainStyle = 0
static const unsigned long prime_list [num_primes]
static const char * richHeaders []
static const HeaderStrategyrichStrategy = 0
static QMap< QString, int > s_serverConnections
static const AttachmentStrategysmartStrategy = 0
static const char * standardHeaders []
static const HeaderStrategystandardStrategy = 0
static const int StatusValueCount
static const int StatusValueCountWithoutHidden = StatusValueCount - 1
static const MessageStatus StatusValues []

Detailed Description

folderdiaquotatab.h

quotajobs.h

The namespace where all classes of KMail can be found in.

A tiny little class to use for displaying raw messages, textual attachments etc.

The KMail namespace contains classes used for KMail.

Copyright (c) 2006 Till Adam <adam@kde.org>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of the Qt library by Trolltech AS, Norway (or with modified versions of Qt that use the same license as Qt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than Qt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

This is to keep them out of the way from all the other un-namespaced classes in libs and the rest of PIM.

Auto-deletes itself when closed.

Author:
Carsten Pfeiffer <pfeiffer@kde.org>


Typedef Documentation

Definition at line 51 of file acljobs.h.

Definition at line 109 of file quotajobs.h.

Definition at line 75 of file antispamconfig.h.

Definition at line 70 of file spamheaderanalyzer.h.


Enumeration Type Documentation

anonymous enum

Enumerator:
num_primes 

Definition at line 68 of file kmglobal.h.

Enumerator:
ContentsTypeMail 
ContentsTypeCalendar 
ContentsTypeContact 
ContentsTypeNote 
ContentsTypeTask 
ContentsTypeJournal 
ContentsTypeLast 

Definition at line 24 of file kmfoldertype.h.

Enumerator:
FullEmail 
UserName 

Definition at line 48 of file folderdiaacltab.h.

Enumerator:
ReplySmart 
ReplyAuthor 
ReplyList 
ReplyAll 
ReplyNone 

Definition at line 59 of file kmmessage.h.

Valid types of SpamAgent.

Enumerator:
SpamAgentNone  Invalid SpamAgent, skip this agent.
SpamAgentBool  Simple Yes or No (Razor).
SpamAgentFloat  For straight percentages between 0.0 and 1.0 (BogoFilter).
SpamAgentFloatLarge  For straight percentages between 0.0 and 100.0.
SpamAgentAdjustedFloat  Use this when we need to compare against a threshold (SpamAssasssin).

Definition at line 46 of file antispamconfig.h.

Enumerator:
StatusImportant 
StatusNew 
StatusUnread 
StatusRead 
StatusOld 
StatusDeleted 
StatusReplied 
StatusForwarded 
StatusQueued 
StatusSent 
StatusWatched 
StatusIgnored 
StatusSpam 
StatusHam 
StatusToDo 
StatusHasAttachment 

Definition at line 236 of file kmsearchpattern.h.


Function Documentation

static QString KMail::beginVerboseSigstatHeader (  )  [static]

Definition at line 2075 of file objecttreeparser.cpp.

KDE_EXPORT void KMail::checkConfigUpdates (  ) 

Definition at line 97 of file kmstartup.cpp.

KDE_EXPORT void KMail::cleanup (  ) 

Definition at line 261 of file kmstartup.cpp.

static QString KMail::directionOf ( const QString str  )  [inline, static]

Definition at line 74 of file headerstyle.cpp.

static QString KMail::dotstuff ( QString  s  )  [inline, static]

Definition at line 449 of file vacation.cpp.

static QString KMail::endVerboseSigstatHeader ( const PartMetaData &  pmd  )  [static]

Definition at line 2092 of file objecttreeparser.cpp.

static KURL KMail::findUrlForAccount ( const KMail::ImapAccountBase a  )  [static]

Definition at line 490 of file vacation.cpp.

KDE_EXPORT void KMail::insertLibraryCataloguesAndIcons (  ) 

Definition at line 244 of file kmstartup.cpp.

KDE_EXPORT void KMail::lockOrDie (  ) 

Definition at line 137 of file kmstartup.cpp.

KMail::Composer * KMail::makeComposer ( KMMessage msg = 0,
uint  identity = 0 
)

Definition at line 148 of file kmcomposewin.cpp.

static QString KMail::makeShowAuditLogLink ( const QString auditLog  )  [static]

Definition at line 2080 of file objecttreeparser.cpp.

unsigned long KMail::nextPrime ( unsigned long  n  )  [inline]

Definition at line 80 of file kmglobal.h.

static int KMail::recurseFilter ( QListViewItem item,
const QString filter,
int  column 
) [static]

Definition at line 309 of file kmfolderseldlg.cpp.

static void KMail::renameChildFolders ( KMFolderDir dir,
const QString oldPath,
const QString newPath 
) [static]

Definition at line 753 of file cachedimapjob.cpp.

static int KMail::signatureToStatus ( const GpgME::Signature &  sig  )  [static]

Definition at line 358 of file objecttreeparser.cpp.

static QStringList KMail::stringList ( const char *  headers[],
int  numHeaders 
) [static]

Definition at line 72 of file headerstrategy.cpp.

static QString KMail::strToHtml ( const QString str,
int  flags = LinkLocator::PreserveSpaces 
) [static]

Definition at line 93 of file headerstyle.cpp.

static QString KMail::writeSimpleSigstatHeader ( const PartMetaData &  block  )  [static]

Definition at line 2043 of file objecttreeparser.cpp.


Variable Documentation

const HeaderStrategy* KMail::allStrategy = 0 [static]

Definition at line 276 of file headerstrategy.cpp.

const about_data KMail::authors[] [static]

Definition at line 52 of file aboutdata.cpp.

const char* KMail::briefHeaders[] [static]

Initial value:

 {
    "subject", "from", "cc", "bcc", "date"
  }

Definition at line 49 of file headerstrategy.cpp.

const HeaderStrategy* KMail::briefStrategy = 0 [static]

Definition at line 279 of file headerstrategy.cpp.

const HeaderStyle* KMail::briefStyle = 0 [static]

Definition at line 954 of file headerstyle.cpp.

const about_data KMail::credits[] [static]

Definition at line 158 of file aboutdata.cpp.

Definition at line 280 of file headerstrategy.cpp.

const HeaderStyle* KMail::enterpriseStyle = 0 [static]

Definition at line 957 of file headerstyle.cpp.

const HeaderStyle* KMail::fancyStyle = 0 [static]

Definition at line 956 of file headerstyle.cpp.

Definition at line 183 of file attachmentstrategy.cpp.

Definition at line 180 of file attachmentstrategy.cpp.

const unsigned short int KMail::imapDefaultPort = 143 [static]

Definition at line 74 of file imapaccountbase.cpp.

Definition at line 182 of file attachmentstrategy.cpp.

const char KMail::kmailIdentityMimeType[] = "application/x-kmail-identity-drag" [static]

Definition at line 41 of file identitydrag.cpp.

const int KMail::numBriefHeaders = sizeof briefHeaders / sizeof *briefHeaders [static]

Definition at line 52 of file headerstrategy.cpp.

const int KMail::numRichHeaders = sizeof richHeaders / sizeof *richHeaders [static]

Definition at line 66 of file headerstrategy.cpp.

const int KMail::numStandardHeaders = sizeof standardHeaders / sizeof *standardHeaders [static]

Definition at line 58 of file headerstrategy.cpp.

const HeaderStyle* KMail::plainStyle = 0 [static]

Definition at line 955 of file headerstyle.cpp.

const unsigned long KMail::prime_list[num_primes] [static]

Initial value:

  {
    31ul,        53ul,         97ul,         193ul,       389ul,
    769ul,       1543ul,       3079ul,       6151ul,      12289ul,
    24593ul,     49157ul,      98317ul,      196613ul,    393241ul,
    786433ul,    1572869ul,    3145739ul,    6291469ul,   12582917ul,
    25165843ul,  50331653ul,   100663319ul,  201326611ul, 402653189ul,
    805306457ul, 1610612741ul, 3221225473ul, 4294967291ul
  }

Definition at line 70 of file kmglobal.h.

const char* KMail::richHeaders[] [static]

Initial value:

 {
    "subject", "date", "from", "cc", "bcc", "to",
    "organization", "organisation", "reply-to",
    "user-agent", "x-mailer"
  }

Definition at line 61 of file headerstrategy.cpp.

const HeaderStrategy* KMail::richStrategy = 0 [static]

Definition at line 277 of file headerstrategy.cpp.

Definition at line 50 of file networkaccount.cpp.

Definition at line 181 of file attachmentstrategy.cpp.

const char* KMail::standardHeaders[] [static]

Initial value:

 {
    "subject", "from", "cc", "bcc", "to"
  }

Definition at line 55 of file headerstrategy.cpp.

Definition at line 278 of file headerstrategy.cpp.

const int KMail::StatusValueCount [static]

Initial value:

    sizeof( StatusValues ) / sizeof( MessageStatus )

Definition at line 255 of file kmsearchpattern.h.

Definition at line 260 of file kmsearchpattern.h.

Initial value:

 {
    { I18N_NOOP( "Important" ),        "kmmsgflag"   },
    { I18N_NOOP( "New" ),              "kmmsgnew"   },
    { I18N_NOOP( "Unread" ),           "kmmsgunseen"   },
    { I18N_NOOP( "Read" ),             "kmmsgread"   },
    { I18N_NOOP( "Old" ),              0   },
    { I18N_NOOP( "Deleted" ),          "kmmsgdel"   },
    { I18N_NOOP( "Replied" ),          "kmmsgreplied"   },
    { I18N_NOOP( "Forwarded" ),        "kmmsgforwarded"   },
    { I18N_NOOP( "Queued" ),           "kmmsgqueued"   },
    { I18N_NOOP( "Sent" ),             "kmmsgsent"   },
    { I18N_NOOP( "Watched" ),          "kmmsgwatched"   },
    { I18N_NOOP( "Ignored" ),          "kmmsgignored"   },
    { I18N_NOOP( "Spam" ),             "kmmsgspam"   },
    { I18N_NOOP( "Ham" ),              "kmmsgham"   },
    { I18N_NOOP( "To Do" ),            "kmmsgtodo"   },
    { I18N_NOOP( "Has Attachment"),    "kmmsgattachment"   }
  }

Definition at line 217 of file kmsearchpattern.h.