author | drw <drw> | 2004-02-25 16:32:24 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-25 16:32:24 (UTC) |
commit | bea97f98bfb31994425908e7ce982b2450696706 (patch) (side-by-side diff) | |
tree | 2f2bc2f55d4656b7c63a06cdce6bc35346d9388f /core/pim/todo/taskeditorstatus.h | |
parent | f84a46fce6c1b7702ec1eaebd40e363b67253649 (diff) | |
download | opie-bea97f98bfb31994425908e7ce982b2450696706.zip opie-bea97f98bfb31994425908e7ce982b2450696706.tar.gz opie-bea97f98bfb31994425908e7ce982b2450696706.tar.bz2 |
Todo: libopie->libopie2
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 @@ -24,35 +24,38 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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(); QComboBox *cmbStatus; QLabel *txtMaintainer; @@ -63,24 +66,24 @@ public: QCheckBox *ckbStart; QPushButton *btnStart; 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; DateBookMonth *m_compBook; DateBookMonth *m_dueBook; |