• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

knode

Public Types | Public Member Functions | Protected Attributes | List of all members
KNServerInfo Class Reference

#include <knserverinfo.h>

Inheritance diagram for KNServerInfo:
Inheritance graph
[legend]

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

enum KNServerInfo::Encryption
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

Encryption KNServerInfo::encryption ( ) const
inline

Definition at line 54 of file knserverinfo.h.

int KNServerInfo::id ( ) const
inline

Definition at line 46 of file knserverinfo.h.

bool KNServerInfo::isEmpty ( ) const
inline

Definition at line 52 of file knserverinfo.h.

bool KNServerInfo::needsLogon ( ) const
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.

int KNServerInfo::port ( ) const
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.

bool KNServerInfo::readyForLogin ( ) const
inline

Definition at line 53 of file knserverinfo.h.

void KNServerInfo::saveConf ( KConfigGroup &  conf)

Definition at line 78 of file knserverinfo.cpp.

const QString& KNServerInfo::server ( )
inline

Definition at line 47 of file knserverinfo.h.

void KNServerInfo::setEncryption ( Encryption  enc)
inline

Definition at line 63 of file knserverinfo.h.

void KNServerInfo::setId ( int  i)
inline

Definition at line 57 of file knserverinfo.h.

void KNServerInfo::setNeedsLogon ( bool  b)
inline

Definition at line 62 of file knserverinfo.h.

void KNServerInfo::setPass ( const QString &  s)

Definition at line 145 of file knserverinfo.cpp.

void KNServerInfo::setPort ( int  p)
inline

Definition at line 61 of file knserverinfo.h.

void KNServerInfo::setServer ( const QString &  s)
inline

Definition at line 58 of file knserverinfo.h.

void KNServerInfo::setUser ( const QString &  s)
inline

Definition at line 59 of file knserverinfo.h.

const QString& KNServerInfo::user ( )
inline

Definition at line 48 of file knserverinfo.h.

Member Data Documentation

int KNServerInfo::i_d
protected

Definition at line 75 of file knserverinfo.h.

Encryption KNServerInfo::mEncryption
protected

Encyrption method.

Definition at line 83 of file knserverinfo.h.

bool KNServerInfo::mPassLoaded
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.

bool KNServerInfo::n_eedsLogon
protected

Definition at line 77 of file knserverinfo.h.

QString KNServerInfo::p_ass
protected

Definition at line 71 of file knserverinfo.h.

bool KNServerInfo::p_assDirty
protected

Definition at line 77 of file knserverinfo.h.

int KNServerInfo::p_ort
protected

Definition at line 75 of file knserverinfo.h.

QString KNServerInfo::s_erver
protected

Definition at line 71 of file knserverinfo.h.

QString KNServerInfo::u_ser
protected

Definition at line 71 of file knserverinfo.h.


The documentation for this class was generated from the following files:
  • knserverinfo.h
  • knserverinfo.cpp
This file is part of the KDE documentation.
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.

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal