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

libkleo

  • Kleo
  • DN
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Kleo::DN Class Reference

#include <dn.h>

Inheritance diagram for Kleo::DN:
Inheritance graph
[legend]

Public Types

typedef QVector< Attribute > AttributeList
 
typedef DN::AttributeList List
 

Public Member Functions

 DN ()
 
 DN (const QString &dn)
 
 DN (const char *utf8DN)
 
 DN (const DN &other)
 
 ~DN ()
 
void append (const Attribute &attr)
 
 Attribute (const QString &name=QString(), const QString &value=QString())
 
 Attribute (const Attribute &other)
 
const_iterator begin () const
 
QString dn () const
 
QString dn (const QString &sep) const
 
const_iterator end () const
 
const QString & name () const
 
const DN & operator= (const DN &other)
 
const Attribute & operator= (const Attribute &other)
 
QString operator[] (const QString &attr) const
 
QString prettyDN () const
 
void setValue (const QString &value)
 
const QString & value () const
 

Static Public Member Functions

static QString escape (const QString &value)
 

Detailed Description

DN parser and reorderer.

Definition at line 77 of file dn.h.

Member Typedef Documentation

typedef QVector<Attribute> Kleo::DN::AttributeList

Definition at line 79 of file dn.h.

typedef DN::AttributeList Kleo::DN::List

Definition at line 121 of file dn.h.

Constructor & Destructor Documentation

Kleo::DN::DN ( )

Definition at line 339 of file dn.cpp.

Kleo::DN::DN ( const QString &  dn)
explicit

Definition at line 344 of file dn.cpp.

Kleo::DN::DN ( const char *  utf8DN)
explicit

Definition at line 350 of file dn.cpp.

Kleo::DN::DN ( const DN &  other)

Definition at line 357 of file dn.cpp.

Kleo::DN::~DN ( )

Definition at line 363 of file dn.cpp.

Member Function Documentation

void Kleo::DN::append ( const Attribute &  attr)

Definition at line 414 of file dn.cpp.

Kleo::DN::Attribute ( const QString &  name = QString(),
const QString &  value = QString() 
)
inlineexplicit

Definition at line 123 of file dn.h.

Kleo::DN::Attribute ( const Attribute &  other)
inline

Definition at line 125 of file dn.h.

Kleo::DN::const_iterator Kleo::DN::begin ( ) const

Definition at line 433 of file dn.cpp.

QString Kleo::DN::dn ( ) const
Returns
the DN in the original form

Definition at line 389 of file dn.cpp.

QString Kleo::DN::dn ( const QString &  sep) const

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Uses sep as separator (default: ,)

Definition at line 393 of file dn.cpp.

Kleo::DN::const_iterator Kleo::DN::end ( ) const

Definition at line 437 of file dn.cpp.

QString Kleo::DN::escape ( const QString &  value)
static
Returns
the value in rfc-2253-escaped form

Definition at line 398 of file dn.cpp.

const QString& Kleo::DN::name ( ) const
inline

Definition at line 136 of file dn.h.

const Kleo::DN & Kleo::DN::operator= ( const DN &  other)

Definition at line 367 of file dn.cpp.

const Attribute& Kleo::DN::operator= ( const Attribute &  other)
inline

Definition at line 128 of file dn.h.

QString Kleo::DN::operator[] ( const QString &  attr) const

Definition at line 420 of file dn.cpp.

QString Kleo::DN::prettyDN ( ) const
Returns
the DN in a reordered form, according to the settings in the [DN] group of the application's config file

Definition at line 381 of file dn.cpp.

void Kleo::DN::setValue ( const QString &  value)
inline

Definition at line 139 of file dn.h.

const QString& Kleo::DN::value ( ) const
inline

Definition at line 137 of file dn.h.


The documentation for this class was generated from the following files:
  • dn.h
  • dn.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkleo

Skip menu "libkleo"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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