summaryrefslogtreecommitdiffabout
path: root/korganizer/kotodoeditor.h
Unidiff
Diffstat (limited to 'korganizer/kotodoeditor.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kotodoeditor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/korganizer/kotodoeditor.h b/korganizer/kotodoeditor.h
index 2657bd8..1b5e3b4 100644
--- a/korganizer/kotodoeditor.h
+++ b/korganizer/kotodoeditor.h
@@ -20,24 +20,25 @@
20 As a special exception, permission is given to link this program 20 As a special exception, permission is given to link this program
21 with any edition of Qt, and distribute the resulting executable, 21 with any edition of Qt, and distribute the resulting executable,
22 without including the source code for Qt in the source distribution. 22 without including the source code for Qt in the source distribution.
23*/ 23*/
24#ifndef _KOTODOEDITOR_H 24#ifndef _KOTODOEDITOR_H
25#define _KOTODOEDITOR_H 25#define _KOTODOEDITOR_H
26 26
27#include <libkcal/calendar.h> 27#include <libkcal/calendar.h>
28 28
29#include "koeditorgeneraltodo.h" 29#include "koeditorgeneraltodo.h"
30#include "koeditordetails.h" 30#include "koeditordetails.h"
31#include "koincidenceeditor.h" 31#include "koincidenceeditor.h"
32#include "koeditorrecurrence.h"
32 33
33class QDateTime; 34class QDateTime;
34 35
35/** 36/**
36 This class provides a dialog for editing a Todo. 37 This class provides a dialog for editing a Todo.
37*/ 38*/
38class KOTodoEditor : public KOIncidenceEditor 39class KOTodoEditor : public KOIncidenceEditor
39{ 40{
40 Q_OBJECT 41 Q_OBJECT
41 public: 42 public:
42 /** 43 /**
43 Constructs a new todo editor. 44 Constructs a new todo editor.
@@ -73,30 +74,33 @@ class KOTodoEditor : public KOIncidenceEditor
73 /** This todo has been modified externally */ 74 /** This todo has been modified externally */
74 void modified (int); 75 void modified (int);
75 void setCategories( QString s ); 76 void setCategories( QString s );
76 signals: 77 signals:
77 void todoChanged(Todo *); 78 void todoChanged(Todo *);
78 void todoAdded(Todo *); 79 void todoAdded(Todo *);
79 void todoToBeDeleted(Todo *); 80 void todoToBeDeleted(Todo *);
80 void todoDeleted(); 81 void todoDeleted();
81 82
82 protected slots: 83 protected slots:
83 void loadDefaults(); 84 void loadDefaults();
84 void deleteTodo(); 85 void deleteTodo();
86 void checkRecurrence();
85 87
86 void slotLoadTemplate(); 88 void slotLoadTemplate();
87 void slotSaveTemplate(); 89 void slotSaveTemplate();
88 void saveTemplate( const QString & ); 90 void saveTemplate( const QString & );
89 91
90 protected: 92 protected:
91 void setupGeneral(); 93 void setupGeneral();
92 int msgItemDelete(); 94 int msgItemDelete();
95 void setupRecurrence();
93 96
94 private: 97 private:
95 Todo *mTodo; 98 Todo *mTodo;
96 99
97 Incidence *mRelatedTodo; 100 Incidence *mRelatedTodo;
98 101
99 KOEditorGeneralTodo *mGeneral; 102 KOEditorGeneralTodo *mGeneral;
103 KOEditorRecurrence *mRecurrence;
100}; 104};
101 105
102#endif 106#endif