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

MHfolderItem Class Reference

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

Inheritance diagram for MHfolderItem:

Inheritance graph
[legend]
Collaboration diagram for MHfolderItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MHfolderItem (const Opie::Core::OSmartPointer< Folder > &folder, MHviewItem *parent, QListViewItem *after)
 MHfolderItem (const Opie::Core::OSmartPointer< Folder > &folder, MHfolderItem *parent, QListViewItem *after, MHviewItem *master)
virtual ~MHfolderItem ()
virtual void refresh (QValueList< Opie::Core::OSmartPointer< RecMail > > &)
virtual RECBODYP fetchBody (const Opie::Core::OSmartPointer< RecMail > &)
virtual bool contextMenuSelected (int)
virtual const Opie::Core::OSmartPointer<
Folder > & 
getFolder () const
virtual bool isDraftfolder ()
virtual int isServer () const
virtual QMap< int, QStringfolderMenu ()

Protected Member Functions

void downloadMails ()
virtual void createFolder ()
virtual bool deleteFolder ()
void initName ()

Protected Attributes

MHviewItemmbox

Constructor & Destructor Documentation

MHfolderItem::MHfolderItem const Opie::Core::OSmartPointer< Folder > &  folder,
MHviewItem parent,
QListViewItem *  after
 

MHfolderItem::MHfolderItem const Opie::Core::OSmartPointer< Folder > &  folder,
MHfolderItem parent,
QListViewItem *  after,
MHviewItem master
 

MHfolderItem::~MHfolderItem  )  [virtual]
 

Definition at line 865 of file accountitem.cpp.


Member Function Documentation

bool MHfolderItem::contextMenuSelected int   )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 991 of file accountitem.cpp.

References createFolder(), AccountViewItem::deleteAllMail(), deleteFolder(), downloadMails(), AccountViewItem::folder, FOLDER_MENU_DELETE_ALL_MAILS, FOLDER_MENU_DELETE_FOLDER, FOLDER_MENU_MOVE_MAILS, FOLDER_MENU_NEW_SUBFOLDER, FOLDER_MENU_REFRESH_HEADER, MHviewItem::getWrapper(), mbox, and AccountView::refreshCurrent().

void MHfolderItem::createFolder  )  [protected, virtual]
 

Definition at line 970 of file accountitem.cpp.

References QPEApplication::execDialog(), AccountViewItem::folder, MHviewItem::getWrapper(), mbox, MHviewItem::refresh(), and v.

Referenced by contextMenuSelected().

bool MHfolderItem::deleteFolder  )  [protected, virtual]
 

Definition at line 926 of file accountitem.cpp.

References AccountViewItem::contextName, AccountViewItem::folder, MHviewItem::getWrapper(), mbox, QString::null, odebug, MHviewItem::refresh(), tr, v, and warning().

Referenced by contextMenuSelected().

void MHfolderItem::downloadMails  )  [protected]
 

Definition at line 963 of file accountitem.cpp.

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

Referenced by contextMenuSelected().

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

Implements AccountViewItem.

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

Reimplemented from AccountViewItem.

Definition at line 952 of file accountitem.cpp.

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

const FolderP & MHfolderItem::getFolder  )  const [virtual]
 

Definition at line 910 of file accountitem.cpp.

References AccountViewItem::folder.

void MHfolderItem::initName  )  [protected]
 

Definition at line 883 of file accountitem.cpp.

References QString::findRev(), AccountViewItem::folder, QString::length(), Opie::Core::OResource::loadPixmap(), QString::lower(), PIXMAP_INBOXFOLDER, PIXMAP_MBOXFOLDER, PIXMAP_OUTBOXFOLDER, pos, QString::replace(), Opie::Core::OResource::SmallIcon, and QString::startsWith().

bool MHfolderItem::isDraftfolder  )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 1018 of file accountitem.cpp.

References AbstractMail::defaultLocalfolder(), AbstractMail::draftFolder(), and AccountViewItem::folder.

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

Implements AccountViewItem.

Definition at line 218 of file accountitem.h.

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

Implements AccountViewItem.


Member Data Documentation

MHviewItem* MHfolderItem::mbox [protected]
 

Definition at line 226 of file accountitem.h.

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


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