author | drw <drw> | 2005-04-06 21:39:47 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-06 21:39:47 (UTC) |
commit | 9ea956870ddf74ddc70b83ed529ebb3b36e9231e (patch) (unidiff) | |
tree | 599da226b62023d6c51c1f00867e3dffde9977ec /core/pim/todo/mainwindow.h | |
parent | 2b0e27b45eb9ff5563f786c5e45d53db49afb9f9 (diff) | |
download | opie-9ea956870ddf74ddc70b83ed529ebb3b36e9231e.zip opie-9ea956870ddf74ddc70b83ed529ebb3b36e9231e.tar.gz opie-9ea956870ddf74ddc70b83ed529ebb3b36e9231e.tar.bz2 |
Use OResource for loading images and fix headers
-rw-r--r-- | core/pim/todo/mainwindow.h | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h index c0fe805..b96795f 100644 --- a/core/pim/todo/mainwindow.h +++ b/core/pim/todo/mainwindow.h | |||
@@ -1,50 +1,52 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | This file is part of the Opie Project |
3 | .=l. Copyright (c) 2002 Holger Freyther <zecke@handhelds.org> | 3 | |
4 | .>+-= | 4 | Copyright (C) Opie Team <opie-devel@handhelds.org> |
5 | _;:, .> :=|. This program is free software; you can | 5 | =. |
6 | .> <`_, > . <= redistribute it and/or modify it under | 6 | .=l. |
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 7 | .>+-= |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | _;:, .> :=|. This program is free software; you can |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | .> <`_, > . <= redistribute it and/or modify it under |
10 | ._= =} : or (at your option) any later version. | 10 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
11 | .%`+i> _;_. | 11 | .="- .-=="i, .._ License as published by the Free Software |
12 | .i_,=:_. -<s. This program is distributed in the hope that | 12 | - . .-<_> .<> Foundation; either version 2 of the License, |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | ._= =} : or (at your option) any later version. |
14 | : .. .:, . . . without even the implied warranty of | 14 | .%`+i> _;_. |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | .i_,=:_. -<s. This program is distributed in the hope that |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
17 | ..}^=.= = ; Library General Public License for more | 17 | : .. .:, . . . without even the implied warranty of |
18 | ++= -. .` .: details. | 18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
19 | : = ...= . :.=- | 19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | ..}^=.= = ; Library General Public License for more |
21 | -_. . . )=. = Library General Public License along with | 21 | ++= -. .` .: details. |
22 | -- :-=` this library; see the file COPYING.LIB. | 22 | : = ...= . :.=- |
23 | -. .:....=;==+<; You should have received a copy of the GNU | ||
24 | -_. . . )=. = Library General Public License along with | ||
25 | -- :-=` this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | 26 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | 27 | Inc., 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #ifndef TODO_MAIN_WINDOW_H | 31 | #ifndef TODO_MAIN_WINDOW_H |
30 | #define TODO_MAIN_WINDOW_H | 32 | #define TODO_MAIN_WINDOW_H |
31 | 33 | ||
32 | #include <qlist.h> | 34 | #include <qlist.h> |
33 | 35 | ||
34 | #include <opie2/otodoaccess.h> | 36 | #include <opie2/otodoaccess.h> |
35 | #include <opie2/opimtodo.h> | 37 | #include <opie2/opimtodo.h> |
36 | #include <opie2/opimmainwindow.h> | 38 | #include <opie2/opimmainwindow.h> |
37 | #include <opie2/owidgetstack.h> | 39 | #include <opie2/owidgetstack.h> |
38 | 40 | ||
39 | #include "smalltodo.h" | 41 | #include "smalltodo.h" |
40 | #include "todoview.h" | 42 | #include "todoview.h" |
41 | #include "quickedit.h" | 43 | #include "quickedit.h" |
42 | #include "todomanager.h" | 44 | #include "todomanager.h" |
43 | 45 | ||
44 | class QPopupMenu; | 46 | class QPopupMenu; |
45 | class QMenuBar; | 47 | class QMenuBar; |
46 | class QToolBar; | 48 | class QToolBar; |
47 | class QAction; | 49 | class QAction; |
48 | class Ir; | 50 | class Ir; |
49 | class QVBox; | 51 | class QVBox; |
50 | class QLineEdit; | 52 | class QLineEdit; |
@@ -133,49 +135,49 @@ private slots: | |||
133 | Opie::Ui::OWidgetStack *m_stack; | 135 | Opie::Ui::OWidgetStack *m_stack; |
134 | 136 | ||
135 | bool m_syncing:1; | 137 | bool m_syncing:1; |
136 | bool m_deadline:1; | 138 | bool m_deadline:1; |
137 | bool m_completed:1; | 139 | bool m_completed:1; |
138 | bool m_overdue:1; | 140 | bool m_overdue:1; |
139 | bool m_quicktask:1; | 141 | bool m_quicktask:1; |
140 | TodoManager m_todoMgr; | 142 | TodoManager m_todoMgr; |
141 | QString m_curCat; | 143 | QString m_curCat; |
142 | QList<ViewBase> m_views; | 144 | QList<ViewBase> m_views; |
143 | uint m_counter; | 145 | uint m_counter; |
144 | TemplateManager* m_tempManager; | 146 | TemplateManager* m_tempManager; |
145 | 147 | ||
146 | 148 | ||
147 | private slots: | 149 | private slots: |
148 | void initStuff(); | 150 | void initStuff(); |
149 | 151 | ||
150 | void slotItemNew(); | 152 | void slotItemNew(); |
151 | void slotItemEdit(); | 153 | void slotItemEdit(); |
152 | void slotItemDuplicate(); | 154 | void slotItemDuplicate(); |
153 | void slotItemDelete(); | 155 | void slotItemDelete(); |
154 | void slotItemBeam(); | 156 | void slotItemBeam(); |
155 | void slotItemFind(); | 157 | void slotItemFind(); |
156 | void slotConfigure(); | 158 | void slotConfigure(); |
157 | 159 | ||
158 | void slotShow(int); | 160 | void slotShow(int); |
159 | void slotEdit(int); | 161 | void slotEdit(int); |
160 | void slotUpdate3( QWidget* ); | 162 | void slotUpdate3( QWidget* ); |
161 | void slotComplete( int uid ); | 163 | void slotComplete( int uid ); |
162 | void slotComplete( const OPimTodo& ev ); | 164 | void slotComplete( const OPimTodo& ev ); |
163 | 165 | ||
164 | void slotDelete(int uid ); | 166 | void slotDelete(int uid ); |
165 | void slotDeleteAll(); | 167 | void slotDeleteAll(); |
166 | void slotDeleteCompleted(); | 168 | void slotDeleteCompleted(); |
167 | 169 | ||
168 | 170 | ||
169 | void setCategory( const QString &category ); | 171 | void setCategory( const QString &category ); |
170 | 172 | ||
171 | void slotShowDeadLine( bool ); | 173 | void slotShowDeadLine( bool ); |
172 | void slotShowCompleted( bool ); | 174 | void slotShowCompleted( bool ); |
173 | void slotShowQuickTask( bool ); | 175 | void slotShowQuickTask( bool ); |
174 | 176 | ||
175 | void setDocument( const QString& ); | 177 | void setDocument( const QString& ); |
176 | 178 | ||
177 | 179 | ||
178 | void beamDone( Ir* ); | 180 | void beamDone( Ir* ); |
179 | void slotShowDetails(); | 181 | void slotShowDetails(); |
180 | void slotShowNext(); | 182 | void slotShowNext(); |
181 | void slotShowPrev(); | 183 | void slotShowPrev(); |