kmail

RecipientsView Class Reference

List of all members.

Detailed Description

Definition at line 168 of file recipientseditor.h.


Public Slots

RecipientLineaddLine ()
void setFocus ()
void setFocusTop ()
void setFocusBottom ()

Signals

void totalChanged (int recipients, int lines)
void focusUp ()
void focusDown ()
void focusRight ()

Public Member Functions

 RecipientsView (QWidget *parent)
QSize minimumSizeHint () const
QSize sizeHint () const
RecipientLineactiveLine ()
RecipientLineemptyLine ()
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 *)

Protected Member Functions

void viewportResizeEvent (QResizeEvent *)
void resizeView ()

Member Function Documentation

void RecipientsView::clearModified  ) 
 

Resets the modified flag to false.

Definition at line 610 of file recipientseditor.cpp.

bool RecipientsView::isModified  ) 
 

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

Definition at line 593 of file recipientseditor.cpp.

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

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


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