kmail

RecipientsEditor Class Reference

List of all members.

Detailed Description

Definition at line 291 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)

Public Member Functions

 RecipientsEditor (QWidget *parent)
 ~RecipientsEditor ()
void clear ()
Recipient::List recipients () const
RecipientsPickerpicker () 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 916 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 924 of file recipientseditor.cpp.

bool RecipientsEditor::isModified (  ) 

Returns true if the user has made any modifications to the list of recipients.

Definition at line 930 of file recipientseditor.cpp.

void RecipientsEditor::clearModified (  ) 

Resets the modified flag to false.

Definition at line 935 of file recipientseditor.cpp.

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 960 of file recipientseditor.cpp.

void RecipientsEditor::setCompletionMode ( KGlobalSettings::Completion   ) 

Set completion mode for all lines.

Definition at line 970 of file recipientseditor.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys