knode
#include <knserverinfo.h>
Public Types | |
enum | Encryption { None, SSL, TLS } |
typedef boost::shared_ptr < KNServerInfo > | Ptr |
Public Member Functions | |
KNServerInfo () | |
~KNServerInfo () | |
Encryption | encryption () const |
int | id () const |
bool | isEmpty () const |
bool | needsLogon () const |
bool | operator== (const KNServerInfo &s) const |
const QString & | pass () |
int | port () const |
void | readConf (KConfigGroup &conf) |
void | readPassword () |
bool | readyForLogin () const |
void | saveConf (KConfigGroup &conf) |
const QString & | server () |
void | setEncryption (Encryption enc) |
void | setId (int i) |
void | setNeedsLogon (bool b) |
void | setPass (const QString &s) |
void | setPort (int p) |
void | setServer (const QString &s) |
void | setUser (const QString &s) |
const QString & | user () |
Protected Attributes | |
int | i_d |
Encryption | mEncryption |
bool | mPassLoaded |
bool | n_eedsLogon |
QString | p_ass |
bool | p_assDirty |
int | p_ort |
QString | s_erver |
QString | u_ser |
Detailed Description
Represents an account on a news server.
Definition at line 29 of file knserverinfo.h.
Member Typedef Documentation
typedef boost::shared_ptr<KNServerInfo> KNServerInfo::Ptr |
Shared pointer to a KNServerInfo.
To be used instead of raw KNServerInfo*.
Definition at line 37 of file knserverinfo.h.
Member Enumeration Documentation
Enumerator | |
---|---|
None | |
SSL | |
TLS |
Definition at line 32 of file knserverinfo.h.
Constructor & Destructor Documentation
KNServerInfo::KNServerInfo | ( | ) |
Definition at line 30 of file knserverinfo.cpp.
KNServerInfo::~KNServerInfo | ( | ) |
Definition at line 40 of file knserverinfo.cpp.
Member Function Documentation
|
inline |
Definition at line 54 of file knserverinfo.h.
|
inline |
Definition at line 46 of file knserverinfo.h.
|
inline |
Definition at line 52 of file knserverinfo.h.
|
inline |
Definition at line 51 of file knserverinfo.h.
bool KNServerInfo::operator== | ( | const KNServerInfo & | s | ) | const |
Definition at line 124 of file knserverinfo.cpp.
const QString & KNServerInfo::pass | ( | ) |
Definition at line 136 of file knserverinfo.cpp.
|
inline |
Definition at line 50 of file knserverinfo.h.
void KNServerInfo::readConf | ( | KConfigGroup & | conf | ) |
Definition at line 45 of file knserverinfo.cpp.
void KNServerInfo::readPassword | ( | ) |
Loads the password from KWallet, used for on-demand password loading.
Definition at line 154 of file knserverinfo.cpp.
|
inline |
Definition at line 53 of file knserverinfo.h.
void KNServerInfo::saveConf | ( | KConfigGroup & | conf | ) |
Definition at line 78 of file knserverinfo.cpp.
|
inline |
Definition at line 47 of file knserverinfo.h.
|
inline |
Definition at line 63 of file knserverinfo.h.
|
inline |
Definition at line 57 of file knserverinfo.h.
|
inline |
Definition at line 62 of file knserverinfo.h.
void KNServerInfo::setPass | ( | const QString & | s | ) |
Definition at line 145 of file knserverinfo.cpp.
|
inline |
Definition at line 61 of file knserverinfo.h.
|
inline |
Definition at line 58 of file knserverinfo.h.
|
inline |
Definition at line 59 of file knserverinfo.h.
|
inline |
Definition at line 48 of file knserverinfo.h.
Member Data Documentation
|
protected |
Definition at line 75 of file knserverinfo.h.
|
protected |
Encyrption method.
Definition at line 83 of file knserverinfo.h.
|
protected |
Prevent loading the password multiple times since wallet operations from the I/O thread don't work.
Definition at line 81 of file knserverinfo.h.
|
protected |
Definition at line 77 of file knserverinfo.h.
|
protected |
Definition at line 71 of file knserverinfo.h.
|
protected |
Definition at line 77 of file knserverinfo.h.
|
protected |
Definition at line 75 of file knserverinfo.h.
|
protected |
Definition at line 71 of file knserverinfo.h.
|
protected |
Definition at line 71 of file knserverinfo.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.