-rw-r--r-- | core/pim/today/today.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index 0b4356c..6dec2c2 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h | |||
@@ -34,49 +34,54 @@ | |||
34 | 34 | ||
35 | class QVBoxLayout; | 35 | class QVBoxLayout; |
36 | 36 | ||
37 | class Today : public TodayBase { | 37 | class Today : public TodayBase { |
38 | Q_OBJECT | 38 | Q_OBJECT |
39 | 39 | ||
40 | public: | 40 | public: |
41 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 41 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
42 | ~Today(); | 42 | ~Today(); |
43 | 43 | ||
44 | private slots: | 44 | private slots: |
45 | void startConfig(); | 45 | void startConfig(); |
46 | void startTodo(); | 46 | void startTodo(); |
47 | void startDatebook(); | 47 | void startDatebook(); |
48 | void startMail(); | 48 | void startMail(); |
49 | void draw(); | 49 | void draw(); |
50 | void editEvent(const Event &e); | 50 | void editEvent(const Event &e); |
51 | private: | 51 | private: |
52 | void init(); | 52 | void init(); |
53 | void getDates(); | 53 | void getDates(); |
54 | void getTodo(); | 54 | void getTodo(); |
55 | void getMail(); | 55 | void getMail(); |
56 | void autoStart(); | 56 | void autoStart(); |
57 | bool checkIfModified(); | 57 | bool checkIfModified(); |
58 | void setOwnerField(); | ||
59 | void setOwnerField(QString &string); | ||
58 | QList<TodoItem> loadTodo(const char *filename); | 60 | QList<TodoItem> loadTodo(const char *filename); |
61 | private slots: | ||
62 | void channelReceived(const QCString &msg, const QByteArray & data); | ||
63 | |||
59 | private: | 64 | private: |
60 | DateBookDB *db; | 65 | DateBookDB *db; |
61 | todayconfig *conf; | 66 | todayconfig *conf; |
62 | QWidget* AllDateBookEvents; | 67 | QWidget* AllDateBookEvents; |
63 | //Config cfg; | 68 | //Config cfg; |
64 | int MAX_LINES_TASK; | 69 | int MAX_LINES_TASK; |
65 | int MAX_CHAR_CLIP; | 70 | int MAX_CHAR_CLIP; |
66 | int MAX_LINES_MEET; | 71 | int MAX_LINES_MEET; |
67 | int SHOW_LOCATION; | 72 | int SHOW_LOCATION; |
68 | int SHOW_NOTES; | 73 | int SHOW_NOTES; |
69 | }; | 74 | }; |
70 | 75 | ||
71 | class DateBookEvent: public ClickableLabel { | 76 | class DateBookEvent: public ClickableLabel { |
72 | Q_OBJECT | 77 | Q_OBJECT |
73 | public: | 78 | public: |
74 | DateBookEvent(const EffectiveEvent &ev, | 79 | DateBookEvent(const EffectiveEvent &ev, |
75 | QWidget* parent = 0, const char* name = 0, | 80 | QWidget* parent = 0, const char* name = 0, |
76 | WFlags fl = 0); | 81 | WFlags fl = 0); |
77 | signals: | 82 | signals: |
78 | void editEvent(const Event &e); | 83 | void editEvent(const Event &e); |
79 | private slots: | 84 | private slots: |
80 | void editMe(); | 85 | void editMe(); |
81 | private: | 86 | private: |
82 | const EffectiveEvent event; | 87 | const EffectiveEvent event; |