kmail
RecipientsEditor Class Reference
#include <recipientseditor.h>
Public Slots | |
void | saveDistributionList () |
void | selectRecipients () |
void | setFocus () |
void | setFocusBottom () |
void | setFocusTop () |
Signals | |
void | completionModeChanged (KGlobalSettings::Completion) |
void | focusDown () |
void | focusUp () |
void | sizeHintChanged () |
Public Member Functions | |
void | addRecipient (const QString &recipient, Recipient::Type type) |
void | clear () |
void | clearModified () |
bool | isModified () |
RecipientsPicker * | picker () const |
Recipient::List | recipients () const |
RecipientsEditor (QWidget *parent) | |
QString | recipientString (Recipient::Type) |
void | removeRecipient (const QString &recipient, Recipient::Type type) |
void | setCompletionMode (KGlobalSettings::Completion) |
int | setFirstColumnWidth (int) |
void | setRecipientString (const QString &, Recipient::Type) |
~RecipientsEditor () | |
Protected Slots | |
void | slotPickedRecipient (const Recipient &) |
Detailed Description
Definition at line 294 of file recipientseditor.h.
Constructor & Destructor Documentation
RecipientsEditor::RecipientsEditor | ( | QWidget * | parent | ) |
Definition at line 838 of file recipientseditor.cpp.
RecipientsEditor::~RecipientsEditor | ( | ) |
Definition at line 867 of file recipientseditor.cpp.
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::clear | ( | ) |
Definition at line 964 of file recipientseditor.cpp.
void RecipientsEditor::clearModified | ( | ) |
void RecipientsEditor::completionModeChanged | ( | KGlobalSettings::Completion | ) | [signal] |
void RecipientsEditor::focusDown | ( | ) | [signal] |
void RecipientsEditor::focusUp | ( | ) | [signal] |
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.
RecipientsPicker * RecipientsEditor::picker | ( | ) | const |
Definition at line 871 of file recipientseditor.cpp.
Recipient::List RecipientsEditor::recipients | ( | ) | const |
Definition at line 897 of file recipientseditor.cpp.
QString RecipientsEditor::recipientString | ( | Recipient::Type | type | ) |
Definition at line 923 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.
void RecipientsEditor::saveDistributionList | ( | ) | [slot] |
Definition at line 890 of file recipientseditor.cpp.
void RecipientsEditor::selectRecipients | ( | ) | [slot] |
Definition at line 988 of file recipientseditor.cpp.
void RecipientsEditor::setCompletionMode | ( | KGlobalSettings::Completion | mode | ) |
int RecipientsEditor::setFirstColumnWidth | ( | int | w | ) |
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::setFocus | ( | ) | [slot] |
void RecipientsEditor::setFocusBottom | ( | ) | [slot] |
Definition at line 978 of file recipientseditor.cpp.
void RecipientsEditor::setFocusTop | ( | ) | [slot] |
Definition at line 973 of file recipientseditor.cpp.
void RecipientsEditor::setRecipientString | ( | const QString & | str, | |
Recipient::Type | type | |||
) |
Definition at line 902 of file recipientseditor.cpp.
void RecipientsEditor::sizeHintChanged | ( | ) | [signal] |
void RecipientsEditor::slotPickedRecipient | ( | const Recipient & | rec | ) | [protected, slot] |
Definition at line 876 of file recipientseditor.cpp.
The documentation for this class was generated from the following files: