kmail
RecipientsEditor Class Reference
List of all members.Detailed Description
Definition at line 294 of file recipientseditor.h.
Public Slots | |
| void | setFocus () |
| void | setFocusTop () |
| void | setFocusBottom () |
| void | selectRecipients () |
| void | saveDistributionList () |
Signals | |
| void | focusUp () |
| void | focusDown () |
| void | completionModeChanged (KGlobalSettings::Completion) |
| void | sizeHintChanged () |
Public Member Functions | |
| RecipientsEditor (QWidget *parent) | |
| ~RecipientsEditor () | |
| void | clear () |
| Recipient::List | recipients () const |
| RecipientsPicker * | picker () const |
| void | setRecipientString (const QString &, Recipient::Type) |
| QString | recipientString (Recipient::Type) |
| void | addRecipient (const QString &recipient, Recipient::Type type) |
| void | removeRecipient (const QString &recipient, Recipient::Type type) |
| bool | isModified () |
| void | clearModified () |
| int | setFirstColumnWidth (int) |
| void | setCompletionMode (KGlobalSettings::Completion) |
Protected Slots | |
| void | slotPickedRecipient (const Recipient &) |
Member Function Documentation
| void RecipientsEditor::addRecipient | ( | const QString & | recipient, | |
| Recipient::Type | type | |||
| ) |
Adds a recipient (or multiple recipients) to one line of the editor.
- Parameters:
-
recipient The recipient(s) you want to add. type The recipient type.
Definition at line 939 of file recipientseditor.cpp.
| void RecipientsEditor::removeRecipient | ( | const QString & | recipient, | |
| Recipient::Type | type | |||
| ) |
Removes the recipient provided it can be found and has the given type.
- Parameters:
-
recipient The recipient(s) you want to remove. type The recipient type.
Definition at line 947 of file recipientseditor.cpp.
| bool RecipientsEditor::isModified | ( | ) |
Returns true if the user has made any modifications to the list of recipients.
Definition at line 953 of file recipientseditor.cpp.
| void RecipientsEditor::clearModified | ( | ) |
| int RecipientsEditor::setFirstColumnWidth | ( | int | ) |
Set the width of the left most column to be the argument width.
This method allows other widgets to align their label/combobox column with ours by communicating how many pixels that first colum is for them. Returns the width that is actually being used.
Definition at line 983 of file recipientseditor.cpp.
| void RecipientsEditor::setCompletionMode | ( | KGlobalSettings::Completion | ) |
The documentation for this class was generated from the following files:

