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.
Definition at line 124 of file phoneeditwidget.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new phone number list widget.
- Parameters
-
parent The parent widget.
Definition at line 166 of file phoneeditwidget.cpp.
PhoneNumberListWidget::~PhoneNumberListWidget | ( | ) |
Destroys the phone number list widget.
Definition at line 177 of file phoneeditwidget.cpp.
Member Function Documentation
|
slot |
Adds a new phone number widget to this widget.
Definition at line 228 of file phoneeditwidget.cpp.
int PhoneNumberListWidget::phoneNumberCount | ( | ) | const |
Returns the number of phone numbers available.
Definition at line 190 of file phoneeditwidget.cpp.
KABC::PhoneNumber::List PhoneNumberListWidget::phoneNumbers | ( | ) | const |
Returns the list of phone numbers.
Definition at line 214 of file phoneeditwidget.cpp.
|
slot |
Removes the last phone number widget from this widget.
Definition at line 235 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 195 of file phoneeditwidget.cpp.
void PhoneNumberListWidget::setReadOnly | ( | bool | readOnly | ) |
Sets the widget to readOnly
mode.
Definition at line 181 of file phoneeditwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.