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

MailTable Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/mail2/mailtable.h>

Inheritance diagram for MailTable:

Inheritance graph
[legend]
Collaboration diagram for MailTable:

Collaboration graph
[legend]
List of all members.

Public Slots

void stop ()
void setFolder (Folder folder)

Signals

void totalSteps (int steps)
void progress (int progress)
void resetProgress ()
void mailClicked (IMAPResponseFETCH mail, IMAPHandler *handler)
void status (const QString &text)
void stopEnabled (bool stop)

Public Member Functions

 MailTable (QWidget *parent=0, const char *name=0, WFlags fl=0)
void addMail (Mail &mail)
void setHeaders (QValueList< IMAPResponseFETCH > response)

Protected Slots

void itemClicked (QListViewItem *)
void slotIMAPSelect (IMAPResponse &response)
void slotIMAPFetch (IMAPResponse &response)

Static Protected Attributes

static const int MENU_COPY = 0
static const int MENU_MARK_READ = 0
static const int MENU_MARK_UNREAD = 1
static const int MENU_MARK_MARKED = 2
static const int MENU_MARK_UNMARKED = 3
static const int MENU_MARK = 1
static const int MENU_DELETE = 2

Private Attributes

QWidget * _parent
IMAPHandler_handler
int _downloadSteps
int _lastStep
int _currentProgress
bool _stopped

Constructor & Destructor Documentation

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

Definition at line 50 of file mailtable.cpp.

References _stopped, itemClicked(), MENU_COPY, MENU_DELETE, MENU_MARK, MENU_MARK_MARKED, MENU_MARK_READ, MENU_MARK_UNMARKED, MENU_MARK_UNREAD, ListViewPlus::setPopup(), and tr.


Member Function Documentation

void MailTable::addMail Mail mail  ) 
 

void MailTable::itemClicked QListViewItem *   )  [protected, slot]
 

Definition at line 165 of file mailtable.cpp.

References _handler, mailClicked(), and NULL.

Referenced by MailTable().

void MailTable::mailClicked IMAPResponseFETCH  mail,
IMAPHandler handler
[signal]
 

Referenced by itemClicked().

void MailTable::progress int  progress  )  [signal]
 

Referenced by slotIMAPFetch(), and slotIMAPSelect().

void MailTable::resetProgress  )  [signal]
 

Referenced by slotIMAPFetch().

void MailTable::setFolder Folder  folder  )  [slot]
 

Definition at line 80 of file mailtable.cpp.

References _handler, Folder::fullName(), slotIMAPSelect(), and Folder::topFolder().

void MailTable::setHeaders QValueList< IMAPResponseFETCH response  ) 
 

Definition at line 87 of file mailtable.cpp.

References QValueList< T >::begin(), and QValueList< T >::end().

void MailTable::slotIMAPFetch IMAPResponse response  )  [protected, slot]
 

Definition at line 127 of file mailtable.cpp.

References _currentProgress, _downloadSteps, _lastStep, _stopped, QValueList< T >::begin(), QValueList< T >::end(), IMAPResponse::FETCH(), IMAPResponse::imapHandler(), IMAPResponseEnums::OK, progress(), resetProgress(), status(), IMAPResponse::statusResponse(), stopEnabled(), and tr.

Referenced by slotIMAPSelect().

void MailTable::slotIMAPSelect IMAPResponse response  )  [protected, slot]
 

Definition at line 96 of file mailtable.cpp.

References _currentProgress, _downloadSteps, _lastStep, IMAPResponse::EXISTS(), IMAPResponse::imapHandler(), IMAPResponseEnums::OK, progress(), slotIMAPFetch(), status(), IMAPResponse::statusResponse(), stopEnabled(), QString::toInt(), totalSteps(), tr, and warning().

Referenced by setFolder().

void MailTable::status const QString text  )  [signal]
 

Referenced by slotIMAPFetch(), and slotIMAPSelect().

void MailTable::stop void   )  [inline, slot]
 

Definition at line 86 of file mailtable.h.

References _stopped.

void MailTable::stopEnabled bool  stop  )  [signal]
 

Referenced by slotIMAPFetch(), and slotIMAPSelect().

void MailTable::totalSteps int  steps  )  [signal]
 

Referenced by slotIMAPSelect().


Member Data Documentation

int MailTable::_currentProgress [private]
 

Definition at line 115 of file mailtable.h.

Referenced by slotIMAPFetch(), and slotIMAPSelect().

int MailTable::_downloadSteps [private]
 

Definition at line 115 of file mailtable.h.

Referenced by slotIMAPFetch(), and slotIMAPSelect().

IMAPHandler* MailTable::_handler [private]
 

Definition at line 114 of file mailtable.h.

Referenced by itemClicked(), and setFolder().

int MailTable::_lastStep [private]
 

Definition at line 115 of file mailtable.h.

Referenced by slotIMAPFetch(), and slotIMAPSelect().

QWidget* MailTable::_parent [private]
 

Definition at line 113 of file mailtable.h.

bool MailTable::_stopped [private]
 

Definition at line 116 of file mailtable.h.

Referenced by MailTable(), slotIMAPFetch(), and stop().

const int MailTable::MENU_COPY = 0 [static, protected]
 

Definition at line 98 of file mailtable.h.

Referenced by MailTable().

const int MailTable::MENU_DELETE = 2 [static, protected]
 

Definition at line 104 of file mailtable.h.

Referenced by MailTable().

const int MailTable::MENU_MARK = 1 [static, protected]
 

Definition at line 103 of file mailtable.h.

Referenced by MailTable().

const int MailTable::MENU_MARK_MARKED = 2 [static, protected]
 

Definition at line 101 of file mailtable.h.

Referenced by MailTable().

const int MailTable::MENU_MARK_READ = 0 [static, protected]
 

Definition at line 99 of file mailtable.h.

Referenced by MailTable().

const int MailTable::MENU_MARK_UNMARKED = 3 [static, protected]
 

Definition at line 102 of file mailtable.h.

Referenced by MailTable().

const int MailTable::MENU_MARK_UNREAD = 1 [static, protected]
 

Definition at line 100 of file mailtable.h.

Referenced by MailTable().


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