kitchensync Library API Documentation

todosyncee.h

00001 /* 00002 This file is part of KitchenSync. 00003 00004 Copyright (c) 2002 Holger Freyther <zecke@handhelds.org> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this library; see the file COPYING.LIB. If not, write to 00018 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00019 Boston, MA 02111-1307, USA. 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 // InicdenceBase 00056 Organizer = 0, 00057 ReadOnly, 00058 DtStart, 00059 Duration, 00060 Float, 00061 // Inicdence 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 // Todo 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
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:33 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003