File indexing completed on 2024-05-12 05:10:43

0001 /*
0002   SPDX-FileCopyrightText: 2011-2012 Sérgio Martins <iamsergio@gmail.com>
0003 
0004   SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "calendarbase_p.h"
0010 #include "fetchjobcalendar.h"
0011 
0012 class KJob;
0013 
0014 namespace Akonadi
0015 {
0016 class FetchJobCalendarPrivate : public CalendarBasePrivate
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit FetchJobCalendarPrivate(FetchJobCalendar *qq);
0021     ~FetchJobCalendarPrivate() override;
0022 
0023 public Q_SLOTS:
0024     void slotSearchJobFinished(KJob *job);
0025     void slotFetchJobFinished();
0026 
0027 private:
0028     FetchJobCalendar *const q;
0029     QString m_errorMessage;
0030     bool m_success;
0031 };
0032 }