-rw-r--r-- | korganizer/kotodoview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kotodoview.h b/korganizer/kotodoview.h index a8e90e2..9180015 100644 --- a/korganizer/kotodoview.h +++ b/korganizer/kotodoview.h | |||
@@ -129,97 +129,97 @@ class KOTodoListView : public KListView | |||
129 | void keyReleaseEvent ( QKeyEvent * ) ; | 129 | void keyReleaseEvent ( QKeyEvent * ) ; |
130 | }; | 130 | }; |
131 | 131 | ||
132 | 132 | ||
133 | /** | 133 | /** |
134 | This is the line-edit on top of the todoview for fast addition of new todos | 134 | This is the line-edit on top of the todoview for fast addition of new todos |
135 | */ | 135 | */ |
136 | class KOQuickTodo : public QLineEdit | 136 | class KOQuickTodo : public QLineEdit |
137 | { | 137 | { |
138 | public: | 138 | public: |
139 | KOQuickTodo(QWidget *parent=0); | 139 | KOQuickTodo(QWidget *parent=0); |
140 | protected: | 140 | protected: |
141 | void focusInEvent(QFocusEvent *ev); | 141 | void focusInEvent(QFocusEvent *ev); |
142 | void focusOutEvent(QFocusEvent *ev); | 142 | void focusOutEvent(QFocusEvent *ev); |
143 | }; | 143 | }; |
144 | 144 | ||
145 | 145 | ||
146 | /** | 146 | /** |
147 | This class provides a multi-column list view of todo events. | 147 | This class provides a multi-column list view of todo events. |
148 | 148 | ||
149 | @short multi-column list view of todo events. | 149 | @short multi-column list view of todo events. |
150 | @author Cornelius Schumacher <schumacher@kde.org> | 150 | @author Cornelius Schumacher <schumacher@kde.org> |
151 | */ | 151 | */ |
152 | class KOTodoView : public KOrg::BaseView | 152 | class KOTodoView : public KOrg::BaseView |
153 | { | 153 | { |
154 | Q_OBJECT | 154 | Q_OBJECT |
155 | public: | 155 | public: |
156 | KOTodoView(Calendar *, QWidget* parent=0, const char* name=0 ); | 156 | KOTodoView(Calendar *, QWidget* parent=0, const char* name=0 ); |
157 | ~KOTodoView(); | 157 | ~KOTodoView(); |
158 | 158 | ||
159 | QPtrList<Incidence> selectedIncidences(); | 159 | QPtrList<Incidence> selectedIncidences(); |
160 | QPtrList<Todo> selectedTodos(); | 160 | QPtrList<Todo> selectedTodos(); |
161 | 161 | ||
162 | DateList selectedDates() | 162 | DateList selectedDates() |
163 | {DateList q; | 163 | {DateList q; |
164 | return q;} | 164 | return q;} |
165 | 165 | ||
166 | /** Return number of shown dates. TodoView does not show dates, */ | 166 | /** Return number of shown dates. TodoView does not show dates, */ |
167 | int currentDateCount() { return 0; } | 167 | int currentDateCount() { return 0; } |
168 | 168 | ||
169 | void printPreview(CalPrinter *calPrinter, const QDate &fd, const QDate &td); | 169 | void printPreview(CalPrinter *calPrinter, const QDate &fd, const QDate &td); |
170 | 170 | ||
171 | void setDocumentId( const QString & ); | 171 | void setDocumentId( const QString & ); |
172 | 172 | ||
173 | void saveLayout(KConfig *config, const QString &group) const; | 173 | void saveLayout(KConfig *config, const QString &group) const; |
174 | void restoreLayout(KConfig *config, const QString &group); | 174 | void restoreLayout(KConfig *config, const QString &group); |
175 | void setNavigator( DateNavigator* nav ) {mNavigator = nav;} | 175 | void setNavigator( DateNavigator* nav ) {mNavigator = nav;} |
176 | QString getWhatsThisText(QPoint p); | 176 | QString getWhatsThisText(QPoint p); |
177 | void clearList() {mTodoListView->clear(); } | 177 | void clearList( bool saveCurrentItem = true ); |
178 | 178 | ||
179 | public slots: | 179 | public slots: |
180 | void updateView(); | 180 | void updateView(); |
181 | void updateConfig(); | 181 | void updateConfig(); |
182 | 182 | ||
183 | void changeEventDisplay(Event *, int); | 183 | void changeEventDisplay(Event *, int); |
184 | 184 | ||
185 | void showDates(const QDate &start, const QDate &end); | 185 | void showDates(const QDate &start, const QDate &end); |
186 | void showEvents(QPtrList<Event> eventList); | 186 | void showEvents(QPtrList<Event> eventList); |
187 | 187 | ||
188 | void clearSelection(); | 188 | void clearSelection(); |
189 | void jumpToDate (); | 189 | void jumpToDate (); |
190 | 190 | ||
191 | void editItem(QListViewItem *item); | 191 | void editItem(QListViewItem *item); |
192 | void showItem(QListViewItem *item,const QPoint &,int); | 192 | void showItem(QListViewItem *item,const QPoint &,int); |
193 | void popupMenu(QListViewItem *item,const QPoint &,int); | 193 | void popupMenu(QListViewItem *item,const QPoint &,int); |
194 | void newTodo(); | 194 | void newTodo(); |
195 | void newSubTodo(); | 195 | void newSubTodo(); |
196 | void unparentTodo(); | 196 | void unparentTodo(); |
197 | void reparentTodo(); | 197 | void reparentTodo(); |
198 | void showTodo(); | 198 | void showTodo(); |
199 | void editTodo(); | 199 | void editTodo(); |
200 | void cloneTodo(); | 200 | void cloneTodo(); |
201 | void cancelTodo(); | 201 | void cancelTodo(); |
202 | void moveTodo(); | 202 | void moveTodo(); |
203 | void beamTodo(); | 203 | void beamTodo(); |
204 | void deleteTodo(); | 204 | void deleteTodo(); |
205 | 205 | ||
206 | void setNewPriority(int); | 206 | void setNewPriority(int); |
207 | void setNewPercentage(int); | 207 | void setNewPercentage(int); |
208 | void changedCategories(int); | 208 | void changedCategories(int); |
209 | 209 | ||
210 | void setAllOpen(); | 210 | void setAllOpen(); |
211 | void setAllClose(); | 211 | void setAllClose(); |
212 | void setAllFlat(); | 212 | void setAllFlat(); |
213 | void displayAllFlat(); | 213 | void displayAllFlat(); |
214 | 214 | ||
215 | void purgeCompleted(); | 215 | void purgeCompleted(); |
216 | void toggleCompleted(); | 216 | void toggleCompleted(); |
217 | void toggleRunning(); | 217 | void toggleRunning(); |
218 | void toggleQuickTodo(); | 218 | void toggleQuickTodo(); |
219 | void updateTodo( Todo *, int ); | 219 | void updateTodo( Todo *, int ); |
220 | 220 | ||
221 | void itemClicked(QListViewItem *); | 221 | void itemClicked(QListViewItem *); |
222 | void itemStateChanged(QListViewItem *); | 222 | void itemStateChanged(QListViewItem *); |
223 | void modified(bool); | 223 | void modified(bool); |
224 | void itemDoubleClicked(QListViewItem *item); | 224 | void itemDoubleClicked(QListViewItem *item); |
225 | void resetFocusToList(); | 225 | void resetFocusToList(); |