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

NNTPviewItem Class Reference

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

Inheritance diagram for NNTPviewItem:

Inheritance graph
[legend]
Collaboration diagram for NNTPviewItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NNTPviewItem (NNTPaccount *a, AccountView *parent)
virtual ~NNTPviewItem ()
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 ()
void subscribeGroups ()

Protected Attributes

NNTPaccountaccount
AbstractMailwrapper

Constructor & Destructor Documentation

NNTPviewItem::NNTPviewItem NNTPaccount a,
AccountView parent
 

NNTP Account stuff

Definition at line 208 of file accountitem.cpp.

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

NNTPviewItem::~NNTPviewItem  )  [virtual]
 

Definition at line 229 of file accountitem.cpp.

References wrapper.


Member Function Documentation

bool NNTPviewItem::contextMenuSelected int   )  [virtual]
 

Reimplemented from AccountViewItem.

Definition at line 319 of file accountitem.cpp.

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

void NNTPviewItem::disconnect  )  [protected]
 

Definition at line 294 of file accountitem.cpp.

References AbstractMail::logout(), and wrapper.

Referenced by contextMenuSelected(), and setOnOffline().

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

Implements AccountViewItem.

AbstractMail * NNTPviewItem::getWrapper  ) 
 

Definition at line 234 of file accountitem.cpp.

References wrapper.

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

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

Implements AccountViewItem.

Definition at line 108 of file accountitem.h.

void NNTPviewItem::refresh  )  [protected, virtual]
 

Definition at line 244 of file accountitem.cpp.

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

Referenced by setOnOffline(), and subscribeGroups().

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

Implements AccountViewItem.

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

Reimplemented from AccountViewItem.

Definition at line 272 of file accountitem.cpp.

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

void NNTPviewItem::setOnOffline  )  [protected]
 

Definition at line 306 of file accountitem.cpp.

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

Referenced by contextMenuSelected().

void NNTPviewItem::subscribeGroups  )  [protected]
 

Definition at line 286 of file accountitem.cpp.

References account, QPEApplication::execDialog(), and refresh().

Referenced by contextMenuSelected().


Member Data Documentation

NNTPaccount* NNTPviewItem::account [protected]
 

Definition at line 112 of file accountitem.h.

Referenced by NNTPviewItem(), refresh(), serverMenu(), setOnOffline(), and subscribeGroups().

AbstractMail* NNTPviewItem::wrapper [protected]
 

Definition at line 114 of file accountitem.h.

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


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