ContactEditor::PhoneComboBoxType

ContactEditor::PhoneComboBoxType Class Reference

#include <phonecomboboxtype.h>

Inherits ContactEditor::ContactEditorComboBox.

Public Member Functions

 PhoneComboBoxType (QWidget *parent=nullptr)
 
 ~PhoneComboBoxType ()
 
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 33 of file phonecomboboxtype.h.

Constructor & Destructor Documentation

PhoneComboBoxType::PhoneComboBoxType ( QWidget parent = nullptr)
explicit

Creates a phone type combo.

Parameters
parentThe parent widget.

Definition at line 30 of file phonecomboboxtype.cpp.

PhoneComboBoxType::~PhoneComboBoxType ( )

Destroys the phone type combo.

Definition at line 51 of file phonecomboboxtype.cpp.

Member Function Documentation

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

Sets the phone number type that shall be selected.

Definition at line 55 of file phonecomboboxtype.cpp.

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

Returns the selected phone number type.

Definition at line 66 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-2020 The KDE developers.
Generated on Mon Aug 10 2020 23:12:26 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.