• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

Public Slots | Public Member Functions | List of all members
PhoneNumberListWidget Class Reference

#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

◆ PhoneNumberListWidget()

PhoneNumberListWidget::PhoneNumberListWidget ( QWidget * parent = 0)
explicit

Creates a new phone number list widget.

Parameters
parentThe parent widget.

Definition at line 167 of file phoneeditwidget.cpp.

◆ ~PhoneNumberListWidget()

PhoneNumberListWidget::~PhoneNumberListWidget ( )

Destroys the phone number list widget.

Definition at line 179 of file phoneeditwidget.cpp.

Member Function Documentation

◆ add

void PhoneNumberListWidget::add ( )
slot

Adds a new phone number widget to this widget.

Definition at line 230 of file phoneeditwidget.cpp.

◆ phoneNumberCount()

int PhoneNumberListWidget::phoneNumberCount ( ) const

Returns the number of phone numbers available.

Definition at line 192 of file phoneeditwidget.cpp.

◆ phoneNumbers()

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

Returns the list of phone numbers.

Definition at line 216 of file phoneeditwidget.cpp.

◆ remove

void PhoneNumberListWidget::remove ( )
slot

Removes the last phone number widget from this widget.

Definition at line 237 of file phoneeditwidget.cpp.

◆ setPhoneNumbers()

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

Sets the list of phone numbers the widget shall show.

Definition at line 197 of file phoneeditwidget.cpp.

◆ setReadOnly()

void PhoneNumberListWidget::setReadOnly ( bool readOnly)

Sets the widget to readOnly mode.

Definition at line 183 of file phoneeditwidget.cpp.


The documentation for this class was generated from the following files:
  • phoneeditwidget.h
  • phoneeditwidget.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal