-rw-r--r-- | core/pim/todo/mainwindow.h | 77 |
1 files changed, 32 insertions, 45 deletions
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h index f0d6a42..c0fe805 100644 --- a/core/pim/todo/mainwindow.h +++ b/core/pim/todo/mainwindow.h | |||
@@ -1,23 +1,23 @@ | |||
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 | .=l. Copyright (c) 2002 Holger Freyther <zecke@handhelds.org> |
4 | .>+-= | 4 | .>+-= |
5 | _;:, .> :=|. This program is free software; you can | 5 | _;:, .> :=|. This program is free software; you can |
6 | .> <`_, > . <= redistribute it and/or modify it under | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ._= =} : or (at your option) any later version. | 10 | ._= =} : or (at your option) any later version. |
11 | .%`+i> _;_. | 11 | .%`+i> _;_. |
12 | .i_,=:_. -<s. This program is distributed in the hope that | 12 | .i_,=:_. -<s. This program is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ..}^=.= = ; Library General Public License for more | 17 | ..}^=.= = ; Library General Public License for more |
18 | ++= -. .` .: details. | 18 | ++= -. .` .: details. |
19 | : = ...= . :.=- | 19 | : = ...= . :.=- |
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | -_. . . )=. = Library General Public License along with | 21 | -_. . . )=. = Library General Public License along with |
22 | -- :-=` this library; see the file COPYING.LIB. | 22 | -- :-=` this library; see the file COPYING.LIB. |
23 | If not, write to the Free Software Foundation, | 23 | If not, write to the Free Software Foundation, |
@@ -56,3 +56,2 @@ namespace Todo { | |||
56 | class TodoShow; | 56 | class TodoShow; |
57 | class TemplateEditor; | ||
58 | struct QuickEditBase; | 57 | struct QuickEditBase; |
@@ -73,6 +72,2 @@ namespace Todo { | |||
73 | QPopupMenu* contextMenu(int uid, bool doesRecur = FALSE ); | 72 | QPopupMenu* contextMenu(int uid, bool doesRecur = FALSE ); |
74 | QPopupMenu* options(); | ||
75 | QPopupMenu* edit(); | ||
76 | QToolBar* toolbar(); | ||
77 | |||
78 | 73 | ||
@@ -96,3 +91,2 @@ namespace Todo { | |||
96 | void updateTodo( const OPimTodo& ); | 91 | void updateTodo( const OPimTodo& ); |
97 | void populateTemplates(); | ||
98 | Editor* currentEditor(); | 92 | Editor* currentEditor(); |
@@ -101,3 +95,2 @@ private slots: | |||
101 | void slotQuickEntered(); | 95 | void slotQuickEntered(); |
102 | void populateCategories(); | ||
103 | void slotReload(); | 96 | void slotReload(); |
@@ -119,3 +112,2 @@ private slots: | |||
119 | void initShow(); | 112 | void initShow(); |
120 | void initTemplate(); | ||
121 | void raiseCurrentView(); | 113 | void raiseCurrentView(); |
@@ -128,7 +120,3 @@ private slots: | |||
128 | TodoShow* m_curShow; | 120 | TodoShow* m_curShow; |
129 | TemplateEditor* currentTemplateEditor(); | ||
130 | TemplateEditor* m_curTempEd; | ||
131 | 121 | ||
132 | QMenuBar* m_bar; | ||
133 | QToolBar* m_tool; | ||
134 | QAction* m_editAction, | 122 | QAction* m_editAction, |
@@ -145,6 +133,2 @@ private slots: | |||
145 | Opie::Ui::OWidgetStack *m_stack; | 133 | Opie::Ui::OWidgetStack *m_stack; |
146 | QPopupMenu* m_catMenu, | ||
147 | *m_edit, | ||
148 | *m_options, | ||
149 | *m_template; | ||
150 | 134 | ||
@@ -163,2 +147,12 @@ private slots: | |||
163 | private slots: | 147 | private slots: |
148 | void initStuff(); | ||
149 | |||
150 | void slotItemNew(); | ||
151 | void slotItemEdit(); | ||
152 | void slotItemDuplicate(); | ||
153 | void slotItemDelete(); | ||
154 | void slotItemBeam(); | ||
155 | void slotItemFind(); | ||
156 | void slotConfigure(); | ||
157 | |||
164 | void slotShow(int); | 158 | void slotShow(int); |
@@ -168,7 +162,3 @@ private slots: | |||
168 | void slotComplete( const OPimTodo& ev ); | 162 | void slotComplete( const OPimTodo& ev ); |
169 | void slotNewFromTemplate(int id ); | ||
170 | void slotNew(); | ||
171 | void slotDuplicate(); | ||
172 | 163 | ||
173 | void slotDelete(); | ||
174 | void slotDelete(int uid ); | 164 | void slotDelete(int uid ); |
@@ -177,6 +167,4 @@ private slots: | |||
177 | 167 | ||
178 | void slotEdit(); | ||
179 | void slotFind(); | ||
180 | 168 | ||
181 | void setCategory( int ); | 169 | void setCategory( const QString &category ); |
182 | 170 | ||
@@ -189,3 +177,2 @@ private slots: | |||
189 | 177 | ||
190 | void slotBeam(); | ||
191 | void beamDone( Ir* ); | 178 | void beamDone( Ir* ); |