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

POP3viewItem Class Reference

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

Inheritance diagram for POP3viewItem:

Inheritance graph
[legend]
Collaboration diagram for POP3viewItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 POP3viewItem (POP3account *a, AccountView *parent)
virtual ~POP3viewItem ()
virtual void refresh (QValueList< Opie::Core::OSmartPointer< RecMail > > &target)
virtual RECBODYP fetchBody (const Opie::Core::OSmartPointer< RecMail > &mail)
AbstractMailgetWrapper ()
virtual bool contextMenuSelected (int)
virtual int isServer () const
virtual QMap< int, QStringserverMenu ()

Protected Member Functions

virtual void refresh ()
void disconnect ()
void setOnOffline ()

Protected Attributes

POP3accountaccount
AbstractMailwrapper

Constructor & Destructor Documentation

POP3viewItem::POP3viewItem POP3account a,
AccountView parent
 

POP3 Account stuff

Definition at line 26 of file accountitem.cpp.

References account, Account::getAccountName(), Account::getOffline(), AbstractMail::getWrapper(), PIXMAP_OFFLINE, PIXMAP_POP3FOLDER, SETPIX, and wrapper.

POP3viewItem::~POP3viewItem  )  [virtual]
 

Definition at line 46 of file accountitem.cpp.

References wrapper.


Member Function Documentation

bool POP3viewItem::contextMenuSelected int   )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 124 of file accountitem.cpp.

References disconnect(), SERVER_MENU_DISCONNECT, SERVER_MENU_OFFLINE, and setOnOffline().

void POP3viewItem::disconnect  )  [protected]
 

Definition at line 100 of file accountitem.cpp.

References AbstractMail::logout(), and wrapper.

Referenced by contextMenuSelected(), and setOnOffline().

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

Implements AccountViewItem.

AbstractMail * POP3viewItem::getWrapper  ) 
 

Definition at line 51 of file accountitem.cpp.

References wrapper.

Referenced by POP3folderItem::contextMenuSelected(), and POP3folderItem::downloadMails().

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

Implements AccountViewItem.

Definition at line 69 of file accountitem.h.

void POP3viewItem::refresh  )  [protected, virtual]
 

Definition at line 61 of file accountitem.cpp.

References account, QValueList< T >::begin(), QValueList< T >::end(), Account::getOffline(), AbstractMail::listFolders(), and wrapper.

Referenced by refresh(), and setOnOffline().

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

Implements AccountViewItem.

Definition at line 56 of file accountitem.cpp.

References refresh().

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

Reimplemented from AccountViewItem.

Definition at line 88 of file accountitem.cpp.

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

void POP3viewItem::setOnOffline  )  [protected]
 

Definition at line 112 of file accountitem.cpp.

References account, disconnect(), Account::getOffline(), PIXMAP_POP3FOLDER, refresh(), POP3account::save(), Account::setOffline(), and SETPIX.

Referenced by contextMenuSelected().


Member Data Documentation

POP3account* POP3viewItem::account [protected]
 

Definition at line 73 of file accountitem.h.

Referenced by POP3viewItem(), refresh(), serverMenu(), and setOnOffline().

AbstractMail* POP3viewItem::wrapper [protected]
 

Definition at line 75 of file accountitem.h.

Referenced by disconnect(), getWrapper(), POP3viewItem(), refresh(), and ~POP3viewItem().


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