KShowmailView Class Reference

Main view of KShowmail. More...

#include <kshowmailview.h>

List of all members.

Public Member Functions

 KShowmailView (AccountViewModel *accountModel, MailViewModel *mailModel, QItemSelectionModel *mailSelectModel, QItemSelectionModel *accountSelectModel, QWidget *parent=0)
 ~KShowmailView ()
void refreshViews (QItemSelectionModel *mailSelectModel)
void saveSetup ()
void loadSetup ()
void addActionToAccountList (KAction *action)
void addActionToMailList (KAction *action)


Detailed Description

Main view of KShowmail.

It contains the account view and the mail view.

Definition at line 43 of file kshowmailview.h.


Constructor & Destructor Documentation

KShowmailView::KShowmailView ( AccountViewModel accountModel,
MailViewModel mailModel,
QItemSelectionModel *  mailSelectModel,
QItemSelectionModel *  accountSelectModel,
QWidget *  parent = 0 
)

Constructor

Parameters:
accountModel model for the account view
mailModel model for the mail view
mailSelectModel selection model of the mail view model
accountSelectModel selection model of the account view model
parent pointer to parent widget

Definition at line 21 of file kshowmailview.cpp.

KShowmailView::~KShowmailView (  ) 

Destructor

Definition at line 56 of file kshowmailview.cpp.


Member Function Documentation

void KShowmailView::refreshViews ( QItemSelectionModel *  mailSelectModel  ) 

Refreshes the account and mail view. Marks filtered mails.

Parameters:
mailSelectModel mail selection model

Definition at line 58 of file kshowmailview.cpp.

void KShowmailView::saveSetup (  ) 

Saves the column widths

Definition at line 76 of file kshowmailview.cpp.

void KShowmailView::loadSetup (  ) 

Loads and sets the column widths

Definition at line 146 of file kshowmailview.cpp.

void KShowmailView::addActionToAccountList ( KAction *  action  ) 

Adds an action to the account view context menu

Parameters:
action action to add

Definition at line 222 of file kshowmailview.cpp.

void KShowmailView::addActionToMailList ( KAction *  action  ) 

Adds an action to the mail view context menu

Parameters:
action action to add

Definition at line 228 of file kshowmailview.cpp.


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

Generated on Tue May 18 19:43:53 2010 for KShowmail by  doxygen 1.5.6