Akonadi::PhoneComboBoxType

Search for usage in LXR

Akonadi::PhoneComboBoxType Class Reference

#include <phonecomboboxtype.h>

Inherits Akonadi::ContactEditorComboBox.

Public Member Functions

 PhoneComboBoxType (QWidget *parent=nullptr)
 
 ~PhoneComboBoxType () override
 
void resetToDefault ()
 
void setType (KContacts::PhoneNumber::Type type)
 
KContacts::PhoneNumber::Type type () const
 

Detailed Description

A combobox to select a phone number type.

Definition at line 20 of file phonecomboboxtype.h.

Constructor & Destructor Documentation

◆ PhoneComboBoxType()

PhoneComboBoxType::PhoneComboBoxType ( QWidget * parent = nullptr)
explicit

Creates a phone type combo.

Parameters
parentThe parent widget.

Definition at line 17 of file phonecomboboxtype.cpp.

◆ ~PhoneComboBoxType()

PhoneComboBoxType::~PhoneComboBoxType ( )
overridedefault

Destroys the phone type combo.

Member Function Documentation

◆ resetToDefault()

void PhoneComboBoxType::resetToDefault ( )

Definition at line 54 of file phonecomboboxtype.cpp.

◆ setType()

void PhoneComboBoxType::setType ( KContacts::PhoneNumber::Type type)

Sets the phone number type that shall be selected.

Definition at line 38 of file phonecomboboxtype.cpp.

◆ type()

KContacts::PhoneNumber::Type PhoneComboBoxType::type ( ) const

Returns the selected phone number type.

Definition at line 49 of file phonecomboboxtype.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:38:22 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.