summaryrefslogtreecommitdiff
path: root/libopie/todoevent.cpp
authorzecke <zecke>2002-03-20 21:55:54 (UTC)
committer zecke <zecke>2002-03-20 21:55:54 (UTC)
commitc6e7f6e2ab8556064ec79fc9bbaa9e0398a7b344 (patch) (side-by-side diff)
treef68d6a7c899e1ffe297af30002a3dc8b4f3762c6 /libopie/todoevent.cpp
parent0d759d6e9c84a8597b6594bb7c5ad5d17621b966 (diff)
downloadopie-c6e7f6e2ab8556064ec79fc9bbaa9e0398a7b344.zip
opie-c6e7f6e2ab8556064ec79fc9bbaa9e0398a7b344.tar.gz
opie-c6e7f6e2ab8556064ec79fc9bbaa9e0398a7b344.tar.bz2
tododb vCal support
Diffstat (limited to 'libopie/todoevent.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie/todoevent.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie/todoevent.cpp b/libopie/todoevent.cpp
index 5fa4472..daa25f4 100644
--- a/libopie/todoevent.cpp
+++ b/libopie/todoevent.cpp
@@ -1,12 +1,17 @@
#include <opie/todoevent.h>
#include <qpe/palmtopuidgen.h>
#include <qpe/stringutil.h>
//#include <qpe/palmtoprecord.h>
+ToDoEvent::ToDoEvent(const ToDoEvent &event )
+{
+ *this = event;
+}
+
ToDoEvent::ToDoEvent(bool completed, int priority, const QString &category,
const QString &description, bool hasDate, QDate date, int uid )
{
qWarning("todoEvent c'tor" );
m_date = date;
m_isCompleted = completed;
@@ -137,12 +142,13 @@ ToDoEvent &ToDoEvent::operator=(const ToDoEvent &item )
m_date = item.m_date;
m_isCompleted = item.m_isCompleted;
m_hasDate = item.m_hasDate;
m_priority = item.m_priority;
m_category = item.m_category;
m_desc = item.m_desc;
+ m_uid = item.m_uid;
return *this;
}