Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MailItWindow Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/mailit/mailitwindow.h>

Collaboration diagram for MailItWindow:

Collaboration graph
[legend]
List of all members.

Public Slots

void compose ()
void composeReply (Email &, bool &)
void composeForward (Email &)
void showEmailClient ()
void viewMail (QListView *, Email *mail)
void updateMailView (Email *mail)
void closeEvent (QCloseEvent *e)
void updateCaption (const QString &)
void setDocument (const QString &)

Public Member Functions

 MailItWindow (QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~MailItWindow ()

Static Public Member Functions

static QString appName ()

Private Attributes

EmailClientemailClient
WriteMailwriteMail
ReadMailreadMail
QWidgetStack * views
QString currentCaption
bool viewingMail

Constructor & Destructor Documentation

MailItWindow::MailItWindow QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 24 of file mailitwindow.cpp.

References add, compose(), composeForward(), composeReply(), currentCaption, emailClient, FALSE, readMail, showEmailClient(), tr, updateCaption(), updateMailView(), viewingMail, viewMail(), views, and writeMail.

MailItWindow::~MailItWindow  ) 
 

Definition at line 70 of file mailitwindow.cpp.


Member Function Documentation

static QString MailItWindow::appName void   )  [inline, static]
 

Definition at line 36 of file mailitwindow.h.

References QString::fromLatin1().

void MailItWindow::closeEvent QCloseEvent *  e  )  [slot]
 

Definition at line 74 of file mailitwindow.cpp.

References emailClient, showEmailClient(), and views.

void MailItWindow::compose  )  [slot]
 

Definition at line 83 of file mailitwindow.cpp.

References emailClient, FALSE, EmailClient::getAdrListRef(), WriteMail::newMail(), readMail, WriteMail::setAddressList(), tr, viewingMail, views, and writeMail.

Referenced by composeForward(), composeReply(), MailItWindow(), and setDocument().

void MailItWindow::composeForward Email  )  [slot]
 

Definition at line 100 of file mailitwindow.cpp.

References compose(), WriteMail::forward(), and writeMail.

Referenced by MailItWindow().

void MailItWindow::composeReply Email ,
bool & 
[slot]
 

Definition at line 94 of file mailitwindow.cpp.

References compose(), WriteMail::reply(), and writeMail.

Referenced by MailItWindow().

void MailItWindow::setDocument const QString  )  [slot]
 

Definition at line 159 of file mailitwindow.cpp.

References compose(), QString::mid(), WriteMail::setRecipient(), QString::startsWith(), and writeMail.

void MailItWindow::showEmailClient  )  [slot]
 

Definition at line 107 of file mailitwindow.cpp.

References currentCaption, emailClient, FALSE, readMail, tr, viewingMail, views, and writeMail.

Referenced by closeEvent(), and MailItWindow().

void MailItWindow::updateCaption const QString  )  [slot]
 

Definition at line 153 of file mailitwindow.cpp.

References currentCaption, and tr.

Referenced by MailItWindow().

void MailItWindow::updateMailView Email mail  )  [slot]
 

Definition at line 146 of file mailitwindow.cpp.

References ReadMail::mailUpdated(), readMail, and viewingMail.

Referenced by MailItWindow().

void MailItWindow::viewMail QListView *  ,
Email mail
[slot]
 

Definition at line 116 of file mailitwindow.cpp.

References EmailClient::download(), Email::downloaded, emailClient, Escape, readMail, Email::received, tr, TRUE, ReadMail::update(), viewingMail, and views.

Referenced by MailItWindow().


Member Data Documentation

QString MailItWindow::currentCaption [private]
 

Definition at line 61 of file mailitwindow.h.

Referenced by MailItWindow(), showEmailClient(), and updateCaption().

EmailClient* MailItWindow::emailClient [private]
 

Definition at line 57 of file mailitwindow.h.

Referenced by closeEvent(), compose(), MailItWindow(), showEmailClient(), and viewMail().

ReadMail* MailItWindow::readMail [private]
 

Definition at line 59 of file mailitwindow.h.

Referenced by compose(), MailItWindow(), showEmailClient(), updateMailView(), and viewMail().

bool MailItWindow::viewingMail [private]
 

Definition at line 62 of file mailitwindow.h.

Referenced by compose(), MailItWindow(), showEmailClient(), updateMailView(), and viewMail().

QWidgetStack* MailItWindow::views [private]
 

Definition at line 60 of file mailitwindow.h.

Referenced by closeEvent(), compose(), MailItWindow(), showEmailClient(), and viewMail().

WriteMail* MailItWindow::writeMail [private]
 

Definition at line 58 of file mailitwindow.h.

Referenced by compose(), composeForward(), composeReply(), MailItWindow(), setDocument(), and showEmailClient().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:39:21 2005 for OPIE by  doxygen 1.4.2