From 599c58c6ab2ab936890cbbfa4e6299493c141f8a Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 30 Nov 2002 11:21:35 +0000 Subject: More implementation --- (limited to 'core/pim/todo/taskeditoradvancedimpl.h') diff --git a/core/pim/todo/taskeditoradvancedimpl.h b/core/pim/todo/taskeditoradvancedimpl.h new file mode 100644 index 0000000..215d8cb --- a/dev/null +++ b/core/pim/todo/taskeditoradvancedimpl.h @@ -0,0 +1,37 @@ +#ifndef OPIE_TASK_EDITOR_ADVANCED_IMPL_H +#define OPIE_TASK_EDITOR_ADVANCED_IMPL_H + +#include "taskeditoradvanced.h" + +/** + * This is the implementation of the Opie Task Editor Advanced tab + * it features the State! + * MaintainerMode + * Description + */ +class QMultiLineEdit; +class OTodo; +class TaskEditorAdvancedImpl : public TaskEditorAdvanced { + Q_OBJECT +public: + TaskEditorAdvancedImpl( QWidget* parent = 0, const char* name = 0 ); + ~TaskEditorAdvancedImpl(); + + /* + * I could have a struct which returns a QWidget* + * load and save to a OTodo + * and use multiple inheretence with all other widgets + * and then simply iterate over the list of structs + * this way I could easily have plugins for the whole editor.... + * but I do not do it -zecke + */ + void load( const OTodo& ); + void save( OTodo& ); + +private: + void initUI(); + QMultiLineEdit* m_edit; +}; + + +#endif -- cgit v0.9.0.2