File indexing completed on 2024-12-15 04:51:46

0001 /*
0002    SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #include "notesakonaditreemodel.h"
0007 
0008 #include <Akonadi/ChangeRecorder>
0009 
0010 using namespace NoteShared;
0011 
0012 NotesAkonadiTreeModel::NotesAkonadiTreeModel(Akonadi::ChangeRecorder *changeRecorder, QObject *parent)
0013     : Akonadi::EntityTreeModel(changeRecorder, parent)
0014 {
0015     setItemPopulationStrategy(Akonadi::EntityTreeModel::ImmediatePopulation);
0016 }
0017 
0018 NotesAkonadiTreeModel::~NotesAkonadiTreeModel() = default;
0019 
0020 #include "moc_notesakonaditreemodel.cpp"