• 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 ()
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

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 Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

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
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 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