• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi/contact

PhoneNumberListWidget Class Reference

A widgets that groups together a list of PhoneNumberWidgets. More...

#include <phoneeditwidget.h>

Inherits QWidget.

List of all members.

Public Slots

void add ()
void remove ()

Public Member Functions

 PhoneNumberListWidget (QWidget *parent=0)
 ~PhoneNumberListWidget ()
int phoneNumberCount () const
KABC::PhoneNumber::List phoneNumbers () const
void setPhoneNumbers (const KABC::PhoneNumber::List &list)
void setReadOnly (bool readOnly)

Detailed Description

A widgets that groups together a list of PhoneNumberWidgets.

Definition at line 125 of file phoneeditwidget.h.


Constructor & Destructor Documentation

PhoneNumberListWidget::PhoneNumberListWidget ( QWidget *  parent = 0  ) 

Creates a new phone number list widget.

Parameters:
parent The parent widget.

Definition at line 154 of file phoneeditwidget.cpp.

PhoneNumberListWidget::~PhoneNumberListWidget (  ) 

Destroys the phone number list widget.

Definition at line 165 of file phoneeditwidget.cpp.


Member Function Documentation

void PhoneNumberListWidget::add (  )  [slot]

Adds a new phone number widget to this widget.

Definition at line 211 of file phoneeditwidget.cpp.

int PhoneNumberListWidget::phoneNumberCount (  )  const

Returns the number of phone numbers available.

Definition at line 177 of file phoneeditwidget.cpp.

KABC::PhoneNumber::List PhoneNumberListWidget::phoneNumbers (  )  const

Returns the list of phone numbers.

Definition at line 199 of file phoneeditwidget.cpp.

void PhoneNumberListWidget::remove (  )  [slot]

Removes the last phone number widget from this widget.

Definition at line 218 of file phoneeditwidget.cpp.

void PhoneNumberListWidget::setPhoneNumbers ( const KABC::PhoneNumber::List &  list  ) 

Sets the list of phone numbers the widget shall show.

Definition at line 182 of file phoneeditwidget.cpp.

void PhoneNumberListWidget::setReadOnly ( bool  readOnly  ) 

Sets the widget to readOnly mode.

Definition at line 169 of file phoneeditwidget.cpp.


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

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.2-20100208
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