Akonadi Contacts
11#include "displaynameeditwidget.h"
14#include <KContacts/Addressee>
20class DisplayNameEditWidget;
21class NameEditDialog :
public QDialog
27 void setFamilyName(
const QString &name);
28 [[nodiscard]] QString familyName()
const;
30 void setGivenName(
const QString &name);
31 [[nodiscard]] QString givenName()
const;
33 void setPrefix(
const QString &prefix);
34 [[nodiscard]] QString prefix()
const;
36 void setSuffix(
const QString &suffix);
37 [[nodiscard]] QString suffix()
const;
39 void setAdditionalName(
const QString &name);
40 [[nodiscard]] QString additionalName()
const;
42 void loadContact(
const KContacts::Addressee &contact);
43 void storeContact(KContacts::Addressee &contact)
const;
45 void setDisplayType(DisplayNameEditWidget::DisplayType type);
46 [[nodiscard]] DisplayNameEditWidget::DisplayType displayType()
const;
49 KComboBox *mSuffixCombo =
nullptr;
50 KComboBox *mPrefixCombo =
nullptr;
51 KLineEdit *mFamilyNameEdit =
nullptr;
52 KLineEdit *mGivenNameEdit =
nullptr;
53 KLineEdit *mAdditionalNameEdit =
nullptr;
54 DisplayNameEditWidget *mDisplayNameEdit =
nullptr;
A widget for editing the display name of a contact.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.