-rw-r--r-- | core/pim/today/today.h | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h new file mode 100644 index 0000000..a85917a --- a/dev/null +++ b/core/pim/today/today.h | |||
@@ -0,0 +1,81 @@ | |||
1 | /* | ||
2 | * today.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 | * todaybase.h | ||
22 | * | ||
23 | * --------------------- | ||
24 | * | ||
25 | * begin : Sun 10 17:20:00 CEST 2002 | ||
26 | * copyright : (c) 2002 by Maximilian Reiß | ||
27 | * email : max.reiss@gmx.de | ||
28 | * | ||
29 | */ | ||
30 | /*************************************************************************** | ||
31 | * * | ||
32 | * This program is free software; you can redistribute it and/or modify * | ||
33 | * it under the terms of the GNU General Public License as published by * | ||
34 | * the Free Software Foundation; either version 2 of the License, or * | ||
35 | * (at your option) any later version. * | ||
36 | * * | ||
37 | ***************************************************************************/ | ||
38 | #ifndef TODAY_H | ||
39 | #define TODAY_H | ||
40 | #include "todaybase.h" | ||
41 | |||
42 | #include <qpe/datebookdb.h> | ||
43 | |||
44 | #include <qdatetime.h> | ||
45 | #include <qlist.h> | ||
46 | #include "TodoItem.h" | ||
47 | #include "todayconfig.h" | ||
48 | |||
49 | class Today : public TodayBase | ||
50 | { | ||
51 | Q_OBJECT | ||
52 | |||
53 | public: | ||
54 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
55 | ~Today(); | ||
56 | |||
57 | private slots: | ||
58 | void startConfig(); | ||
59 | void goodBye(); | ||
60 | void startTodo(); | ||
61 | void startDatebook(); | ||
62 | |||
63 | private: | ||
64 | void init(); | ||
65 | void getDates(); | ||
66 | void getTodo(); | ||
67 | QList<TodoItem> loadTodo(const char *filename); | ||
68 | private: | ||
69 | DateBookDB *db; | ||
70 | todayconfig *conf; | ||
71 | //Config cfg; | ||
72 | int MAX_LINES_TASK; | ||
73 | int MAX_CHAR_CLIP; | ||
74 | int MAX_LINES_MEET; | ||
75 | int SHOW_LOCATION; | ||
76 | int SHOW_NOTES; | ||
77 | |||
78 | |||
79 | }; | ||
80 | #endif // TODAY_H | ||
81 | |||