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