Changeset View
Changeset View
Standalone View
Standalone View
resources/dav/resource/davgroupwareresource.h
Show All 13 Lines | 1 | /* | |||
---|---|---|---|---|---|
14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program; if not, write to the Free Software | 15 | along with this program; if not, write to the Free Software | ||
16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | #ifndef DAVGROUPWARERESOURCE_H | 19 | #ifndef DAVGROUPWARERESOURCE_H | ||
20 | #define DAVGROUPWARERESOURCE_H | 20 | #define DAVGROUPWARERESOURCE_H | ||
21 | 21 | | |||
22 | #include <KDAV/Enums> | ||||
22 | #include <KDAV/EtagCache> | 23 | #include <KDAV/EtagCache> | ||
23 | 24 | | |||
24 | #include <memory> | 25 | #include <memory> | ||
25 | 26 | | |||
26 | #include <resourcebase.h> | 27 | #include <resourcebase.h> | ||
27 | #include <akonadi/calendar/freebusyproviderbase.h> | 28 | #include <akonadi/calendar/freebusyproviderbase.h> | ||
28 | 29 | | |||
29 | class DavFreeBusyHandler; | 30 | class DavFreeBusyHandler; | ||
▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 75 | private: | |||
100 | void onItemRefreshed(KJob *job); | 101 | void onItemRefreshed(KJob *job); | ||
101 | 102 | | |||
102 | void onItemAddedFinished(KJob *); | 103 | void onItemAddedFinished(KJob *); | ||
103 | void onItemChangePrepared(KJob *); | 104 | void onItemChangePrepared(KJob *); | ||
104 | void onItemChangedFinished(KJob *); | 105 | void onItemChangedFinished(KJob *); | ||
105 | void onItemRemovalPrepared(KJob *); | 106 | void onItemRemovalPrepared(KJob *); | ||
106 | void onItemRemovedFinished(KJob *); | 107 | void onItemRemovedFinished(KJob *); | ||
107 | 108 | | |||
108 | void onCollectionDiscovered(int protocol, const QString &collectionUrl, const QString &configuredUrl); | 109 | void onCollectionDiscovered(KDAV::Protocol protocol, const QString &collectionUrl, const QString &configuredUrl); | ||
109 | void onConflictModifyJobFinished(KJob *job); | 110 | void onConflictModifyJobFinished(KJob *job); | ||
110 | void onDeletedItemRecreated(KJob *job); | 111 | void onDeletedItemRecreated(KJob *job); | ||
111 | 112 | | |||
112 | void doItemChange(const Akonadi::Item &item, const Akonadi::Item::List &dependentItems = Akonadi::Item::List()); | 113 | void doItemChange(const Akonadi::Item &item, const Akonadi::Item::List &dependentItems = Akonadi::Item::List()); | ||
113 | void doItemRemoval(const Akonadi::Item &item); | 114 | void doItemRemoval(const Akonadi::Item &item); | ||
114 | void handleConflict(const Akonadi::Item &localItem, const Akonadi::Item::List &localDependentItems, const KDAV::DavItem &remoteItem, bool isLocalRemoval, int responseCode); | 115 | void handleConflict(const Akonadi::Item &localItem, const Akonadi::Item::List &localDependentItems, const KDAV::DavItem &remoteItem, bool isLocalRemoval, int responseCode); | ||
115 | 116 | | |||
116 | bool configurationIsValid(); | 117 | bool configurationIsValid(); | ||
Show All 15 Lines |