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

kopete/kopete

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

#include <kopeteaddrbookexport.h>

Inheritance diagram for KopeteAddressBookExport:
Inheritance graph
[legend]

Public Member Functions

 KopeteAddressBookExport (QWidget *parent, Kopete::MetaContact *mc)
 
 ~KopeteAddressBookExport ()
 
void exportData ()
 
int showDialog ()
 

Protected Member Functions

void fetchIMData ()
 
void fetchKABCData ()
 
void fetchPhoneNumbers (K3ListBox *listBox, KABC::PhoneNumber::Type type, uint &counter)
 
void initLabels ()
 
bool newValue (QComboBox *combo)
 
QStringList newValues (K3ListBox *listBox, uint counter)
 
void populateIM (const Kopete::Contact *contact, const QPixmap &icon, QComboBox *combo, const Kopete::PropertyTmpl &property)
 
void populateIM (const Kopete::Contact *contact, const QPixmap &icon, K3ListBox *combo, const Kopete::PropertyTmpl &property)
 

Protected Attributes

QPixmap mAddrBookIcon
 
KABC::AddressBook * mAddressBook
 
KABC::Addressee mAddressee
 
KDialog * mDialog
 
Kopete::MetaContact * mMetaContact
 
QWidget * mParent
 
AddressBookExportUI * mUI
 
uint numEmails
 
uint numHomePhones
 
uint numMobilePhones
 
uint numWorkPhones
 

Detailed Description

Definition at line 40 of file kopeteaddrbookexport.h.

Constructor & Destructor Documentation

KopeteAddressBookExport::KopeteAddressBookExport ( QWidget *  parent,
Kopete::MetaContact *  mc 
)

Definition at line 38 of file kopeteaddrbookexport.cpp.

KopeteAddressBookExport::~KopeteAddressBookExport ( )

Definition at line 46 of file kopeteaddrbookexport.cpp.

Member Function Documentation

void KopeteAddressBookExport::exportData ( )

Export the data to KABC if changed, omitting any duplicates.

Definition at line 199 of file kopeteaddrbookexport.cpp.

void KopeteAddressBookExport::fetchIMData ( )
protected

Populate the GUI with data from IM systems.

Definition at line 124 of file kopeteaddrbookexport.cpp.

void KopeteAddressBookExport::fetchKABCData ( )
protected

Populate the GUI with data from KABC.

Definition at line 65 of file kopeteaddrbookexport.cpp.

void KopeteAddressBookExport::fetchPhoneNumbers ( K3ListBox *  listBox,
KABC::PhoneNumber::Type  type,
uint &  counter 
)
protected

Populate a listbox with a given type of phone number.

Definition at line 110 of file kopeteaddrbookexport.cpp.

void KopeteAddressBookExport::initLabels ( )
protected

Initialise the GUI labels with labels from KABC.

Definition at line 51 of file kopeteaddrbookexport.cpp.

bool KopeteAddressBookExport::newValue ( QComboBox *  combo)
protected

Check the selected item is not the first (existing KABC) item, or the same as it.

Definition at line 273 of file kopeteaddrbookexport.cpp.

QStringList KopeteAddressBookExport::newValues ( K3ListBox *  listBox,
uint  counter 
)
protected

Definition at line 281 of file kopeteaddrbookexport.cpp.

void KopeteAddressBookExport::populateIM ( const Kopete::Contact *  contact,
const QPixmap &  icon,
QComboBox *  combo,
const Kopete::PropertyTmpl &  property 
)
protected

Populate a combobox with a contact's IM data.

Definition at line 150 of file kopeteaddrbookexport.cpp.

void KopeteAddressBookExport::populateIM ( const Kopete::Contact *  contact,
const QPixmap &  icon,
K3ListBox *  combo,
const Kopete::PropertyTmpl &  property 
)
protected

Populate a listbox with a contact's IM data.

Definition at line 159 of file kopeteaddrbookexport.cpp.

int KopeteAddressBookExport::showDialog ( )

Display the dialog.

Returns
a QDialog return code

Definition at line 168 of file kopeteaddrbookexport.cpp.

Member Data Documentation

QPixmap KopeteAddressBookExport::mAddrBookIcon
protected

Definition at line 93 of file kopeteaddrbookexport.h.

KABC::AddressBook* KopeteAddressBookExport::mAddressBook
protected

Definition at line 96 of file kopeteaddrbookexport.h.

KABC::Addressee KopeteAddressBookExport::mAddressee
protected

Definition at line 97 of file kopeteaddrbookexport.h.

KDialog* KopeteAddressBookExport::mDialog
protected

Definition at line 92 of file kopeteaddrbookexport.h.

Kopete::MetaContact* KopeteAddressBookExport::mMetaContact
protected

Definition at line 95 of file kopeteaddrbookexport.h.

QWidget* KopeteAddressBookExport::mParent
protected

Definition at line 91 of file kopeteaddrbookexport.h.

AddressBookExportUI* KopeteAddressBookExport::mUI
protected

Definition at line 94 of file kopeteaddrbookexport.h.

uint KopeteAddressBookExport::numEmails
protected

Definition at line 100 of file kopeteaddrbookexport.h.

uint KopeteAddressBookExport::numHomePhones
protected

Definition at line 100 of file kopeteaddrbookexport.h.

uint KopeteAddressBookExport::numMobilePhones
protected

Definition at line 100 of file kopeteaddrbookexport.h.

uint KopeteAddressBookExport::numWorkPhones
protected

Definition at line 100 of file kopeteaddrbookexport.h.


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

KDE's Doxygen guidelines are available online.

kopete/kopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

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