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/quickedit.h | |
parent | f84a46fce6c1b7702ec1eaebd40e363b67253649 (diff) | |
download | opie-bea97f98bfb31994425908e7ce982b2450696706.zip opie-bea97f98bfb31994425908e7ce982b2450696706.tar.gz opie-bea97f98bfb31994425908e7ce982b2450696706.tar.bz2 |
Todo: libopie->libopie2
-rw-r--r-- | core/pim/todo/quickedit.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/pim/todo/quickedit.h b/core/pim/todo/quickedit.h index 5fe74fe..0c0c204 100644 --- a/core/pim/todo/quickedit.h +++ b/core/pim/todo/quickedit.h @@ -1,45 +1,47 @@ #ifndef OPIE_QUICK_EDIT_H #define OPIE_QUICK_EDIT_H #include <qsignal.h> #include <qwidget.h> -#include <opie/otodo.h> +#include <opie2/opimtodo.h> + +using Opie::OPimTodo; namespace Todo{ class MainWindow; struct QuickEditBase { - virtual OTodo todo()const = 0l; + virtual OPimTodo todo()const = 0l; virtual QSignal* signal() = 0l; virtual QWidget* widget() = 0l; }; /* * this is my second try * of signal and slots with namespaces * and templates * I use a different approach now * I give a QSignal away * and have a protected method called emit */ /** * Quick edit is meant to quickly enter - * OTodos in a fast way + * OPimTodos in a fast way */ class QuickEdit : public QuickEditBase{ public: QuickEdit(MainWindow* main ); virtual ~QuickEdit(); - //OTodo todo()const; + //OPimTodo todo()const; QSignal* signal(); //QWidget* widget(); protected: MainWindow* mainWindow(); void commit(); private: MainWindow* m_main; QSignal* m_sig; }; }; #endif |