akonadi/contact
contacteditordialog.cpp
43 Private( ContactEditorDialog::Mode mode, ContactEditorDialog::DisplayMode displaymode, AbstractContactEditorWidget *editorWidget,
48 q->setCaption( mode == ContactEditorDialog::CreateMode ? i18n( "New Contact" ) : i18n( "Edit Contact" ) );
57 mEditor = new ContactEditor( mode == ContactEditorDialog::CreateMode ? ContactEditor::CreateMode : ContactEditor::EditMode, editorWidget, q );
59 mEditor = new ContactEditor( mode == ContactEditorDialog::CreateMode ? ContactEditor::CreateMode : ContactEditor::EditMode, displaymode == ContactEditorDialog::FullMode ? ContactEditor::FullMode : ContactEditor::VCardMode, q );
136 ContactEditorDialog::ContactEditorDialog( Mode mode, AbstractContactEditorWidget *editorWidget, QWidget *parent )
A dialog for creating or editing a contact in Akonadi.
Definition: contacteditordialog.h:77
bool isValid() const
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
ContactEditorDialog(Mode mode, QWidget *parent=0)
Creates a new contact editor dialog with the standard editor widget.
Definition: contacteditordialog.cpp:131
Edits an existing contact.
Definition: contacteditordialog.h:87
void contactStored(const Akonadi::Item &contact)
This signal is emitted whenever a contact was updated or stored.
void setContact(const Akonadi::Item &contact)
Sets the contact to edit when in EditMode.
Definition: contacteditordialog.cpp:152
void error(const QString &errMsg)
This signal is emitted whenever a contact is not updated or stored.
void setDefaultAddressBook(const Akonadi::Collection &addressbook)
Sets the addressbook that shall be selected as default in create mode.
Definition: contacteditordialog.cpp:157
Show just pages with elements stored in vcard.
Definition: contacteditor.h:95
void setColumnStretch(int column, int stretch)
ContactEditor * editor() const
Returns the ContactEditor that is used by this dialog.
Definition: contacteditordialog.cpp:166
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.