Classes | |
class | KPIM::BroadcastStatus |
Provides a singleton which broadcasts status messages by emitting signals. More... | |
class | KPIM::ClickLineEdit |
This class provides a KLineEdit which contains a greyed-out hinting text as long as the user didn't enter any text LineEdit with customizable "Click here" text. More... | |
class | KPIM::CollectingProcess |
An output collecting KProcess class. More... | |
class | KPIM::ConfigManager |
Class for managing a set of config options. More... | |
class | KPIM::DiffAlgoDisplay |
DiffAlgo and DiffAlgoDisplay work together for displaying differences between two PIM objects like contacts, events or todos. More... | |
class | KPIM::KListViewSearchLine |
This class makes it easy to add a search line for filtering the items in a listview based on a simple text search. More... | |
class | KPIM::LdapObject |
This class is internal. More... | |
class | KPIM::LdapClient |
This class is internal. More... | |
struct | KPIM::LdapResult |
Structure describing one result returned by a LDAP query. More... | |
class | KPIM::LdapSearch |
This class is internal. More... | |
class | KPIM::LDAPUrl |
LDAPUrl. More... | |
class | KPIM::LDIF |
LDIF. More... | |
class | KPIM::OverlayWidget |
This is a widget that can align itself with another one, without using a layout, so that it can actually be on top of other widgets. More... | |
class | KPIM::PluginLoader< T, T_config > |
A generic plugin loader for when KPart::Plugin is overkill. More... | |
class | KPIM::ProgressManager |
The ProgressManager singleton keeps track of all ongoing transactions and notifies observers (progress dialogs) when their progress percent value changes, when they are completed (by their owner), and when they are canceled. More... | |
class | KPIM::ResourceABC |
This class is the implementation of subfolder resources for KABC. More... | |
Typedefs | |
typedef QValueList< LdapResult > | LdapResultList |
typedef QValueList< QByteArray > | LdapAttrValue |
typedef QMap< QString, LdapAttrValue > | LdapAttrMap |
typedef QValueList< MailSummary > | MailList |
typedef QMap< ProgressItem *, bool > | ProgressItemMap |
Functions | |
void | swapItems (CompletionViewItem *one, CompletionViewItem *other) |
QStringList | splitEmailAddrList (const QString &aStr) |
QCString | getEmailAddr (const QString &aStr) |
bool | getNameAndMail (const QString &aStr, QString &name, QString &mail) |
void | msgDialog (const QString &msg) |
QCString | kFileToString (const QString &aFileName, bool aEnsureNL, bool aVerbose) |
bool | kBytesToFile (const char *aBuffer, int len, const QString &aFileName, bool aAskIfExists, bool aBackup, bool aVerbose) |
bool | kCStringToFile (const QCString &aBuffer, const QString &aFileName, bool aAskIfExists, bool aBackup, bool aVerbose) |
bool | kByteArrayToFile (const QByteArray &aBuffer, const QString &aFileName, bool aAskIfExists, bool aBackup, bool aVerbose) |
Variables | |
KStaticDeleter< ProgressManager > | progressManagerDeleter |
Detailed Description
KDEPIM classes for drag and drop of mails.// Code example for drag and drop enabled widget
void SomeWidget::contentsDropEvent(QDropEvent *e) { if (e->provides(MailListDrag::format())) { MailList mailList; MailListDrag::decode( e, mailList ); ...
Function Documentation
|
Split a comma separated list of email addresses. |
|
Return email address from string. Examples: "Stefan Taferner <taferner@kde.org>" returns "taferner@kde.org" "joe@nowhere.com" returns "joe@nowhere.com". Note that this only returns the first address. Definition at line 106 of file email.cpp. |
|
Return email address and name from string. Examples: "Stefan Taferner <taferner@kde.org>" returns "taferner@kde.org" and "Stefan Taferner". "joe@nowhere.com" returns "joe@nowhere.com" and "". Note that this only returns the first address. Definition at line 133 of file email.cpp. |
|
Load a file. Returns a pointer to the memory-block that contains the loaded file. Returns a null string if the file could not be loaded. If withDialogs is FALSE no warning dialogs are opened if there are problems. The string returned is always zero-terminated and therefore one byte longer than the file itself. If ensureNewline is TRUE the string will always have a trailing newline. Definition at line 28 of file kfileio.cpp. |
|
Save a file. If withDialogs is FALSE no warning dialogs are opened if there are problems. Returns TRUE on success and FALSE on failure. Replaces existing files without warning if askIfExists==FALSE. Makes a copy if the file exists to filename~ if createBackup==TRUE. Definition at line 168 of file kfileio.cpp. Referenced by kByteArrayToFile(). |
|
Does not stop at NUL. Definition at line 253 of file kfileio.cpp. References kBytesToFile(). |