akonadi/contact
#include <phoneeditwidget.h>
Inherits QWidget.
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.
Constructor & Destructor Documentation
PhoneNumberListWidget::PhoneNumberListWidget | ( | QWidget * | parent = 0 | ) |
Creates a new phone number list widget.
- Parameters:
-
parent The 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:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:25:43 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.