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

NNTPaccount Class Reference

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

Inheritance diagram for NNTPaccount:

Inheritance graph
[legend]
Collaboration diagram for NNTPaccount:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NNTPaccount ()
 NNTPaccount (QString filename)
virtual void read ()
virtual void save ()
virtual QString getFileName ()
void setLogin (bool b)
bool getLogin ()
void setGroups (QStringList list)
QStringList getGroups ()

Static Public Member Functions

static QString getUniqueFileName ()

Private Attributes

QString file
bool login
QStringList subscribedGroups

Constructor & Destructor Documentation

NNTPaccount::NNTPaccount  ) 
 

Definition at line 393 of file settings.cpp.

References MAILLIB::A_NNTP, Account::accountName(), getUniqueFileName(), login, NNTP_PORT, Account::port, Account::ssl, and Account::type.

NNTPaccount::NNTPaccount QString  filename  ) 
 

Definition at line 404 of file settings.cpp.

References MAILLIB::A_NNTP, Account::accountName(), login, NNTP_PORT, Account::port, Account::ssl, and Account::type.


Member Function Documentation

QString NNTPaccount::getFileName  )  [virtual]
 

Reimplemented from Account.

Definition at line 465 of file settings.cpp.

Referenced by NNTPwrapper::NNTPwrapper(), read(), and save().

QStringList NNTPaccount::getGroups  )  [inline]
 

Definition at line 142 of file settings.h.

References subscribedGroups.

Referenced by NNTPGroups::fillGroups(), NNTPconfig::fillValues(), and NNTPwrapper::listFolders().

bool NNTPaccount::getLogin  )  [inline]
 

Definition at line 139 of file settings.h.

References login.

Referenced by NNTPconfig::fillValues(), and NNTPwrapper::login().

QString NNTPaccount::getUniqueFileName  )  [static]
 

Definition at line 415 of file settings.cpp.

References QValueList< T >::contains(), QDir::entryList(), and QString::setNum().

Referenced by NNTPaccount().

void NNTPaccount::read  )  [virtual]
 

Reimplemented from Account.

Definition at line 430 of file settings.cpp.

References Account::accountName(), Config::File, getFileName(), login, Account::password, Account::port, Config::readBoolEntry(), Config::readEntry(), Config::readEntryCrypt(), Config::readListEntry(), Account::server, Config::setGroup(), Account::ssl, subscribedGroups, and Account::user().

void NNTPaccount::save  )  [virtual]
 

Reimplemented from Account.

Definition at line 445 of file settings.cpp.

References Account::accountName(), Settings::checkDirectory(), Config::File, getFileName(), login, odebug, oendl, Account::password, Account::port, Account::server, Config::setGroup(), Account::ssl, subscribedGroups, Account::user(), Config::write(), Config::writeEntry(), and Config::writeEntryCrypt().

Referenced by NNTPGroupsDlg::accept(), NNTPviewItem::setOnOffline(), and NNTPconfig::slotGetNG().

void NNTPaccount::setGroups QStringList  list  )  [inline]
 

Definition at line 141 of file settings.h.

References subscribedGroups.

Referenced by NNTPconfig::save(), and NNTPGroups::storeValues().

void NNTPaccount::setLogin bool  b  )  [inline]
 

Definition at line 138 of file settings.h.

References login.

Referenced by NNTPconfig::save().


Member Data Documentation

QString NNTPaccount::file [private]
 

Definition at line 145 of file settings.h.

bool NNTPaccount::login [private]
 

Definition at line 146 of file settings.h.

Referenced by getLogin(), NNTPaccount(), read(), save(), and setLogin().

QStringList NNTPaccount::subscribedGroups [private]
 

Definition at line 147 of file settings.h.

Referenced by getGroups(), read(), save(), and setGroups().


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