• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kabc
 

kabc

  • KABC
  • VCard21Parser
Public Member Functions | Static Public Member Functions | List of all members
KABC::VCard21Parser Class Reference

#include <vcard21parser.h>

Public Member Functions

 VCard21Parser ()
 
virtual ~VCard21Parser ()
 
void readFromString (KABC::AddressBook *ab, const TQString &str)
 
KABC::Addressee readFromString (const TQString &data)
 

Static Public Member Functions

static KABC::Address readAddressFromQStringList (const TQStringList &data, const int type)
 

Detailed Description

Deprecated:
use VCardConverter instead.

Definition at line 142 of file vcard21parser.h.

Constructor & Destructor Documentation

◆ VCard21Parser()

VCard21Parser::VCard21Parser ( )

Constructor.

Definition at line 194 of file vcard21parser.cpp.

◆ ~VCard21Parser()

VCard21Parser::~VCard21Parser ( )
virtual

Destructor.

Definition at line 198 of file vcard21parser.cpp.

Member Function Documentation

◆ readAddressFromQStringList()

KABC::Address VCard21Parser::readAddressFromQStringList ( const TQStringList &  data,
const int  type 
)
static

Helper method to store a address.

Parameters
dataA string list, that is filled with 'street', 'house number' ...
typeThe type of the returned address.

Definition at line 372 of file vcard21parser.cpp.

◆ readFromString() [1/2]

KABC::Addressee VCard21Parser::readFromString ( const TQString &  data)

FIXME: we need a writeToString method TQString writeToString (KABC::AddressBook *);.

Parses a string in vcard2.1 format and returns the inherent addressee.

Definition at line 208 of file vcard21parser.cpp.

◆ readFromString() [2/2]

void VCard21Parser::readFromString ( KABC::AddressBook *  ab,
const TQString &  str 
)

Parses a string in vcard2.1 format and saves the single addressees to the address book.

Parameters
abThe address book.
strThe vcard string.

Definition at line 202 of file vcard21parser.cpp.


The documentation for this class was generated from the following files:
  • vcard21parser.h
  • vcard21parser.cpp

kabc

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

kabc

Skip menu "kabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kabc by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |