todosyncee.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef KSYNC_TODO_SYNCEE_H
00022
#define KSYNC_TODO_SYNCEE_H
00023
00024
#include <libkcal/todo.h>
00025
00026
#include "synctemplate.h"
00027
00028
namespace KSync {
00029
00030
class TodoSyncEntry :
public SyncEntry
00031 {
00032
public:
00033 TodoSyncEntry( KCal::Todo *,
Syncee *parent );
00034 TodoSyncEntry(
const TodoSyncEntry & );
00035 ~TodoSyncEntry();
00036 KCal::Todo* todo();
00037
00038
QString type() const;
00039
QString name();
00040
QString id();
00041
void setId(const
QString&
id );
00042
SyncEntry* clone();
00043
bool equals(
SyncEntry* entry );
00044
QString timestamp();
00045
bool mergeWith(
SyncEntry* );
00046
00047 private:
00048 KCal::Todo* mTodo;
00049 };
00050
00051 class TodoSyncee : public SyncTemplate<TodoSyncEntry>
00052 {
00053
public:
00054
enum Supports {
00055
00056 Organizer = 0,
00057 ReadOnly,
00058 DtStart,
00059 Duration,
00060 Float,
00061
00062 Attendee,
00063 CreatedDate,
00064 Revision,
00065 Description,
00066 Summary,
00067 Category,
00068 Relations,
00069 ExDates,
00070 Attachments,
00071 Secrecy,
00072 Resources,
00073 Priority,
00074 Alarms,
00075 Recurrence,
00076 Location,
00077
00078 DtDue,
00079 StartDate,
00080 Completed,
00081 Percent
00082 };
00083
00084 TodoSyncee();
00085
QString type() const;
00086
Syncee *clone();
00087
QString newId() const;
00088 };
00089
00090 }
00091
00092 #endif
This file is part of the documentation for kitchensync Library Version 3.3.0.