ContactEditor::PhoneComboBoxType
ContactEditor::PhoneComboBoxType Class Reference
#include <phonecomboboxtype.h>
Inherits ContactEditor::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()
|
explicit |
Creates a phone type combo.
- Parameters
-
parent The parent widget.
Definition at line 17 of file phonecomboboxtype.cpp.
◆ ~PhoneComboBoxType()
|
overridedefault |
Destroys the phone type combo.
Member Function Documentation
◆ 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-2023 The KDE developers.
Generated on Sun Mar 26 2023 03:56:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 03:56:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.