calendardiffalgo.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
#ifndef KPIM_CALENDARDIFFALGO_H
00023
#define KPIM_CALENDARDIFFALGO_H
00024
00025
#include <libkcal/event.h>
00026
#include <libkcal/todo.h>
00027
#include <libkdepim/diffalgo.h>
00028
00029
namespace KPIM {
00030
00031
class CalendarDiffAlgo :
public DiffAlgo
00032 {
00033
public:
00034 CalendarDiffAlgo( KCal::Incidence *leftIncidence, KCal::Incidence *rightIncidence );
00035
00036
void run();
00037
00038
private:
00039
template <
class L>
00040
void diffList(
const QString &
id,
const QValueList<L> &left,
const QValueList<L> &right );
00041
00042
void diffIncidenceBase( KCal::IncidenceBase*, KCal::IncidenceBase* );
00043
void diffIncidence( KCal::Incidence*, KCal::Incidence* );
00044
void diffEvent( KCal::Event*, KCal::Event* );
00045
void diffTodo( KCal::Todo*, KCal::Todo* );
00046
00047 KCal::Incidence *mLeftIncidence;
00048 KCal::Incidence *mRightIncidence;
00049 };
00050
00051 }
00052
00053
#endif
This file is part of the documentation for libkdepim Library Version 3.3.0.