summaryrefslogtreecommitdiff
path: root/core/pim/osearch/todoitem.h
Side-by-side diff
Diffstat (limited to 'core/pim/osearch/todoitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/todoitem.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/core/pim/osearch/todoitem.h b/core/pim/osearch/todoitem.h
new file mode 100644
index 0000000..1196c68
--- a/dev/null
+++ b/core/pim/osearch/todoitem.h
@@ -0,0 +1,37 @@
+//
+//
+// C++ Interface: $MODULE$
+//
+// Description:
+//
+//
+// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+#ifndef TODOITEM_H
+#define TODOITEM_H
+
+#include "resultitem.h"
+class OTodo;
+
+/**
+@author Patrick S. Vogt
+*/
+class TodoItem : public ResultItem
+{
+public:
+ TodoItem(OListViewItem* parent, OTodo *todo);
+ ~TodoItem();
+
+ virtual void expand();
+ //virtual int rtti() { return Result;}
+ virtual QString toRichText();
+
+private:
+ OTodo *_todo;
+
+};
+
+#endif