Diffstat (limited to 'core/pim/todo/taskeditorstatus.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditorstatus.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/todo/taskeditorstatus.h b/core/pim/todo/taskeditorstatus.h index 3544200..97129f0 100644 --- a/core/pim/todo/taskeditorstatus.h +++ b/core/pim/todo/taskeditorstatus.h @@ -26,31 +26,34 @@ */ #ifndef TASKEDITORSTATUS_H #define TASKEDITORSTATUS_H +#include <opie2/opimtodo.h> + #include <qdatetime.h> #include <qwidget.h> class DateBookMonth; -class OTodo; class QCheckBox; class QComboBox; class QLabel; class QPushButton; class QToolButton; +using namespace Opie; + /** * This is the implementation of the Opie Task Editor Advanced tab * it features the State! * MaintainerMode * Description */ class TaskEditorStatus : public QWidget -{ +{ Q_OBJECT public: TaskEditorStatus( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~TaskEditorStatus(); @@ -65,20 +68,20 @@ public: QCheckBox *ckbComp; QPushButton *btnComp; QComboBox *cmbProgress; /* * I could have a struct which returns a QWidget* - * load and save to a OTodo + * load and save to a OPimTodo * 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 & ); + void load( const OPimTodo & ); + void save( OPimTodo & ); private: QDate m_start; QDate m_comp; QDate m_due; DateBookMonth *m_startBook; |