• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kaddressbook

IMEditorWidget Class Reference

#include <imeditorwidget.h>

Inheritance diagram for IMEditorWidget:

Inheritance graph
[legend]

List of all members.


Detailed Description

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

Definition at line 50 of file imeditorwidget.h.


Public Member Functions

QList< KPluginInfo > availableProtocols () const
 IMEditorWidget (QWidget *parent, const QString &preferredIM)
bool isModified () const
void loadContact (KABC::Addressee *addr)
QString preferred () const
void setReadOnly (bool readOnly)
void storeContact (KABC::Addressee *addr)
 ~IMEditorWidget ()

Protected Slots

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

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)

Constructor & Destructor Documentation

IMEditorWidget::IMEditorWidget ( QWidget *  parent,
const QString &  preferredIM 
)

Definition at line 127 of file imeditorwidget.cpp.

IMEditorWidget::~IMEditorWidget (  )  [inline]

Definition at line 56 of file imeditorwidget.h.


Member Function Documentation

QList< KPluginInfo > IMEditorWidget::availableProtocols (  )  const

Definition at line 178 of file imeditorwidget.cpp.

bool IMEditorWidget::isModified (  )  const

Definition at line 312 of file imeditorwidget.cpp.

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

Definition at line 183 of file imeditorwidget.cpp.

QString IMEditorWidget::preferred (  )  const

Definition at line 459 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 465 of file imeditorwidget.cpp.

void IMEditorWidget::setReadOnly ( bool  readOnly  ) 

Definition at line 249 of file imeditorwidget.cpp.

void IMEditorWidget::slotAdd (  )  [protected, slot]

Definition at line 317 of file imeditorwidget.cpp.

void IMEditorWidget::slotDelete (  )  [protected, slot]

Definition at line 402 of file imeditorwidget.cpp.

void IMEditorWidget::slotEdit (  )  [protected, slot]

Definition at line 353 of file imeditorwidget.cpp.

void IMEditorWidget::slotSetStandard (  )  [protected, slot]

Definition at line 255 of file imeditorwidget.cpp.

void IMEditorWidget::slotUpdateButtons (  )  [protected, slot]

Definition at line 283 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 477 of file imeditorwidget.cpp.

void IMEditorWidget::storeContact ( KABC::Addressee *  addr  ) 

Definition at line 222 of file imeditorwidget.cpp.


The documentation for this class was generated from the following files:
  • imeditorwidget.h
  • imeditorwidget.cpp

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal