File indexing completed on 2025-01-05 04:59:39

0001 /*
0002  * SPDX-FileCopyrightText: 2014 Kevin Ottens <ervin@kde.org>
0003  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004  */
0005 
0006 
0007 #include "akonadicollectionfetchjobinterface.h"
0008 
0009 #include <KJob>
0010 
0011 using namespace Akonadi;
0012 
0013 CollectionFetchJobInterface::CollectionFetchJobInterface()
0014 {
0015 }
0016 
0017 CollectionFetchJobInterface::~CollectionFetchJobInterface()
0018 {
0019 }
0020 
0021 KJob *CollectionFetchJobInterface::kjob()
0022 {
0023     KJob *job = dynamic_cast<KJob*>(this);
0024     Q_ASSERT(job);
0025     return job;
0026 }