Akonadi Calendar

fetchjobcalendar.h
1 /*
2  Copyright (C) 2011 Sérgio Martins <[email protected]>
3  Copyright (C) 2012 Sérgio Martins <[email protected]>
4 
5  This library is free software; you can redistribute it and/or modify it
6  under the terms of the GNU Library General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or (at your
8  option) any later version.
9 
10  This library is distributed in the hope that it will be useful, but WITHOUT
11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13  License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to the
17  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18  02110-1301, USA.
19 */
20 
21 #ifndef _AKONADI_FETCHJOBCALENDAR_H_
22 #define _AKONADI_FETCHJOBCALENDAR_H_
23 
24 #include "akonadi-calendar_export.h"
25 #include "calendarbase.h"
26 
27 #include <item.h>
28 
29 namespace Akonadi {
30 class FetchJobCalendarPrivate;
43 class AKONADI_CALENDAR_EXPORT FetchJobCalendar : public Akonadi::CalendarBase
44 {
45  Q_OBJECT
46 public:
48 
53  explicit FetchJobCalendar(QObject *parent = nullptr);
54 
58  ~FetchJobCalendar() override;
59 
64  Q_REQUIRED_RESULT bool isLoaded() const override;
65 
66 Q_SIGNALS:
72  void loadFinished(bool success, const QString &errorMessage);
73 
74 private:
75  Q_DECLARE_PRIVATE(FetchJobCalendar)
76 };
77 }
78 
79 #endif
KCALUTILS_EXPORT QString errorMessage(const KCalendarCore::Exception &exception)
FreeBusyManager::Singleton.
A KCalendarCore::Calendar that uses a one time IncidenceFetchJob to populate itself.
The base class for all akonadi aware calendars.
Definition: calendarbase.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue May 26 2020 22:41:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.