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 158 of file phoneeditwidget.cpp.

PhoneNumberListWidget::~PhoneNumberListWidget (  ) 

Destroys the phone number list widget.

Definition at line 169 of file phoneeditwidget.cpp.


Member Function Documentation

void PhoneNumberListWidget::add (  )  [slot]

Adds a new phone number widget to this widget.

Definition at line 215 of file phoneeditwidget.cpp.

int PhoneNumberListWidget::phoneNumberCount (  )  const

Returns the number of phone numbers available.

Definition at line 181 of file phoneeditwidget.cpp.

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

Returns the list of phone numbers.

Definition at line 203 of file phoneeditwidget.cpp.

void PhoneNumberListWidget::remove (  )  [slot]

Removes the last phone number widget from this widget.

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

void PhoneNumberListWidget::setReadOnly ( bool  readOnly  ) 

Sets the widget to readOnly mode.

Definition at line 173 of file phoneeditwidget.cpp.


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