Akonadi Contacts
openemailaddressjob.cpp
24 OpenEmailAddressJobPrivate(OpenEmailAddressJob *qq, const QString &emailString, QWidget *parentWidget)
46 QPointer<Akonadi::ContactEditorDialog> dlg = new Akonadi::ContactEditorDialog(Akonadi::ContactEditorDialog::EditMode, mParentWidget);
74 QPointer<Akonadi::ContactEditorDialog> dlg = new Akonadi::ContactEditorDialog(Akonadi::ContactEditorDialog::EditMode, mParentWidget);
102 searchJob->setQuery(Akonadi::ContactSearchJob::Email, d->mEmail.toLower(), Akonadi::ContactSearchJob::ExactMatch);
Akonadi::Item contact() const
Returns the item that represents the new contact.
Definition addemailaddressjob.cpp:284
Job that searches for contacts in the Akonadi storage.
Definition contactsearchjob.h:69
void setQuery(Criterion criterion, const QString &value, Match match=ExactMatch)
Sets the criterion and value for the search with match.
Definition contactsearchjob.cpp:52
@ ExactMatch
The result must match exactly the pattern (case sensitive).
Definition contactsearchjob.h:102
void setLimit(int limit)
Sets a limit on how many results will be returned by this search job.
Definition contactsearchjob.cpp:74
Item::List items() const
QList< Item > List
OpenEmailAddressJob(const QString &email, QWidget *parentWidget, QObject *parent=nullptr)
Creates a new open email address job.
Definition openemailaddressjob.cpp:89
~OpenEmailAddressJob() override
Destroys the open email address job.
static void parseEmailAddress(const QString &rawEmail, QString &fullName, QString &email)
int error() const
void result(KJob *job)
KJob(QObject *parent=nullptr)
QString errorText() const
A widget for editing the display name of a contact.
T & first()
bool isEmpty() const const
QObject(QObject *parent)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
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
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.