Akonadi::PhoneComboBoxType

Search for usage in LXR

Akonadi::PhoneComboBoxType Class Reference

#include <phonecomboboxtype.h>

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
nodiscard

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 Mon Nov 18 2024 12:08:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.