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

kaddressbook

Public Member Functions | Protected Member Functions | List of all members
XXPort Class Referenceabstract

#include <xxport.h>

Inheritance diagram for XXPort:
Inheritance graph
[legend]

Public Member Functions

 XXPort (QWidget *parent=0)
 
virtual ~XXPort ()
 
virtual bool exportContacts (const KABC::Addressee::List &contacts) const =0
 
virtual KABC::Addressee::List importContacts () const =0
 
QString option (const QString &key) const
 
void setOption (const QString &key, const QString &value)
 

Protected Member Functions

QString contactFileName (const KABC::Addressee &contact) const
 
QWidget * parentWidget () const
 

Detailed Description

The base class for all import/export modules.

Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org

Definition at line 32 of file xxport.h.

Constructor & Destructor Documentation

XXPort::XXPort ( QWidget *  parent = 0)
explicit

Creates a new xxport object.

Parameters
parentThe parent widget that shall be used as parent for GUI components.

Definition at line 22 of file xxport.cpp.

XXPort::~XXPort ( )
virtual

Destroys the xxport object.

Definition at line 27 of file xxport.cpp.

Member Function Documentation

QString XXPort::contactFileName ( const KABC::Addressee &  contact) const
protected

Returns a file name depending on the passed contact.

Definition at line 56 of file xxport.cpp.

bool XXPort::exportContacts ( const KABC::Addressee::List &  contacts) const
pure virtual

Exports the list of contacts.

Implemented in LDAPXXPort, LDIFXXPort, CsvXXPort, and VCardXXPort.

Definition at line 36 of file xxport.cpp.

KABC::Addressee::List XXPort::importContacts ( ) const
pure virtual

Imports a list of contacts.

Implemented in GMXXXPort, LDIFXXPort, LDAPXXPort, CsvXXPort, and VCardXXPort.

Definition at line 31 of file xxport.cpp.

QString XXPort::option ( const QString &  key) const

Returns the module specific option value for the given key.

Definition at line 46 of file xxport.cpp.

QWidget * XXPort::parentWidget ( ) const
protected

Returns the parent widget that can be used as parent for GUI components.

Definition at line 51 of file xxport.cpp.

void XXPort::setOption ( const QString &  key,
const QString &  value 
)

Sets module specific options.

Parameters
keyThe option key.
valueThe option value.

Definition at line 41 of file xxport.cpp.


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

KDE's Doxygen guidelines are available online.

kaddressbook

Skip menu "kaddressbook"
  • 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