Akonadi Contacts

recipientseditormanager.cpp
1/*
2 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "recipientseditormanager.h"
8
9#include "emailaddressselectionmodel.h"
10
11using namespace Akonadi;
12
13RecipientsEditorManager::RecipientsEditorManager(QObject *parent)
14 : QObject(parent)
15 , mModel(new Akonadi::EmailAddressSelectionModel(this))
16{
17}
18
19RecipientsEditorManager::~RecipientsEditorManager() = default;
20
21RecipientsEditorManager *RecipientsEditorManager::self()
22{
23 static RecipientsEditorManager s_self;
24 return &s_self;
25}
26
27Akonadi::EmailAddressSelectionModel *RecipientsEditorManager::model()
28{
29 return mModel;
30}
31
32#include "moc_recipientseditormanager.cpp"
A widget for editing the display name of a contact.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.