kmail

RecipientsView Class Reference

#include <recipientseditor.h>

Inheritance diagram for RecipientsView:

List of all members.


Public Slots

RecipientLineaddLine ()
void setCompletionMode (KGlobalSettings::Completion)
void setFocus ()
void setFocusBottom ()
void setFocusTop ()

Signals

void completionModeChanged (KGlobalSettings::Completion)
void focusDown ()
void focusRight ()
void focusUp ()
void sizeHintChanged ()
void totalChanged (int recipients, int lines)

Public Member Functions

void activateLine (RecipientLine *)
RecipientLineactiveLine ()
void clearModified ()
RecipientLineemptyLine ()
bool isModified ()
QSize minimumSizeHint () const
Recipient::List recipients () const
 RecipientsView (QWidget *parent)
void removeRecipient (const QString &recipient, Recipient::Type type)
int setFirstColumnWidth (int)
QSize sizeHint () const

Protected Slots

void calculateTotal ()
void moveCompletionPopup ()
void slotDecideLineDeletion (RecipientLine *)
void slotDeleteLine ()
void slotDownPressed (RecipientLine *)
void slotReturnPressed (RecipientLine *)
void slotTypeModified (RecipientLine *)
void slotUpPressed (RecipientLine *)

Protected Member Functions

void resizeView ()
void viewportResizeEvent (QResizeEvent *)

Detailed Description

Definition at line 170 of file recipientseditor.h.


Constructor & Destructor Documentation

RecipientsView::RecipientsView ( QWidget parent  ) 

Definition at line 321 of file recipientseditor.cpp.


Member Function Documentation

void RecipientsView::activateLine ( RecipientLine line  ) 

Definition at line 542 of file recipientseditor.cpp.

RecipientLine * RecipientsView::activeLine (  ) 

Definition at line 337 of file recipientseditor.cpp.

RecipientLine * RecipientsView::addLine (  )  [slot]

Definition at line 352 of file recipientseditor.cpp.

void RecipientsView::calculateTotal (  )  [protected, slot]

Definition at line 430 of file recipientseditor.cpp.

void RecipientsView::clearModified (  ) 

Resets the modified flag to false.

Definition at line 638 of file recipientseditor.cpp.

void RecipientsView::completionModeChanged ( KGlobalSettings::Completion   )  [signal]

RecipientLine * RecipientsView::emptyLine (  ) 

Definition at line 342 of file recipientseditor.cpp.

void RecipientsView::focusDown (  )  [signal]

void RecipientsView::focusRight (  )  [signal]

void RecipientsView::focusUp (  )  [signal]

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.

QSize RecipientsView::minimumSizeHint (  )  const

Definition at line 561 of file recipientseditor.cpp.

void RecipientsView::moveCompletionPopup (  )  [protected, slot]

Definition at line 685 of file recipientseditor.cpp.

Recipient::List RecipientsView::recipients (  )  const

Definition at line 570 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 604 of file recipientseditor.cpp.

void RecipientsView::resizeView (  )  [protected]

Definition at line 529 of file recipientseditor.cpp.

void RecipientsView::setCompletionMode ( KGlobalSettings::Completion  mode  )  [slot]

Definition at line 587 of file recipientseditor.cpp.

int RecipientsView::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 670 of file recipientseditor.cpp.

void RecipientsView::setFocus (  )  [slot]

Definition at line 650 of file recipientseditor.cpp.

void RecipientsView::setFocusBottom (  )  [slot]

Definition at line 663 of file recipientseditor.cpp.

void RecipientsView::setFocusTop (  )  [slot]

Definition at line 656 of file recipientseditor.cpp.

QSize RecipientsView::sizeHint (  )  const

Definition at line 556 of file recipientseditor.cpp.

void RecipientsView::sizeHintChanged (  )  [signal]

void RecipientsView::slotDecideLineDeletion ( RecipientLine line  )  [protected, slot]

Definition at line 475 of file recipientseditor.cpp.

void RecipientsView::slotDeleteLine (  )  [protected, slot]

Definition at line 487 of file recipientseditor.cpp.

void RecipientsView::slotDownPressed ( RecipientLine line  )  [protected, slot]

Definition at line 455 of file recipientseditor.cpp.

void RecipientsView::slotReturnPressed ( RecipientLine line  )  [protected, slot]

Definition at line 446 of file recipientseditor.cpp.

void RecipientsView::slotTypeModified ( RecipientLine line  )  [protected, slot]

Definition at line 414 of file recipientseditor.cpp.

void RecipientsView::slotUpPressed ( RecipientLine line  )  [protected, slot]

Definition at line 465 of file recipientseditor.cpp.

void RecipientsView::totalChanged ( int  recipients,
int  lines 
) [signal]

void RecipientsView::viewportResizeEvent ( QResizeEvent ev  )  [protected]

Reimplemented from QScrollView.

Definition at line 548 of file recipientseditor.cpp.


The documentation for this class was generated from the following files: