• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi/contact

Public Slots | Public Member Functions
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:
parentThe parent widget.

Definition at line 160 of file phoneeditwidget.cpp.

PhoneNumberListWidget::~PhoneNumberListWidget ( )

Destroys the phone number list widget.

Definition at line 171 of file phoneeditwidget.cpp.


Member Function Documentation

void PhoneNumberListWidget::add ( ) [slot]

Adds a new phone number widget to this widget.

Definition at line 217 of file phoneeditwidget.cpp.

int PhoneNumberListWidget::phoneNumberCount ( ) const

Returns the number of phone numbers available.

Definition at line 183 of file phoneeditwidget.cpp.

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

Returns the list of phone numbers.

Definition at line 205 of file phoneeditwidget.cpp.

void PhoneNumberListWidget::remove ( ) [slot]

Removes the last phone number widget from this widget.

Definition at line 224 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 188 of file phoneeditwidget.cpp.

void PhoneNumberListWidget::setReadOnly ( bool  readOnly)

Sets the widget to readOnly mode.

Definition at line 175 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
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

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