KMail Namespace Reference
Copyright (c) 2004 Carsten Burghardt <
burghardt@kde.org>.
More...
Classes
Namespaces
Typedefs
-
typedef QValueVector< ACLListEntry > ACLList
-
typedef QValueVector< AnnotationAttribute > AnnotationList
-
typedef QValueList< SpamAgent > SpamAgents
-
typedef QValueListIterator<
SpamAgent > SpamAgentsIterator
-
typedef QValueList< SpamScore > SpamScores
-
typedef QValueListIterator<
SpamScore > SpamScoresIterator
Enumerations
- enum SpamAgentTypes {
SpamAgentNone,
SpamAgentBool,
SpamAgentFloat,
SpamAgentFloatLarge,
SpamAgentAdjustedFloat
}
- enum IMAPUserIdFormat { FullEmail,
UserName
}
- enum { num_primes = 29
}
- enum FolderContentsType {
ContentsTypeMail = 0,
ContentsTypeCalendar,
ContentsTypeContact,
ContentsTypeNote,
ContentsTypeTask,
ContentsTypeJournal,
ContentsTypeLast = ContentsTypeJournal
}
- enum ReplyStrategy {
ReplySmart = 0,
ReplyAuthor,
ReplyList,
ReplyAll,
ReplyNone
}
Functions
-
static void renameChildFolders (KMFolderDir *dir, const QString &oldPath, const QString &newPath)
-
QColor darker (const QColor &c)
-
QColor desaturate (const QColor &c)
-
QColor fixValue (const QColor &c, int newV)
-
int getValueOf (const QColor &c)
-
int pointsToPixel (const QPaintDeviceMetrics &metrics, int pointSize)
-
static QStringList stringList (const char *headers[], int numHeaders)
-
static QString directionOf (const QString &str)
-
static QString convertToHtmlBlock (const QString &str, bool useSpan=false)
-
static QString strToHtml (const QString &str, int flags=LinkLocator::PreserveSpaces)
-
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 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
Detailed Description
Copyright (c) 2004 Carsten Burghardt <
burghardt@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.
Enumeration Type Documentation
|
Valid types of SpamAgent.
- Enumeration values:
-
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). |
|
Variable Documentation
const char* KMail::briefHeaders[] [static] |
|
|
Initial value: {
"subject", "from", "cc", "bcc", "date"
}
|
const char* KMail::standardHeaders[] [static] |
|
|
Initial value: {
"subject", "from", "cc", "bcc", "to"
}
|
const char* KMail::richHeaders[] [static] |
|
|
Initial value: {
"subject", "date", "from", "cc", "bcc", "to",
"organization", "organisation", "reply-to"
}
|
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
}
|
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" ), "edittrash" },
{ 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" ), "mark_as_spam" },
{ I18N_NOOP( "Ham" ), "mark_as_ham" },
{ I18N_NOOP( "To Do" ), "kontact_todo" },
{ I18N_NOOP( "Has Attachment"), "attach" }
}
|
const int KMail::StatusValueCount [static] |
|
|
Initial value:
sizeof( StatusValues ) / sizeof( MessageStatus )
|