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

IMAPviewItem Class Reference

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

Inheritance diagram for IMAPviewItem:

Inheritance graph
[legend]
Collaboration diagram for IMAPviewItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IMAPviewItem (IMAPaccount *a, AccountView *parent)
virtual ~IMAPviewItem ()
virtual void refresh (QValueList< Opie::Core::OSmartPointer< RecMail > > &)
virtual RECBODYP fetchBody (const Opie::Core::OSmartPointer< RecMail > &)
AbstractMailgetWrapper ()
virtual bool contextMenuSelected (int)
const QStringListsubFolders ()
virtual void refreshFolders (bool force=false)
virtual int isServer () const
bool offline ()
virtual QMap< int, QStringserverMenu ()

Protected Member Functions

virtual void createNewFolder ()

Protected Attributes

IMAPaccountaccount
AbstractMailwrapper
QStringList currentFolders

Friends

class IMAPfolderItem

Constructor & Destructor Documentation

IMAPviewItem::IMAPviewItem IMAPaccount a,
AccountView parent
 

IMAP Account stuff

Definition at line 402 of file accountitem.cpp.

References account, Account::getAccountName(), AbstractMail::getWrapper(), PIXMAP_IMAPFOLDER, SETPIX, and wrapper.

IMAPviewItem::~IMAPviewItem  )  [virtual]
 

Definition at line 412 of file accountitem.cpp.

References wrapper.


Member Function Documentation

bool IMAPviewItem::contextMenuSelected int   )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 517 of file accountitem.cpp.

References account, createNewFolder(), Account::getOffline(), AbstractMail::logout(), odebug, PIXMAP_IMAPFOLDER, refreshFolders(), AccountViewItem::removeChilds(), IMAPaccount::save(), SERVER_MENU_CREATE_FOLDER, SERVER_MENU_DISCONNECT, SERVER_MENU_OFFLINE, SERVER_MENU_REFRESH_FOLDER, Account::setOffline(), SETPIX, and wrapper.

void IMAPviewItem::createNewFolder  )  [protected, virtual]
 

Definition at line 497 of file accountitem.cpp.

References AbstractMail::createMbox(), IMAPfolderItem::Delemiter(), QPEApplication::execDialog(), refreshFolders(), and wrapper.

Referenced by contextMenuSelected().

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

Implements AccountViewItem.

AbstractMail * IMAPviewItem::getWrapper  ) 
 

Definition at line 417 of file accountitem.cpp.

References wrapper.

Referenced by IMAPfolderItem::contextMenuSelected(), IMAPfolderItem::deleteFolder(), and IMAPfolderItem::downloadMails().

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

Implements AccountViewItem.

Definition at line 150 of file accountitem.h.

bool IMAPviewItem::offline  ) 
 

Definition at line 554 of file accountitem.cpp.

References account, and Account::getOffline().

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

Implements AccountViewItem.

void IMAPviewItem::refreshFolders bool  force = false  )  [virtual]
 

Definition at line 432 of file accountitem.cpp.

References account, QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::clear(), currentFolders, QValueList< T >::end(), QString::findRev(), AccountViewItem::findSubItem(), Account::getOffline(), IMAPfolderItem, QString::left(), AbstractMail::listFolders(), odebug, pos, QValueList< T >::remove(), AccountViewItem::removeChilds(), and wrapper.

Referenced by contextMenuSelected(), IMAPfolderItem::createNewFolder(), createNewFolder(), and IMAPfolderItem::deleteFolder().

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

Reimplemented from AccountViewItem.

Definition at line 483 of file accountitem.cpp.

References account, AccountViewItem::contextName, Account::getOffline(), SERVER_MENU_CREATE_FOLDER, SERVER_MENU_DISCONNECT, SERVER_MENU_OFFLINE, SERVER_MENU_REFRESH_FOLDER, and tr.

const QStringList & IMAPviewItem::subFolders  ) 
 

Definition at line 427 of file accountitem.cpp.

References currentFolders.


Friends And Related Function Documentation

friend class IMAPfolderItem [friend]
 

Definition at line 140 of file accountitem.h.

Referenced by refreshFolders().


Member Data Documentation

IMAPaccount* IMAPviewItem::account [protected]
 

Definition at line 156 of file accountitem.h.

Referenced by contextMenuSelected(), IMAPviewItem(), offline(), refreshFolders(), and serverMenu().

QStringList IMAPviewItem::currentFolders [protected]
 

Definition at line 158 of file accountitem.h.

Referenced by refreshFolders(), and subFolders().

AbstractMail* IMAPviewItem::wrapper [protected]
 

Definition at line 157 of file accountitem.h.

Referenced by contextMenuSelected(), IMAPfolderItem::createNewFolder(), createNewFolder(), getWrapper(), IMAPviewItem(), refreshFolders(), and ~IMAPviewItem().


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