kitchensync

KSync::CalendarMerger Class Reference

Inheritance diagram for KSync::CalendarMerger:

KSync::Merger List of all members.

Detailed Description

Definition at line 29 of file calendarmerger.h.


Public Types

enum  BaseSupports {
  Organizer = 0, ReadOnly, DtStart, Duration,
  Float, Attendee, CreatedDate, Revision,
  Description, Summary, Category, Relations,
  ExDates, Attachments, Secrecy, Resources,
  Priority, Alarms, Recurrence, Location,
  BaseLast
}
enum  TodoSupports {
  DtDue = BaseLast, StartDate, Completed, Percent,
  StartDateTime, DueDateTime
}
enum  EventSupports { DtEnd = BaseLast }

Public Member Functions

 CalendarMerger (const QBitArray &todo, const QBitArray &event)
 ~CalendarMerger ()
bool merge (SyncEntry *entry, SyncEntry *other)

Member Enumeration Documentation

ENUM of commonly used Attributues.

Definition at line 35 of file calendarmerger.h.

Attributes Unique to Todo.

Definition at line 64 of file calendarmerger.h.

Attribute Unique to Events.

Definition at line 76 of file calendarmerger.h.


Constructor & Destructor Documentation

KSync::CalendarMerger::CalendarMerger ( const QBitArray &  todo,
const QBitArray &  event 
)

Create a New Merger for CalendarSyncee.

This works for Todo and Calendar. You need to specify the support map for Todo and Event.

Parameters:
todo The Support Map for Todos.
event The Support Map for Events.

Definition at line 443 of file calendarmerger.cpp.


Member Function Documentation

bool KSync::CalendarMerger::merge ( SyncEntry entry,
SyncEntry other 
) [virtual]

Now merge according to Merger::merge.

Implements KSync::Merger.

Definition at line 455 of file calendarmerger.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys