kmail
RecipientsView Class Reference
List of all members.Detailed Description
Definition at line 170 of file recipientseditor.h.
Public Slots | |
void | setCompletionMode (KGlobalSettings::Completion) |
RecipientLine * | addLine () |
void | setFocus () |
void | setFocusTop () |
void | setFocusBottom () |
Signals | |
void | totalChanged (int recipients, int lines) |
void | focusUp () |
void | focusDown () |
void | focusRight () |
void | completionModeChanged (KGlobalSettings::Completion) |
void | sizeHintChanged () |
Public Member Functions | |
RecipientsView (QWidget *parent) | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
RecipientLine * | activeLine () |
RecipientLine * | emptyLine () |
Recipient::List | recipients () const |
void | removeRecipient (const QString &recipient, Recipient::Type type) |
bool | isModified () |
void | clearModified () |
void | activateLine (RecipientLine *) |
int | setFirstColumnWidth (int) |
Protected Slots | |
void | slotReturnPressed (RecipientLine *) |
void | slotDownPressed (RecipientLine *) |
void | slotUpPressed (RecipientLine *) |
void | slotDecideLineDeletion (RecipientLine *) |
void | slotDeleteLine () |
void | calculateTotal () |
void | slotTypeModified (RecipientLine *) |
void | moveCompletionPopup () |
Protected Member Functions | |
void | viewportResizeEvent (QResizeEvent *) |
void | resizeView () |
Member Function Documentation
void RecipientsView::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 604 of file recipientseditor.cpp.
bool RecipientsView::isModified | ( | ) |
Returns true if the user has made any modifications to the list of recipients.
Definition at line 621 of file recipientseditor.cpp.
void RecipientsView::clearModified | ( | ) |
int RecipientsView::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 670 of file recipientseditor.cpp.
The documentation for this class was generated from the following files: