kaddressbook

IMEditorWidget Class Reference

#include <imeditorwidget.h>

List of all members.


Detailed Description

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

Definition at line 49 of file imeditorwidget.h.


Public Member Functions

 IMEditorWidget (QWidget *parent, const QString &preferredIM, const char *name=0)
 ~IMEditorWidget ()
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)

Member Function Documentation

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.

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.


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