kaddressbook

#include <imeditorwidget.h>

Inherits KDialogBase.

Public Member Functions

 IMEditorWidget (TQWidget *parent, const TQString &preferredIM, const char *name=0)
 
void loadContact (TDEABC::Addressee *addr)
 
void storeContact (TDEABC::Addressee *addr)
 
void setReadOnly (bool readOnly)
 
TQValueList< KPluginInfo * > availableProtocols () const
 
bool isModified () const
 
TQString preferred () const
 

Protected Slots

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

Protected Member Functions

KPluginInfo * protocolFromString (const TQString &fieldValue) const
 

Static Protected Member Functions

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

Detailed Description

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

Definition at line 49 of file imeditorwidget.h.

Member Function Documentation

◆ protocolFromString()

KPluginInfo * IMEditorWidget::protocolFromString ( const TQString &  fieldValue) const
protected

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

Definition at line 464 of file imeditorwidget.cpp.

◆ splitField()

void IMEditorWidget::splitField ( const TQString &  str,
TQString &  app,
TQString &  name,
TQString &  value 
)
staticprotected

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

Definition at line 478 of file imeditorwidget.cpp.


The documentation for this class was generated from the following files: