kmail

KMail Namespace Reference

Namespaces

 ACLJobs
 
 AnnotationJobs
 
 Interface
 
 QuotaJobs
 
 StringUtil
 
 Util
 

Classes

class  AccountComboBox
 
class  AccountManager
 
struct  ACLListEntry
 
struct  AnnotationAttribute
 
class  AntiSpamConfig
 
class  AntiSpamWizard
 
class  BackupJob
 
class  Callback
 
class  MboxCompactionJob
 
class  MaildirCompactionJob
 
class  ScheduledCompactionTask
 
class  CopyFolderJob
 
class  DictionaryComboBox
 
class  EditorWatcher
 
class  ScheduledExpireTask
 
class  FilterImporterExporter
 
class  FilterLog
 
class  FilterLogDialog
 
class  ACLEntryDialog
 
class  FolderDiaACLTab
 
class  FolderDiaQuotaTab
 
class  FolderRequester
 
class  SortCacheItem
 
class  HeaderItem
 
class  HeaderStyle
 
class  HtmlStatusBar
 
class  IdentityDrag
 
class  IdentityListViewItem
 
class  IdentityListView
 
class  ImportJob
 
class  HtmlWriter
 
class  RuleWidgetHandler
 
class  URLHandler
 
class  ScheduledTask
 
class  JobScheduler
 
class  ScheduledJob
 
class  FolderDiaTab
 
class  FolderDiaGeneralTab
 
class  FolderDiaTemplatesTab
 
class  ListJob
 
class  MailingList
 
class  MessageActions
 
class  MessageCopyHelper
 
class  PartNodeBodyPart
 
class  PopAccount
 
class  RedirectDialog
 
class  RenameJob
 
class  RuleWidgetHandlerManager
 
class  SearchJob
 
class  SearchWindow
 
class  SecondaryWindow
 
class  SieveDebugDialog
 
class  SpamScore
 
class  SpamHeaderAnalyzer
 
class  TeeHtmlWriter
 
class  TransportManager
 
class  UndoInfo
 
class  URLHandlerManager
 

Typedefs

typedef TQValueVector< ACLListEntryACLList
 
typedef TQValueVector< AnnotationAttributeAnnotationList
 
typedef TQValueList< SpamAgent > SpamAgents
 
typedef TQValueListIterator< SpamAgent > SpamAgentsIterator
 
typedef TQValueVector< QuotaInfo > QuotaInfoList
 
typedef SimpleFolderTreeBase< TDEListViewItem > SimpleFolderTree
 
typedef TQValueList< SpamScoreSpamScores
 
typedef TQValueListIterator< SpamScoreSpamScoresIterator
 

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 , StatusInvitation = 15 ,
  StatusHasAttachment = 16
}
 

Functions

static AttachmentStrategy::Display smartDisplay (const partNode *node)
 
static void renameChildFolders (KMFolderDir *dir, const TQString &oldPath, const TQString &newPath)
 
Composer * makeComposer (KMMessage *msg=0, uint identity=0)
 
static TQStringList stringList (const char *headers[], int numHeaders)
 
static TQString directionOf (const TQString &str)
 
static TQString strToHtml (const TQString &str, int flags=LinkLocator::PreserveSpaces)
 
unsigned long nextPrime (unsigned long n)
 
void checkConfigUpdates ()
 
void lockOrDie ()
 
void insertLibraryCataloguesAndIcons ()
 
void cleanup ()
 
static int signatureToStatus (const GpgME::Signature &sig)
 
static TQString writeSimpleSigstatHeader (const PartMetaData &block)
 
static TQString beginVerboseSigstatHeader ()
 
static TQString makeShowAuditLogLink (const GpgME::Error &err, const TQString &auditLog)
 
static TQString endVerboseSigstatHeader (const PartMetaData &pmd)
 
static KURL urlFromAccount (const KMail::ImapAccountBase *a)
 
static int recurseFilter (TQListViewItem *item, const TQString &filter, int column)
 
static TQString dotstuff (TQString 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 AttachmentStrategy * headerOnlyStrategy = 0
 
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 HeaderStylebriefStyle = 0
 
static const HeaderStyleplainStyle = 0
 
static const HeaderStylefancyStyle = 0
 
static const HeaderStyleenterpriseStyle = 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 TQMap< TQString, int > s_serverConnections
 

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@.nosp@m.kde..nosp@m.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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of the TQt library by Trolltech AS, Norway (or with modified versions of TQt that use the same license as TQt), 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 TQt. 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 pfeif.nosp@m.fer@.nosp@m.kde.o.nosp@m.rg

Enumeration Type Documentation

◆ SpamAgentTypes

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.

Variable Documentation

◆ briefHeaders

const char* KMail::briefHeaders[]
static
Initial value:
= {
"subject", "from", "cc", "bcc", "date"
}

Definition at line 49 of file headerstrategy.cpp.

◆ prime_list

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.

◆ richHeaders

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.

◆ standardHeaders

const char* KMail::standardHeaders[]
static
Initial value:
= {
"subject", "from", "cc", "bcc", "to"
}

Definition at line 55 of file headerstrategy.cpp.

◆ StatusValueCount

const int KMail::StatusValueCount
static
Initial value:
=
sizeof( StatusValues ) / sizeof( MessageStatus )

Definition at line 256 of file kmsearchpattern.h.

◆ StatusValues

const MessageStatus KMail::StatusValues[]
static
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( "Invitation" ), "kmmsginvitation" },
{ I18N_NOOP( "Has Attachment"), "kmmsgattachment" }
}

Definition at line 216 of file kmsearchpattern.h.