kmail
KMail::Util Namespace Reference
Functions | |
bool | checkTransport (QWidget *w) |
size_t | crlf2lf (char *str, const size_t strLen) |
bool | handleClickedURL (const KUrl &url, const QSharedPointer< MailCommon::FolderCollection > &folder=QSharedPointer< MailCommon::FolderCollection >()) |
void | lastEncryptAndSignState (bool &lastEncrypt, bool &lastSign, const KMime::Message::Ptr &msg) |
void | launchAccountWizard (QWidget *) |
bool | mailingListArchives (const QSharedPointer< MailCommon::FolderCollection > &fd) |
bool | mailingListHelp (const QSharedPointer< MailCommon::FolderCollection > &fd) |
bool | mailingListPost (const QSharedPointer< MailCommon::FolderCollection > &fd) |
KMime::Types::Mailbox::List | mailingListsFromMessage (const Akonadi::Item &item) |
bool | mailingListsHandleURL (const KUrl::List &lst, const QSharedPointer< MailCommon::FolderCollection > &folder) |
bool | mailingListSubscribe (const QSharedPointer< MailCommon::FolderCollection > &fd) |
bool | mailingListUnsubscribe (const QSharedPointer< MailCommon::FolderCollection > &fd) |
void | migrateFromKMail1 () |
QColor | misspelledColor () |
Akonadi::Item::Id | putRepliesInSameFolder (const Akonadi::Item &item) |
QColor | quoteL1Color () |
QColor | quoteL2Color () |
QColor | quoteL3Color () |
void | reduceQuery (QString &query) |
Detailed Description
The Util namespace contains a collection of helper functions use in various places.
Function Documentation
bool KMail::Util::checkTransport | ( | QWidget * | w | ) |
Test if all required settings are set.
Reports problems to user via dialogs and returns false. Returns true if everything is Ok.
size_t KMail::Util::crlf2lf | ( | char * | str, |
const size_t | strLen | ||
) |
Convert all sequences of "\r\n" (carriage return followed by a line feed) to a single "\n" (line feed).
The conversion happens in place. Returns the length of the resulting string.
- Parameters
-
str The string to convert. strLen The length of the string to convert.
- Returns
- The new length of the converted string.
bool KMail::Util::handleClickedURL | ( | const KUrl & | url, |
const QSharedPointer< MailCommon::FolderCollection > & | folder = QSharedPointer<MailCommon::FolderCollection>() |
||
) |
void KMail::Util::lastEncryptAndSignState | ( | bool & | lastEncrypt, |
bool & | lastSign, | ||
const KMime::Message::Ptr & | msg | ||
) |
bool KMail::Util::mailingListArchives | ( | const QSharedPointer< MailCommon::FolderCollection > & | fd | ) |
bool KMail::Util::mailingListHelp | ( | const QSharedPointer< MailCommon::FolderCollection > & | fd | ) |
bool KMail::Util::mailingListPost | ( | const QSharedPointer< MailCommon::FolderCollection > & | fd | ) |
KMime::Types::Mailbox::List KMail::Util::mailingListsFromMessage | ( | const Akonadi::Item & | item | ) |
bool KMail::Util::mailingListsHandleURL | ( | const KUrl::List & | lst, |
const QSharedPointer< MailCommon::FolderCollection > & | folder | ||
) |
bool KMail::Util::mailingListSubscribe | ( | const QSharedPointer< MailCommon::FolderCollection > & | fd | ) |
bool KMail::Util::mailingListUnsubscribe | ( | const QSharedPointer< MailCommon::FolderCollection > & | fd | ) |
Akonadi::Item::Id KMail::Util::putRepliesInSameFolder | ( | const Akonadi::Item & | item | ) |
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.