summaryrefslogtreecommitdiffabout
path: root/korganizer/kotodoeditor.h
Side-by-side diff
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
@@ -16,32 +16,33 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, permission is given to link this program
with any edition of Qt, and distribute the resulting executable,
without including the source code for Qt in the source distribution.
*/
#ifndef _KOTODOEDITOR_H
#define _KOTODOEDITOR_H
#include <libkcal/calendar.h>
#include "koeditorgeneraltodo.h"
#include "koeditordetails.h"
#include "koincidenceeditor.h"
+#include "koeditorrecurrence.h"
class QDateTime;
/**
This class provides a dialog for editing a Todo.
*/
class KOTodoEditor : public KOIncidenceEditor
{
Q_OBJECT
public:
/**
Constructs a new todo editor.
*/
KOTodoEditor( Calendar *calendar, QWidget *parent );
virtual ~KOTodoEditor();
@@ -69,34 +70,37 @@ class KOTodoEditor : public KOIncidenceEditor
/** Process user input and create or update event. Returns false if input
* is not valid */
bool processInput( bool );
/** This todo has been modified externally */
void modified (int);
void setCategories( QString s );
signals:
void todoChanged(Todo *);
void todoAdded(Todo *);
void todoToBeDeleted(Todo *);
void todoDeleted();
protected slots:
void loadDefaults();
void deleteTodo();
+ void checkRecurrence();
void slotLoadTemplate();
void slotSaveTemplate();
void saveTemplate( const QString & );
protected:
void setupGeneral();
int msgItemDelete();
+ void setupRecurrence();
private:
Todo *mTodo;
Incidence *mRelatedTodo;
KOEditorGeneralTodo *mGeneral;
+ KOEditorRecurrence *mRecurrence;
};
#endif