summaryrefslogtreecommitdiff
path: root/core/pim/today/TodoItem.h
Side-by-side diff
Diffstat (limited to 'core/pim/today/TodoItem.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/TodoItem.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/core/pim/today/TodoItem.h b/core/pim/today/TodoItem.h
new file mode 100644
index 0000000..abdb215
--- a/dev/null
+++ b/core/pim/today/TodoItem.h
@@ -0,0 +1,40 @@
+/*
+ * TodoItem.h
+ *
+ * ---------------------
+ *
+ * begin : Sun 10 17:20:00 CEST 2002
+ * copyright : (c) 2002 by Maximilian Reiß
+ * email : max.reiss@gmx.de
+ *
+ */
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+
+#ifndef TODO_ITEM_H
+#define TODO_ITEM_H
+
+#include <qstring.h>
+
+class TodoItem
+{
+ public:
+ TodoItem(const char *description, int completed, int priority);
+ QString getDescription();
+ bool getCompleted();
+ int getPriority();
+ private:
+ QString m_description;
+ int m_priority;
+ int m_completed;
+};
+
+#endif
+