akonadi
20 #ifndef _AKONADI_CALENDAR_CLIPBOARD_P_H
21 #define _AKONADI_CALENDAR_CLIPBOARD_P_H
23 #include "calendarclipboard.h"
24 #include "incidencechanger.h"
25 #include "calendarbase.h"
26 #include <kcalcore/incidence.h>
36 class IncidenceChanger;
38 class CalendarClipboard::Private :
public QObject {
41 Private(
const Akonadi::CalendarBase::Ptr &,
42 Akonadi::IncidenceChanger *changer,
51 void getIncidenceHierarchy(
const KCalCore::Incidence::Ptr &incidence, QStringList &uids);
57 void cut(
const KCalCore::Incidence::List &incidences);
62 void cut(
const KCalCore::Incidence::Ptr &incidence);
70 void makeChildsIndependent(
const KCalCore::Incidence::Ptr &incidence);
73 void slotModifyFinished(
int changeId,
const Akonadi::Item &item,
74 Akonadi::IncidenceChanger::ResultCode resultCode,
75 const QString &errorMessage);
77 void slotDeleteFinished(
int changeId,
const QVector<Akonadi::Item::Id> &ids,
78 Akonadi::IncidenceChanger::ResultCode result,
79 const QString &errorMessage);
83 Akonadi::CalendarBase::Ptr m_calendar;
84 Akonadi::IncidenceChanger *m_changer;
85 KCalUtils::DndFactory *m_dndfactory;
86 int m_numChildsToDelete;
87 bool m_abortCurrentOperation;
88 QSet<int> m_pendingChangeIds;
CalendarClipboard(const Akonadi::CalendarBase::Ptr &calendar, Akonadi::IncidenceChanger *changer=0, QObject *parent=0)
Constructs a new CalendarClipboard.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.