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/today.h | |
parent | 453278dfcc3f9c96862cb69aed21df2597718d2d (diff) | |
download | opie-9847b3a997f504e82ff391efe6304d3bb110b617.zip opie-9847b3a997f504e82ff391efe6304d3bb110b617.tar.gz opie-9847b3a997f504e82ff391efe6304d3bb110b617.tar.bz2 |
initial import
-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 | |||