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

MHviewItem Class Reference

#include </home/clem/local/src/opie/noncore/net/mail/accountitem.h>

Inheritance diagram for MHviewItem:

Inheritance graph
[legend]
Collaboration diagram for MHviewItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MHviewItem (const QString &aMboxPath, AccountView *parent)
virtual ~MHviewItem ()
virtual void refresh (QValueList< Opie::Core::OSmartPointer< RecMail > > &target)
virtual RECBODYP fetchBody (const Opie::Core::OSmartPointer< RecMail > &mail)
AbstractMailgetWrapper ()
virtual bool contextMenuSelected (int)
QStringList subFolders ()
virtual void refresh (bool force=false)
virtual int isServer () const
virtual QMap< int, QStringserverMenu ()
virtual QMap< int, QStringfolderMenu ()

Protected Member Functions

void downloadMails ()
virtual void createFolder ()

Protected Attributes

QString m_Path
AbstractMailwrapper
QStringList currentFolders

Friends

class MHfolderItem

Constructor & Destructor Documentation

MHviewItem::MHviewItem const QString aPath,
AccountView parent
 

MH Account stuff

Definition at line 715 of file accountitem.cpp.

References AccountViewItem::folder, AbstractMail::getWrapper(), m_Path, PIXMAP_LOCALFOLDER, and wrapper.

MHviewItem::~MHviewItem  )  [virtual]
 

Definition at line 727 of file accountitem.cpp.

References wrapper.


Member Function Documentation

bool MHviewItem::contextMenuSelected int   )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 837 of file accountitem.cpp.

References createFolder(), AccountViewItem::deleteAllMail(), downloadMails(), AccountViewItem::folder, FOLDER_MENU_DELETE_ALL_MAILS, FOLDER_MENU_MOVE_MAILS, FOLDER_MENU_NEW_SUBFOLDER, FOLDER_MENU_REFRESH_HEADER, getWrapper(), refresh(), AccountView::refreshCurrent(), and SERVER_MENU_REFRESH_FOLDER.

void MHviewItem::createFolder  )  [protected, virtual]
 

Definition at line 812 of file accountitem.cpp.

References AbstractMail::createMbox(), QPEApplication::execDialog(), refresh(), and wrapper.

Referenced by contextMenuSelected().

void MHviewItem::downloadMails  )  [protected]
 

Definition at line 825 of file accountitem.cpp.

References AccountViewItem::accountView(), AccountView::downloadMails(), AccountViewItem::folder, and getWrapper().

Referenced by contextMenuSelected().

virtual RECBODYP MHviewItem::fetchBody const Opie::Core::OSmartPointer< RecMail > &  mail  )  [virtual]
 

Implements AccountViewItem.

QMap< int, QString > MHviewItem::folderMenu  )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 802 of file accountitem.cpp.

References AccountViewItem::contextName, FOLDER_MENU_DELETE_ALL_MAILS, FOLDER_MENU_MOVE_MAILS, FOLDER_MENU_NEW_SUBFOLDER, FOLDER_MENU_REFRESH_HEADER, and tr.

AbstractMail * MHviewItem::getWrapper  ) 
 

Definition at line 732 of file accountitem.cpp.

References wrapper.

Referenced by MHfolderItem::contextMenuSelected(), contextMenuSelected(), MHfolderItem::createFolder(), MHfolderItem::deleteFolder(), MHfolderItem::downloadMails(), and downloadMails().

virtual int MHviewItem::isServer  )  const [inline, virtual]
 

Implements AccountViewItem.

Definition at line 194 of file accountitem.h.

void MHviewItem::refresh bool  force = false  )  [virtual]
 

Definition at line 743 of file accountitem.cpp.

References QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::clear(), currentFolders, QValueList< T >::end(), AccountViewItem::findSubItem(), AccountViewItem::folder, AbstractMail::listFolders(), MHfolderItem, odebug, pos, AccountViewItem::removeChilds(), and wrapper.

virtual void MHviewItem::refresh QValueList< Opie::Core::OSmartPointer< RecMail > > &  target  )  [virtual]
 

Implements AccountViewItem.

Referenced by contextMenuSelected(), MHfolderItem::createFolder(), createFolder(), and MHfolderItem::deleteFolder().

QMap< int, QString > MHviewItem::serverMenu  )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 795 of file accountitem.cpp.

References AccountViewItem::contextName, SERVER_MENU_REFRESH_FOLDER, and tr.

QStringList MHviewItem::subFolders  ) 
 

Definition at line 832 of file accountitem.cpp.

References currentFolders.


Friends And Related Function Documentation

friend class MHfolderItem [friend]
 

Definition at line 183 of file accountitem.h.

Referenced by refresh().


Member Data Documentation

QStringList MHviewItem::currentFolders [protected]
 

Definition at line 203 of file accountitem.h.

Referenced by refresh(), and subFolders().

QString MHviewItem::m_Path [protected]
 

Definition at line 201 of file accountitem.h.

Referenced by MHviewItem().

AbstractMail* MHviewItem::wrapper [protected]
 

Definition at line 202 of file accountitem.h.

Referenced by createFolder(), getWrapper(), MHviewItem(), refresh(), and ~MHviewItem().


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