author | harlekin <harlekin> | 2002-02-15 16:25:32 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-02-15 16:25:32 (UTC) |
commit | 9847b3a997f504e82ff391efe6304d3bb110b617 (patch) (unidiff) | |
tree | 7b28cb45598cba9f1fb595b75127a0b9b4787d2e /core/pim/today/TodoItem.h | |
parent | 453278dfcc3f9c96862cb69aed21df2597718d2d (diff) | |
download | opie-9847b3a997f504e82ff391efe6304d3bb110b617.zip opie-9847b3a997f504e82ff391efe6304d3bb110b617.tar.gz opie-9847b3a997f504e82ff391efe6304d3bb110b617.tar.bz2 |
initial import
-rw-r--r-- | core/pim/today/TodoItem.h | 40 |
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 @@ | |||
1 | /* | ||
2 | * TodoItem.h | ||
3 | * | ||
4 | * --------------------- | ||
5 | * | ||
6 | * begin : Sun 10 17:20:00 CEST 2002 | ||
7 | * copyright : (c) 2002 by Maximilian Reiß | ||
8 | * email : max.reiss@gmx.de | ||
9 | * | ||
10 | */ | ||
11 | /*************************************************************************** | ||
12 | * * | ||
13 | * This program is free software; you can redistribute it and/or modify * | ||
14 | * it under the terms of the GNU General Public License as published by * | ||
15 | * the Free Software Foundation; either version 2 of the License, or * | ||
16 | * (at your option) any later version. * | ||
17 | * * | ||
18 | ***************************************************************************/ | ||
19 | |||
20 | |||
21 | #ifndef TODO_ITEM_H | ||
22 | #define TODO_ITEM_H | ||
23 | |||
24 | #include <qstring.h> | ||
25 | |||
26 | class TodoItem | ||
27 | { | ||
28 | public: | ||
29 | TodoItem(const char *description, int completed, int priority); | ||
30 | QString getDescription(); | ||
31 | bool getCompleted(); | ||
32 | int getPriority(); | ||
33 | private: | ||
34 | QString m_description; | ||
35 | int m_priority; | ||
36 | int m_completed; | ||
37 | }; | ||
38 | |||
39 | #endif | ||
40 | |||