kmail

KMail Namespace Reference


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>


Classes

class  AboutData
class  AccountComboBox
 A readonly combobox showing the accounts, to select one. More...
class  AccountDialog
class  NamespaceLineEdit
class  NamespaceEditDialog
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...
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  SpamAgent
class  AntiSpamConfig
class  AntiSpamWizard
class  ASWizPage
class  ASWizInfoPage
class  ASWizSpamRulesPage
class  ASWizVirusRulesPage
class  ASWizSummaryPage
class  AttachmentCollector
class  AttachmentListView
class  AttachmentStrategy
class  BodyPartFormatter
class  BodyPartFormatterFactory
class  BodyVisitor
class  BodyVisitorFactory
class  BodyVisitorSmart
class  BodyVisitorInline
class  BodyVisitorHidden
class  CachedImapJob
class  Callback
 This class is used for callback hooks needed by bodypart formatter plugins. More...
class  MboxCompactionJob
 A job that runs in the background and compacts mbox folders. More...
class  MaildirCompactionJob
 A job that runs in the background and compacts maildir folders. More...
class  ScheduledCompactionTask
 A scheduled "compact mails in this folder" task. More...
class  Composer
class  CopyFolderJob
 Copy a hierarchy of folders somewhere else in the folder tree. More...
class  CSSHelper
class  DictionaryComboBox
class  ExpireJob
class  ScheduledExpireTask
 A scheduled "expire mails in this folder" task. More...
class  ExpiryPropertiesDialog
class  FileHtmlWriter
class  FilterLog
class  FilterLogDialog
class  ACLEntryDialog
 "New Access Control Entry" dialog. More...
class  FolderDiaACLTab
 "Access Control" 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  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  SortCacheItem
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
class  IdentityDialog
class  IdentityDrag
class  IdentityListViewItem
class  IdentityListView
class  ImapAccountBase
class  ImapJob
class  HtmlWriter
class  RuleWidgetHandler
class  URLHandler
class  ISubject
class  ScheduledTask
 A scheduled task is some information about a folder job that should be run later. More...
class  JobScheduler
 The unique JobScheduler instance (owned by kmkernel) implements "background processing" of folder operations (like expiration and compaction). More...
class  ScheduledJob
 Base class for scheduled jobs. More...
class  KHtmlPartHtmlWriter
class  ExtraFolder
class  Accumulator
class  FolderDiaTab
 This is the base class for tabs in the folder dialog. More...
class  FolderDiaGeneralTab
 "General" tab in the folder dialog Internal class, only used by KMFolderDialog More...
class  FolderDiaTemplatesTab
 "Templates" tab in the folder dialog Internal class, only used by KMFolderDialog More...
class  SimpleFolderTree
class  KMFolderSelDlg
struct  MessageStatus
class  ListJob
 Generic folder list job for (d)imap accounts. More...
class  LocalSubscriptionDialog
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  MboxJob
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
class  NetworkAccount
class  NewFolderDialog
class  ProcessResult
class  ObjectTreeParser
class  PartMetaData
class  PartNodeBodyPart
class  PopAccount
 KMail account for pop mail account. More...
class  QuotaInfo
class  RedirectDialog
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  RuleWidgetHandlerManager
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  SpamScore
class  SpamHeaderAnalyzer
class  SubscriptionDialogBase
class  SubscriptionDialog
class  TeeHtmlWriter
class  TransportManager
class  UndoInfo
 A class for storing Undo information. More...
class  UndoStack
class  URLHandlerManager
class  Vacation
class  VacationDialog
class  VCardViewer
class  XFaceConfigurator

Namespaces

namespace  ACLJobs
namespace  AnnotationJobs
namespace  Interface
namespace  QuotaJobs
namespace  Util

Typedefs

typedef QValueVector
< ACLListEntry
ACLList
typedef QValueVector
< AnnotationAttribute
AnnotationList
typedef QValueList
< SpamAgent
SpamAgents
typedef
QValueListIterator
< SpamAgent
SpamAgentsIterator
typedef QValueVector
< KMail::ACLListEntry
ACLList
typedef QValueVector
< KMail::ACLListEntry
ACLList
typedef QValueVector
< QuotaInfo
QuotaInfoList
typedef QValueList
< SpamScore
SpamScores
typedef
QValueListIterator
< SpamScore
SpamScoresIterator

Enumerations

