kaddressbook

IMEditorWidget Class Reference

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

#include <imeditorwidget.h>

Inherits KDialogBase.

List of all members.


Public Member Functions

 IMEditorWidget (QWidget *parent, const QString &preferredIM, const char *name=0)
void loadContact (KABC::Addressee *addr)
void storeContact (KABC::Addressee *addr)
void setReadOnly (bool readOnly)
QValueList< KPluginInfo * > availableProtocols () const
bool isModified () const
QString preferred () const

Protected Slots

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

Protected Member Functions

KPluginInfo * protocolFromString (const QString &fieldValue) const

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

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

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

Definition at line 462 of file imeditorwidget.cpp.

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 476 of file imeditorwidget.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys