kaddressbook Library API Documentation

IMEditorWidget Class Reference

The widget we add to KAddressbook's contact editor dialog. More...

#include <imeditorwidget.h>

Collaboration diagram for IMEditorWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IMEditorWidget (KABC::AddressBook *ab, QWidget *parent, const char *name=0)
void loadContact (KABC::Addressee *addr)
void storeContact (KABC::Addressee *addr)
void setReadOnly (bool readOnly)
QValueList< KPluginInfo * > availableProtocols () const

Protected Slots

void slotUpdateButtons ()
void slotAdd ()
void slotEdit ()
void slotDelete ()

Protected Member Functions

KPluginInfo * protocolFromString (const QString fieldValue)

Static Protected Member Functions

static void splitField (const QString &str, QString &app, QString &name, QString &value)

Detailed Description

The widget we add to KAddressbook's contact editor dialog.

Definition at line 49 of file imeditorwidget.h.


Member Function Documentation

void IMEditorWidget::loadContact KABC::Addressee *  addr  ) 
 

Reimplemented from KAB::ContactEditorWidget.

Definition at line 156 of file imeditorwidget.cpp.

References protocolFromString(), and splitField().

void IMEditorWidget::splitField const QString str,
QString app,
QString name,
QString value
[static, protected]
 

Helper method to split the contents of an addressbook field up.

Definition at line 328 of file imeditorwidget.cpp.

Referenced by loadContact().

KPluginInfo * IMEditorWidget::protocolFromString const QString  fieldValue  )  [protected]
 

Find a protocol that matches the KABC key, or 0 if none found.

Definition at line 313 of file imeditorwidget.cpp.

Referenced by loadContact().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kaddressbook Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 4 14:41:49 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003