enum  SpamAgentTypes {
  SpamAgentNone, SpamAgentBool, SpamAgentFloat, SpamAgentFloatLarge,
  SpamAgentAdjustedFloat
}
enum  IMAPUserIdFormat { FullEmail, UserName }
enum  FolderContentsType {
  ContentsTypeMail = 0, ContentsTypeCalendar, ContentsTypeContact, ContentsTypeNote,
  ContentsTypeTask, ContentsTypeJournal, ContentsTypeLast = ContentsTypeJournal
}
enum  { num_primes = 29 }
enum  ReplyStrategy {
  ReplySmart = 0, ReplyAuthor, ReplyList, ReplyAll,
  ReplyNone
}
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 void renameChildFolders (KMFolderDir *dir, const QString &oldPath, const QString &newPath)
ComposermakeComposer (KMMessage *msg=0, uint identity=0)
static QStringList stringList (const char *headers[], int numHeaders)
static QString directionOf (const QString &str)
static QString strToHtml (const QString &str, int flags=LinkLocator::PreserveSpaces)
static int recurseFilter (QListViewItem *item, const QString &filter, int column)
unsigned long nextPrime (unsigned long n)
void checkConfigUpdates ()
void lockOrDie ()
void insertLibraryCataloguesAndIcons ()
void cleanup ()
static QString dotstuff (QString s)
static KURL findUrlForAccount (const KMail::ImapAccountBase *a)

Variables

static const about_data authors []
static const about_data credits []
static const
AttachmentStrategy
iconicStrategy = 0
static const
AttachmentStrategy
smartStrategy = 0
static const
AttachmentStrategy
inlinedStrategy = 0
static const
AttachmentStrategy
hiddenStrategy = 0
static const int FolderIface_fhash = 11
static const char *const FolderIface_ftable [10][3]
static const int FolderIface_ftable_hiddens [9]
static const char * briefHeaders []
static const int numBriefHeaders = sizeof briefHeaders / sizeof *briefHeaders
static const char * standardHeaders []
static const int numStandardHeaders = sizeof standardHeaders / sizeof *standardHeaders
static const char * richHeaders []
static const int numRichHeaders = sizeof richHeaders / sizeof *richHeaders
static const
HeaderStrategy
allStrategy = 0
static const
HeaderStrategy
richStrategy = 0
static const
HeaderStrategy
standardStrategy = 0
static const
HeaderStrategy
briefStrategy = 0
static const
HeaderStrategy
customStrategy = 0
static const
HeaderStyle
briefStyle = 0
static const
HeaderStyle
plainStyle = 0
static const
HeaderStyle
fancyStyle = 0
static const char kmailIdentityMimeType [] = "application/x-kmail-identity-drag"
static const
unsigned short int 
imapDefaultPort = 143
static const
unsigned long 
prime_list [num_primes]
static const
MessageStatus 
StatusValues []
static const int StatusValueCount
static const int StatusValueCountWithoutHidden = StatusValueCount - 1
static QMap< QString,
int > 
s_serverConnections

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.


Variable Documentation

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

Initial value:

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

Definition at line 49 of file headerstrategy.cpp.

const char* const KMail::FolderIface_ftable[10][3] [static]

Initial value:

 {
    { "QString", "path()", "path()" },
    { "QString", "displayName()", "displayName()" },
    { "QString", "displayPath()", "displayPath()" },
    { "bool", "usesCustomIcons()", "usesCustomIcons()" },
    { "QString", "normalIconPath()", "normalIconPath()" },
    { "QString", "unreadIconPath()", "unreadIconPath()" },
    { "int", "messages()", "messages()" },
    { "int", "unreadMessages()", "unreadMessages()" },
    { "int", "unreadRecursiveMessages()", "unreadRecursiveMessages()" },
    { 0, 0, 0 }
}

Definition at line 17 of file folderIface_skel.cpp.

const int KMail::FolderIface_ftable_hiddens[9] [static]

Initial value:

 {
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
}

Definition at line 29 of file folderIface_skel.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 char* KMail::standardHeaders[] [static]

Initial value:

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

Definition at line 55 of file headerstrategy.cpp.

const int KMail::StatusValueCount [static]

Initial value:

    sizeof( StatusValues ) / sizeof( MessageStatus )

Definition at line 255 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.

KDE Home | KDE Accessibility Home | Description of Access Keys